r00t-3xp10it / venom

venom - C2 shellcode generator/compiler/handler
1.76k stars 593 forks source link

[AWK] problem Installing dependencies under MacBook-Pro #108

Open noahamato1 opened 3 years ago

noahamato1 commented 3 years ago

im getting this error when im trying to install the other dependencies. i have zenity, metasploit, ettercap all installed. the program comes up on my screen and im also stuck at the "enter metasploit full path"

Screen Shot 2021-06-11 at 5 14 18 PM Screen Shot 2021-06-11 at 5 15 33 PM Screen Shot 2021-06-11 at 5 19 00 PM

r00t-3xp10it commented 3 years ago

Execute this two lines and send me the screenshot ..

MSFDATA=$(zenity --title="☠ Enter METASPLOIT FULL PATH ☠" --text "example: /usr/share/metasploit-framework" --entry --width 330) > /dev/null 2>&1

if [ -z "$MSFDATA" ]; then echo "ERROR: MSFDATA variable empty ..";else echo "Path: $MSFDATA";fi

P.S. You forgot to mention that you are trying to install venom on a MAC BOOK ..

noahamato1 commented 3 years ago

yes sorry, i am on a Macbook pro running macOS Big Sur version 11.4. So i executed the two lines you gave me and the same screen that wants me to put the full path came up. i searched in my finders folder for anything related to "metasploit" and nothing came up. i downloaded Metasploit from both these websites and none of them seems to be working https://formulae.brew.sh/cask/metasploit https://www.metasploit.com/

Screen Shot 2021-06-13 at 9 12 37 AM
r00t-3xp10it commented 3 years ago

Ok .. for your screenshot i can see that the error its NOT on venom (ZENITY dependencie) but on metasploit installation .. Follow the instruction of this link: Installing Metasploit Framework on OSX

noahamato1 commented 3 years ago

i downloaded it and it still says the same thing. im getting the "\awk: can't open file /etc/issue source line number 1" in my terminal window. im going to restore my macbook and start fresh again.

r00t-3xp10it commented 3 years ago

Execute this on terminal to see if everything its ok with metasploit..

sudo msfconsole

A Dom, 13/06/2021, 22:48, noahamato1 @.***> escreveu:

i downloaded it and it still says the same thing. im getting the "\awk: can't open file /etc/issue source line number 1" in my terminal window. im going to restore my macbook and start fresh again.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/r00t-3xp10it/venom/issues/108#issuecomment-860274643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTG4DHUR3QCY3RH2TQPQ4DTSURTPANCNFSM46RQCS4Q .

noahamato1 commented 3 years ago

ive looked in my user page /theruiner/ and there isnt a folder named .msf4

Screen Shot 2021-06-13 at 5 54 08 PM

r00t-3xp10it commented 3 years ago

HINT: .msf4 <-- its a 'HIDDEN' folder But metasploit have started msf6 > thats means the problem its not on metasploit ..

Execute this on terminal to see if bash 'awk' its the problem..

testme="ip addr: 192.168.1.69"
echo $testme|awk {'print $3'}

It should respond: 192.168.1.69

noahamato1 commented 3 years ago

thats correct. it did respond with that ip.

noahamato1 commented 3 years ago

i figured that was a hidden folder. i know windows computer can view them with a setting. but i cant figure out mac os has it

r00t-3xp10it commented 3 years ago

cat file/full/path.log <--- you can read the ontents of file using cat command So the error its on BASH AWK command under mac os ... you must search on online chats how to fix the AWK issue under mac os ..

i cant help you with that because i dont have a mac installed on virtual machine now ... https://www.ionos.com/digitalguide/server/configuration/showing-hidden-files-on-a-mac/