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에 따라 라이센스가 부여되었습니다.