mirror of https://github.com/aliasrobotics/cai.git
Proposed tool structure - @lidia9 @Mery-Sanz
This commit is contained in:
parent
a884f6e2b6
commit
f1559e0bea
|
|
@ -0,0 +1,2 @@
|
|||
#MsfModuleSelectionTool
|
||||
#MsfModuleExecTool
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# ReverseShellTool
|
||||
# ReverseShellSession
|
||||
# ReverseShellManager
|
||||
# ShellCommandExecutor
|
||||
# SessionManager
|
||||
# UploadReverseShellTool
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#SSHTestCredentialTool
|
||||
#SSHRunCommandTool
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# URLDecodeTool
|
||||
# HexDumpTool
|
||||
# Base64DecodeTool
|
||||
# ROT13DecodeTool
|
||||
# BinaryAnalysisTool
|
||||
|
|
@ -0,0 +1 @@
|
|||
#DirbScanTool
|
||||
|
|
@ -0,0 +1 @@
|
|||
#curl
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#ProcessListTool
|
||||
#EnvironmentVariablesTool
|
||||
#SystemInformationTool
|
||||
|
|
@ -19,17 +19,3 @@ def netcat(args: str, host: str, port: int, data: str = '', ctf=None) -> str:
|
|||
else:
|
||||
command = f'nc -w 3 {host} {port} {args}'
|
||||
return run_command(command, ctf=ctf)
|
||||
|
||||
def nmap(args: str, target: str, ctf=None) -> str:
|
||||
"""
|
||||
A simple nmap tool to scan a specified target.
|
||||
|
||||
Args:
|
||||
args: Additional arguments to pass to the nmap command
|
||||
target: The target host or IP address to scan
|
||||
|
||||
Returns:
|
||||
str: The output of running the nmap command
|
||||
"""
|
||||
command = f'nmap {args} {target}'
|
||||
return run_command(command, ctf=ctf)
|
||||
|
|
@ -0,0 +1 @@
|
|||
#NetworkConnectionstool in exploitFlow
|
||||
|
|
@ -0,0 +1 @@
|
|||
#FileDownloadTool in exploitFlow
|
||||
Loading…
Reference in New Issue