Skip to content

Fix jump psexec random service name/description bug#135

Open
CodeStuffBreakThings wants to merge 1 commit into
Adaptix-Framework:devfrom
CodeStuffBreakThings:psexec_random_svcname
Open

Fix jump psexec random service name/description bug#135
CodeStuffBreakThings wants to merge 1 commit into
Adaptix-Framework:devfrom
CodeStuffBreakThings:psexec_random_svcname

Conversation

@CodeStuffBreakThings

@CodeStuffBreakThings CodeStuffBreakThings commented Apr 8, 2026

Copy link
Copy Markdown

When the operator does not specify a service name and/or service description, the jump psexec BOF is supposed to generate and use a random service name and/or service description (technically, display name).

Currently, the lateral.axs script compares the svc_name and svc_description length, not the value, to the "random" string, so the condition is never true and the values never get randomized. This results in the service name and service display name being literally "random" every time that jump psexec is used without specifying the service name which generates a 1078 error the next time the BOF is ran since the "random" service name will already exist.

This pull request is for updating the if statements to compare the values of svc_name and svc_description, rather than the lengths.

@CodeStuffBreakThings

Copy link
Copy Markdown
Author

Also not sure why the commit shows me removing/re-adding line 517. That might have been my text editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant