| 1 | package syn_scanscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/ |
| 2 | |
| 3 | import ( |
| 4 | "github.com/bettercap/bettercap/networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/" |
| 5 | "github.com/bettercap/bettercap/sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/" |
| 6 | ) |
| 7 | |
| 8 | type SynScanEventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent# struct { |
| 9 | Addressscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Address. string |
| 10 | Hostscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Host. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.Endpointscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/Endpoint# |
| 11 | Portscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Port. int |
| 12 | } |
| 13 | |
| 14 | func NewSynScanEventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/NewSynScanEvent().(address string, h *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.Endpointscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/Endpoint#, port int) SynScanEventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent# { |
| 15 | return SynScanEventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#{ |
| 16 | Addressscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Address.: address, |
| 17 | Hostscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Host.: h, |
| 18 | Portscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Port.: port, |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | func (e SynScanEventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#) Pushscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/syn_scan`/SynScanEvent#Push().() { |
| 23 | sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/.Iscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/I..Eventsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Events..Addscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/EventPool#Add().("syn.scan", e) |
| 24 | sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/.Iscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/I..Refreshscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Refresh().() |
| 25 | } |