📖
Jacob Shodd
  • The Hitchhiker's Guide to Random Knowledge
  • Cheat Sheets
    • Security
      • File Transferring
      • Reverse Shells
      • Password Attacks
      • Enumeration
      • One Liners
  • Writeups
    • Hack The Box
      • Bashed
      • Beep
      • Blue
      • Jerry
      • Lame
      • Legacy
      • Nibbles
      • Shocker
    • Over The Wire
      • Bandit
      • Natas
  • /dev/random
    • GoBot
    • Resume
Powered by GitBook
On this page
  • Mounting Shared Folders for VMWare
  • Spoofing a Webserver with Socat

Was this helpful?

  1. Cheat Sheets
  2. Security

One Liners

This is simply a random assortment of useful one line commands that I use frequently.

Mounting Shared Folders for VMWare

sudo vmhgfs-fuse .host:/ /mnt/ -o subtype=vmhgfs-fuse,allow_other

Spoofing a Webserver with Socat

Have a xss vulnerability and need a place to make requests to? Sure you could set up a python webserver, but if you simply need to catch requests and display them then socat is a better solution.

sudo socat TCP-LISTEN:80,reuseaddr,fork -
PreviousEnumerationNextHack The Box

Last updated 3 years ago

Was this helpful?