An open API service indexing awesome lists of open source software.

https://github.com/at0mxploit/r3po

Recon + Exploit + Post-Exploitation + Misc modular kitty for security automation (All this yapping to say I just forget commands so I need scripts for it.)
https://github.com/at0mxploit/r3po

Last synced: 9 months ago
JSON representation

Recon + Exploit + Post-Exploitation + Misc modular kitty for security automation (All this yapping to say I just forget commands so I need scripts for it.)

Awesome Lists containing this project

README

          

# R3po
Recon + Exploit + Post-Exploitation + Misc modular kitty for security automation. (All this yapping to say I just forget commands so I need scripts for it.)

## Misc

#### [Hostfile](https://github.com/At0mXploit/R3po/blob/main/Misc/hostfile.sh) - Adding hostfile is annoying.

### Usage:

```bash
$ hostfile
Usage:
hostfile [--linux|--windows] [SHORTNAME]
Adds or updates an entry in the hosts file.

hostfile [--linux|--windows] -R
Removes any entry containing the specified domain or hostname.

hostfile --setup
Installs this script to /usr/bin/hostfile with proper permissions (requires sudo).

hostfile -h | --help
Show this help message.

Examples:
# Add AD box entry on Linux (with shortname):
./hostfile --linux 10.10.10.5 dc.htb.local dc

# Add normal Linux box entry (no shortname):
./hostfile --linux 10.10.10.10 hack.htb

# Add Windows hosts entry (via WSL):
./hostfile --windows 10.10.10.10 hack.htb

# Remove entry by domain or shortname:
./hostfile --linux -R hack.htb
./hostfile --linux -R dc

# Setup the script (move to /usr/bin and set permissions):
sudo chmod +x hostfile
sudo ./hostfile --setup
```

---