AsyncRemoteShell
Description
This package implement 4 tools for asynchronous remote commands :
- ReverseShellClient
- ReverseShellServer
- ShellClient
- ShellServer
Requirements
This package require :
- python3
- python3 Standard Library
Installation
pip install AsyncRemoteShell
Usages
Commands
ReverseShell
ReverseShellClient
ReverseShellClient --interface=127.0.0.1 --port=45678
ReverseShellServer
ReverseShellServer -i=localhost -p=45678
Shell
ShellClient
ShellClient -i=10.0.0.2 --port=56789
ShellServer
ShellServer --interface= -p=56789
Python package commands
python3 -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 executable
Same commands than python package python3 -m AsyncRemoteShell <MODULE> [OPTIONS].
python3 AsyncRemoteShell.pyz ShellServer
chmod u+x AsyncRemoteShell.pyz
./AsyncRemoteShell.pyz ShellClient -i=localhost --port=45678
Python3
ReverseShell
Client:
from AsyncRemoteShell import ReverseShellClient
import asyncore
ReverseShellClient("10.0.0.2", 45678) # host and port is required
asyncore.loop()
Server:
from AsyncRemoteShell import ReverseShellServer
import asyncore
ReverseShellServer("", 45678) # interface and port is required
asyncore.loop()
Shell
Client:
from AsyncRemoteShell import ShellClient
import asyncore
ShellClient("10.0.0.2", 45678) # host and port is required
asyncore.loop()
Server:
from AsyncRemoteShell import ShellServer
import asyncore
ShellServer("", 45678) # interface and port is required
asyncore.loop()
Why Asynchronous Shell
You can install this package on Windows and execute this script:
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")
Launch ShellServer with command line and launch ShellClient -i=localhost -p=45678 and write: powershell -c "Get-PSDrive" & netstat & systeminfo.
Compare execution time.
Links
- AsyncRemoteShell Github Page
- ReverseShellServer Documentation
- ReverseShellClient Documentation
- ShellServer Documentation
- ShellClient Documentation
- commons Documentation
- Download as python executable
- Pypi package
Licence
Licensed under the GPL, version 3.
Metadata
Release files for AsyncRemoteShell 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| AsyncRemoteShell-0.1.1.tar.gz | 20.3 kB | Without provenance | Details for AsyncRemoteShell-0.1.1.tar.gz |
Release files / AsyncRemoteShell-0.1.1.tar.gz
| Download URL | AsyncRemoteShell-0.1.1.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
656cb0788d293ee6289ec74ae0328a692332a0fed1938b779e5ec5883b7cd737
|
|
BLAKE2b-256 checksum How to use checksums |
8ef770677aca209b51011bfe1360ad90f31ee5bb3c55dfffae045f17dc9e75ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.2
|
Security for AsyncRemoteShell 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.