Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo Installing..
- # Moving the files to /usr/bin
- cp search /usr/bin/ 2> /dev/null
- cp save /usr/bin/ 2> /dev/null
- # Creating symlinks
- ln -s /usr/bin/save save 2> /dev/null
- ln -s /usr/bin/search search 2> /dev/null
- # Creating pwn folder
- if [ ! -d "/pwn" ]; then
- mkdir /pwn
- touch /pwn/tricks
- fi
- echo Sucessfully installed saveNsearch..
- echo Use \"save {cmd}\" to save command for later use.
- echo -e "\n"
- echo Example:
- echo save crackmapexec -u users.txt -p passwords.txt --shares 10.10.10.149
- echo search crackmap
- echo -e "\n"
- echo Use CrackMapExec to test creds on shares:
- echo crackmapexec -u users.txt -p passwords.txt --shares 10.10.10.149
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement