Service Scanning Flashcards

1
Q

Command used to connect to HTB VPN network

A

sudo openvpn user.ovpn

openvpn – represents the VPN client

user.ovpn – VPN key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do we successfully identify we connected to the VPN.

A

command netstat -rn

And see the tun adapter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

NMAP flag for running useful NMAP scripts against a target by default.

A

-sC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to locate a specific NMAP script (e.g. a vulnerability associated with Citrix)

A

locate scripts/citrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Syntax for running an NMAP script

A

nmap –script (script name) -p(port) (host)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Technique used fingerprint a service quickly

A

Banner grabbing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Nmap syntax for banner grabbing

A

nmap -sV –script=banner (target) (port)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Netcat syntax for banner grabbing

A

nc -nv (host) (port)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Command to connect to FTP service via anonymous authentication:

A

ftp -p (IP address)
Once connected, FTP supports common commands such as cd and ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

FTP command to download files

A

get command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Tool used to enumerate and interact with SMB shares

A

smbclient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

smbclient flag that specifies we want to view a list of all available shares

A

-L

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

smbclient flag suppresses the password prompt

A

-N

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

smbclient flag for downloading files

A

get command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly