powerfull script adapted to new config folder changes
This commit is contained in:
peterpt 2017-02-23 14:21:56 -05:00 committed by GitHub
parent 41f7027c29
commit 6fe3d989b6
1 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash
file="config.path"
file="config/config.path"
if [ -f "$file" ]
then
msfconsole=`sed -n 5p config.path`
msfvenom=`sed -n 6p config.path`
backdoor=`sed -n 7p config.path`
searchsploit=`sed -n 8p config.path`
msfconsole=`sed -n 5p $file`
msfvenom=`sed -n 6p $file`
backdoor=`sed -n 7p $file`
searchsploit=`sed -n 8p $file`
else
echo "Configuration file does not exists , run setup.sh first ."
exit 1