AsyncRemoteShell
1.0.0
แพ็คเกจนี้ใช้เครื่องมือ 4 เครื่องมือสำหรับคำสั่งรีซิงโครนัส:
แพ็คเกจนี้ต้องการ:
pip install AsyncRemoteShellReverseShellClient
ReverseShellClient --interface=127.0.0.1 --port=45678
ReverseShellServer
ReverseShellServer -i=localhost -p=45678ShellClient
ShellClient -i=10.0.0.2 --port=56789
ShellServer
ShellServer --interface= -p=56789python3 -m AsyncRemoteShell ShellServer
python3 -m AsyncRemoteShell ShellClient
python3 -m AsyncRemoteShell ShellServer -i=localhost -p=3456
python3 -m AsyncRemoteShell ShellClient --interface=localhost --port=3456
python3 -m AsyncRemoteShell.ShellServer
python3 -m AsyncRemoteShell.ShellClient
python3 -m AsyncRemoteShell.ShellServer --interface=localhost --port=3456
python3 -m AsyncRemoteShell.ShellClient -i=localhost -p=3456
python3 -m AsyncRemoteShell ReverseShellServer
python3 -m AsyncRemoteShell ReverseShellClient
python3 -m AsyncRemoteShell ReverseShellServer -i=localhost -p=3456
python3 -m AsyncRemoteShell ReverseShellClient --interface=localhost --port=3456
python3 -m AsyncRemoteShell.ReverseShellServer
python3 -m AsyncRemoteShell.ReverseShellClient
python3 -m AsyncRemoteShell.ReverseShellServer --interface=localhost --port=3456
python3 -m AsyncRemoteShell.ReverseShellClient -i=localhost -p=3456 คำสั่งเดียวกันกว่าแพ็คเกจ Python python3 -m AsyncRemoteShell <MODULE> [OPTIONS]
python3 AsyncRemoteShell.pyz ShellServer
chmod u+x AsyncRemoteShell.pyz
./AsyncRemoteShell.pyz ShellClient -i=localhost --port=45678ลูกค้า:
from AsyncRemoteShell import ReverseShellClient
import asyncore
ReverseShellClient ( "10.0.0.2" , 45678 ) # host and port is required
asyncore . loop ()เซิร์ฟเวอร์:
from AsyncRemoteShell import ReverseShellServer
import asyncore
ReverseShellServer ( "" , 45678 ) # interface and port is required
asyncore . loop ()ลูกค้า:
from AsyncRemoteShell import ShellClient
import asyncore
ShellClient ( "10.0.0.2" , 45678 ) # host and port is required
asyncore . loop ()เซิร์ฟเวอร์:
from AsyncRemoteShell import ShellServer
import asyncore
ShellServer ( "" , 45678 ) # interface and port is required
asyncore . loop ()คุณสามารถติดตั้งแพ็คเกจนี้บน Windows และเรียกใช้สคริปต์นี้:
from time import perf_counter
from os import system
t1 = perf_counter (); system ( 'powershell -c "Get-PSDrive" & netstat & systeminfo' ); t2 = perf_counter ()
print ( f"Execution time : { t2 - t1 } s" ) เรียกใช้ ShellServer พร้อมบรรทัดคำสั่งและเปิด ShellClient -i=localhost -p=45678 และเขียน: powershell -c "Get-PSDrive" & netstat & systeminfo
เปรียบเทียบเวลาดำเนินการ
ได้รับใบอนุญาตภายใต้ GPL เวอร์ชัน 3