Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

AppScan batch scan website

Shulou Source: shulou.com Published: 2022-06-03 04:22:39 10月04日 Update

Holiday, there are many websites did not scan how to do, even if the use of TeamViewer remote is not timely, and it is not convenient at night. Just look on the Internet to see if it can be scanned automatically in batches, and the results are real. Refer to: http://www.myhack58.com/Article/html/3/8/2013/40565.htm

It is also very simple and intuitive to use.

Open the AppScan configuration as usual, but select "I will start the scan later" in the last step.

Then save it under the appropriate path. For example: d:\ 1.Scan. And then turn off AppScan.

Create notepad and write the following: (the file suffix is changed to bat batch file, write the corresponding command)

@ echo off

Appscancmd / e / b D:\ 1.scan / d D:\ 6.scan / v

Appscancmd / e / b D:\ 2.scan / d D:\ 7.scan / v

Appscancmd / e / b D:\ 3.scan / d D:\ 8.scan / v

Appscancmd / e / b D:\ 4.scan / d D:\ 9.scan / v

Appscancmd / e / b D:\ 5.scan / d D:\ 10.scan / v

Pause

As shown below:

According to each different scan file and save file, you can modify the address and name accordingly.

After that, you can save the batch file at will, and click start to start the scan. As shown below:

If you need a report, you can open the saved file after scanning to get the report.

Ps, if interrupted, it will restart scanning, overwriting the previous, all to restart please save as a configuration read file gram.

This can be done because the "AppScanCMD.exe" provided by AppScan is in the installation directory.

Its functions are divided into two parts: performing scanning tasks and generating scanning reports.

The information provided is as follows:

01

Usage:

02

AppScanCMD exec | ex | e

03

/ base_scan | / base | / b

04

/ dest_scan | / dest | / d

05

[/ report_file | / rf]

06

[/ report_type | / rt {xml}]

07

[/ min_severity | / ms {informational}]

08

[/ verbose | / v {false}]

09

[/ test_only | / to {false}]

ten

[/ explore_only | / eo {false}]

eleven

[/ multi-step | / ms {false}]

twelve

Creates new scan according to base_scan's configuration

thirteen

Saving dest_scan and creating report, if required.

fourteen

AppScanCMD report | rep | r

fifteen

/ base_scan | / base | / b

sixteen

/ report_file | / rf

seventeen

[/ report_type | / rt {xml}]

eighteen

[/ min_severity | / ms {informational}]

nineteen

[/ test_type | / tt {all}]

twenty

[/ verbose | / v {false}]

twenty-one

Creates a report for base_scan.

twenty-three

AppScanCMD help | h

twenty-four

Prints this usage.

Parameter meaning:

Parameters.

Abbreviated

Abbreviation 2

Meaning

Parameter value description

Parameter type

Exec

Ex

E

Perform a scanning task

Report

Rep

R

Perform report generation tasks

/ base_scan

/ base

/ b

Specify the base file in the format .scan

Must be the absolute path of the .scan file

Required

/ dest_scan

/ dest

/ d

Specify a file name in the format .scan

Must be the absolute path of the .scan file, which can be the same file as base_scan, or you can specify a new file, which simply means the location and file name where the scan results are saved

Required

/ report_file

/ rf

Specify the location and file name where the report is saved (the file name does not have an extension)

Where should the report be saved?

Optional

/ report_type

/ rt

Specify the report type

(optional xml | pdf | rtf | txt | html)

The default value is xml

Optional

/ min_severity

/ ms

Specify the level of vulnerabilities to be reflected in the report, and vulnerabilities below the level are not written to the report

(optional low | medium | high | informational)

The default value is informational, which means that all vulnerabilities at the prompt and above levels are written to the report, which is equivalent to writing all the contents of the vulnerabilities scanned.

Optional

/ verbose

/ v

Detailed mode

If this parameter is selected, the scan status will be dynamically displayed during the scan.

The default value is false, that is, the scan status is not displayed

Optional

/ test_only

/ to

The default value is false

Optional

/ explore_only

/ eo

The default value is false

Optional

/ multi-step

/ ms

The default value is false

Optional

/ test_type

/ tt

Optional all | application | infrastructure

The default value is all

Optional

Tags: Files reports parameters file names vulnerabilities tasks paths locations information content meaning format status abbreviations types levels results generation selection configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Tech Info Linux OPPO Reno MariaDB