Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

ubuntu script

Can I ask, (ubuntu/linux beginner), this site:
http://www.openvas.org/setup-and-start.html

Asks me to download a script:
https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup

My question is, from firefox, a) how do I save it, as what (file extension etc), and then from the command terminal, how do I run it? Do I need to navigate to the folder its saved in as you would on a windows command prompt, i.e. CD command? Whats the ubuntu equivalent?
ASKER CERTIFIED SOLUTION
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pau Lo
Pau Lo

ASKER

I entered sudo -s from cmd terminal
entered the password
then entered:
webget https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup

And it doesnt like it.

root@ubuntu:~# webget webget https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
No command 'webget' found, did you mean:
 Command 'debget' from package 'debian-goodies' (main)
 Command 'debget' from package 'debget' (universe)
 Command 'webgen' from package 'webgen0.4' (universe)
 Command 'webgen' from package 'webgen' (universe)
 Command 'webgen' from package 'webgen0.5' (universe)
webget: command not found
Avatar of Pau Lo

ASKER

Ibrahim Ive followed their guide and it didnt work, so this script is apparently a diagnositc that may give suggestions on why
Avatar of Pau Lo

ASKER

maybe it wget
SOLUTION
Avatar of Tobias
Tobias
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pau Lo

ASKER

Thanks so much madshiva I will login to the ubuntu and try this and feedback
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The Certificate eror is why can not you get the file. The client aborts with invalid certificate error before it downloads. For the rest you can follow MadShiva's comment. Since this is not a windows system you don2t need definite file extensions. The file you get is a script file so when you assign execution permission it should go and do what is intended for.

Cheers,
K.
But don't forget that this script must be run after you've setup openVAS over your system. So please install the binary for your system here:

http://www.openvas.org/install-packages.html

Select the binary for Ubuntu and install it.

Cheers,
K.