Skip to content

SVReport Usage

Pinaki Mondal edited this page May 8, 2020 · 2 revisions

How to use svreport

svreport is a part of the sipvicious toolset which can easily generate reports based on your previous scans, viz. svmap, svwar and svcrack usage. Additionally you can search, delete, display stats based on your activity with the toolset.

svreport usage

Usage: ./svreport [command] [options]

Supported commands:

                - list:	        lists all scans
                - export:	exports the given scan to a given format
                - delete:	deletes the scan
                - stats:	print out some statistics of interest
                - search:	search for a specific string in the user agent (svmap)

examples:

      svreport.py list
      svreport.py export -f pdf -o scan1.pdf -s scan1
      svreport.py delete -s scan1

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -v, --verbose         Increase verbosity
  -q, --quiet           Quiet mode
  -t SESSIONTYPE, --type=SESSIONTYPE
                        Type of session. This is usually either svmap, svwar
                        or svcrack. If not set I will try to find the best
                        match
  -s SESSION, --session=SESSION
                        Name of the session
  -f FORMAT, --format=FORMAT
                        Format type. Can be stdout, pdf, xml, csv or txt
  -o OUTPUTFILE, --output=OUTPUTFILE
                        Output filename
  -c, --count           Used together with 'list' command to count the number
                        of entries

You can list all scans using:

./svreport list

You can export a specific scan using:

./svreport export -f pdf -o scan1.pdf -s scan1

You can delete a scan from db using:

./svreport delete -s scan1

You can display statistics of your previous scans using:

./svreport stats ...

Options

Session Type

Specifying the type of session you want to see/generate reports of. Takes input in one of the three options: svmap, svwar and svcrack. Additionally if the input doesn't match the above, it will try finding the best match scenario.

./svreport ... -t svmap ...

Session Name

Specifying the name of the session explicitly. If you have saved a scan given a name to it, you can use the name to generate a report based on that specific scan.

./svreport ... -s session1 ...

Format

You can use the format to generate the type of output file you want. Can be wither of the following options: stdout, pdf, xml, txt or csv.

./svreport export -f pdf -s session1 ...

Filename

Filename specifies the name of the file you want as output.

./svreport export -f pdf -s session1 -o report1 ...

Counting Stats

Enabled using the -c switch. This option can be used with the list command to count the number of entries/scans performed.

./svreport list -c ...

SIPVicious Wiki

Clone this wiki locally