kpcyrd / sn0int

Semi-automatic OSINT framework and package manager
https://sn0int.readthedocs.io/
GNU General Public License v3.0
1.92k stars 177 forks source link

Support invoking shell commands with `!` from readline #207

Closed kpcyrd closed 2 years ago

kpcyrd commented 2 years ago

This makes it easier to execute modules that need --stdin:

[sn0int][default] > !sudo arp-scan -qglI wlan0 | sn0int run --stdin kpcyrd/arp-scan -o network=home
[*] kpcyrd/arp-scan                                   : Adding device "00:11:22:33:44:55"
[*] kpcyrd/arp-scan                                   : Adding network-device "home+00:11:22:33:44:55"
[+] Finished kpcyrd/arp-scan
[sn0int][default] >

If you spawn child sn0int processes they're going to operate on your currently selected workspace (unless you pass -w different-workspace explicitly).