-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contributing and Distinction from GTFOBins #1
Comments
Hey @superswan, I think the first case isn't really an argument injection because setting an environmental variable like that isn't an argument for the program (less) itself. As for run-parts, it certainly qualifies. Can you give some examples of using it to execute an arbitrary command, rather than spawn a shell? |
You can use
Alternatively, executing a command depends on which shell is used. The following examples use Execute a command with Dash (run
Execute a command with Bash (run
Execute a sequence of commands (run
Read a file (run
Download a file (run
|
Great, I will make an .md for it soon. |
Hello, I would like to make a few contributions, but it's hard for me to determine if it truly falls under "Argument/Parameter injection". I get the concept but I'm not sure there is much distinction between this sort of thing and more general GTFOBins/LOLBin abuse. Here are some examples.
Spawning a shell with less
Here
file.txt
would contain the command to be run for example "/bin/sh"Spawning a shell with run-parts
run-parts --new-session --regex '^sh$' /bin
The text was updated successfully, but these errors were encountered: