From a70ac7e332d72d0acf3853d2c5eaf7f10e0e476d Mon Sep 17 00:00:00 2001 From: MrRadix Date: Thu, 6 Aug 2020 13:31:04 +0200 Subject: [PATCH] removed mitake on IDLEScan doc --- README.md | 14 +++++++------- functions.go | 2 -- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index aacf66b..b814806 100644 --- a/README.md +++ b/README.md @@ -252,7 +252,7 @@ func NewScan() Scan NewScan returns a new Scan with default values -### func \(Scan\) [ACKDiscovery]() +### func \(Scan\) [ACKDiscovery]() ```go func (s Scan) ACKDiscovery() (NmapRun, error) @@ -332,7 +332,7 @@ func (s *Scan) AddTopPorts(n int) error AddTopPorts adds top n ports to scan -### func \(Scan\) [AggressiveScan]() +### func \(Scan\) [AggressiveScan]() ```go func (s Scan) AggressiveScan() (NmapRun, error) @@ -420,13 +420,13 @@ func (s Scan) HasScript(script string) bool HasScript checks if scan has given script -### func \(Scan\) [IDLEScan]() +### func \(Scan\) [IDLEScan]() ```go func (s Scan) IDLEScan(zombie string) (NmapRun, error) ``` -IDLEScan is the stealthiest of all scans as the packets are bounced off an external host\. Flag: \-sI IDLEScan is the stealthiest of all scans as the packets are bounced off an external host\. Flag: \-sI +IDLEScan is the stealthiest of all scans as the packets are bounced off an external host\. Flag: \-sI ### func \(Scan\) [IsEqual]() @@ -460,7 +460,7 @@ func (s *Scan) RunScripts(choise bool) RunScripts sets scripts running if choise is true\. Setting this true without adding scripts it's equivalent to a scan with default scripts\. Flag: \-sC -### func \(Scan\) [SCTPDiscovery]() +### func \(Scan\) [SCTPDiscovery]() ```go func (s Scan) SCTPDiscovery() (NmapRun, error) @@ -468,7 +468,7 @@ func (s Scan) SCTPDiscovery() (NmapRun, error) SCTPDiscovery makes an SCTP discovery -### func \(Scan\) [SYNDiscovery]() +### func \(Scan\) [SYNDiscovery]() ```go func (s Scan) SYNDiscovery() (NmapRun, error) @@ -522,7 +522,7 @@ func (s Scan) TCPScan() (NmapRun, error) TCPScan is generally used to check and complete a three\-way handshake between you and a chosen target system\. Flag: \-sT -### func \(Scan\) [UDPDiscovery]() +### func \(Scan\) [UDPDiscovery]() ```go func (s Scan) UDPDiscovery() (NmapRun, error) diff --git a/functions.go b/functions.go index 0ed9c62..f2b8b78 100644 --- a/functions.go +++ b/functions.go @@ -623,8 +623,6 @@ func (s Scan) MaimonScan() (NmapRun, error) { return data, nil } -// IDLEScan is the stealthiest of all scans as the packets are bounced off an external host. -// Flag: -sI // IDLEScan is the stealthiest of all scans as the packets are bounced off an external host. // Flag: -sI func (s Scan) IDLEScan(zombie string) (NmapRun, error) {