Veil-Framework / Veil

Veil 3.1.X (Check version info in Veil at runtime)
GNU General Public License v3.0
3.96k stars 881 forks source link

Unable to determine OS information. Exiting... #462

Open 5odead opened 2 years ago

5odead commented 2 years ago

Not running on Pop OS When i run the setup file, it says

             os = pop
      osversion = 20.04
   osmajversion = 20
           arch = x86_64
       trueuser = root

userprimarygroup = root userhomedir = /root rootdir = /home/sodead/Pentest/Veil veildir = /var/lib/veil outputdir = /var/lib/veil/output dependenciesdir = /var/lib/veil/setup-dependencies winedir = /var/lib/veil/wine winedrive = /var/lib/veil/wine/drive_c gempath = Z:\var\lib\veil\wine\drive_c\Ruby187\bin\gem

[ERROR] Unable to determine OS information. Exiting...

Idlefase commented 2 years ago

Veil uses a if else statement for detecting os strings. You can always modify it to fit your os.

Note that it will try to install pycrypto trough apt but its already installed with python3

Also search up where your msfvenom is cause even with the silent flag it will ask for that

Also make sure you have a installed copy of metasploit-framework and postgresql12 or 13 installed and set up cause msfinstall would not do that.

Happy hacking.

5odead commented 2 years ago

i just installed postgresql and i installed metasploit-framework using their default commands curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \ chmod 755 msfinstall && \ ./msfinstall I dont know where my msfvenom is installed, i get this in searching it up sodead@anuragspc:~$ sudo whereis msfvenom msfvenom: /usr/bin/msfvenom /opt/metasploit-framework/bin/msfvenom so i put /usr/bin/msfvenom as my msfvenom folder and then it asked me for my Pyinstaller folder, I installed it using pip3 install Pyinstaller and now its asking me where is my Pyinstaller folder, i dont where it is installed

Idlefase commented 2 years ago

You can use the locate command to see all paths with the regex you provide

As for msfvenom you can have a look at the free course metasploit unleased by offensive security. It covers alot of metasploit. Also how the filesystem is used.

Also don't forget to run msfdb init and such.

5odead commented 2 years ago

how do i find the Pyinstaller directory locate and whichis command didnt work!

Idlefase commented 2 years ago

It should be in /bin or in /python or /python3.

If its installed of course.