misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2019-02-12 11:51:27 +01:00
parent 2ce3a65eaf
commit cf953b1e02
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
28 changed files with 28 additions and 28 deletions

View file

@ -68,7 +68,7 @@ func (p *AnyProxy) Description() string {
} }
func (p *AnyProxy) Author() string { func (p *AnyProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (p *AnyProxy) Configure() error { func (p *AnyProxy) Configure() error {

View file

@ -114,7 +114,7 @@ func (api *RestAPI) Description() string {
} }
func (api *RestAPI) Author() string { func (api *RestAPI) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (api *RestAPI) isTLS() bool { func (api *RestAPI) isTLS() bool {

View file

@ -88,7 +88,7 @@ func (p ArpSpoofer) Description() string {
} }
func (p ArpSpoofer) Author() string { func (p ArpSpoofer) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (p *ArpSpoofer) Configure() error { func (p *ArpSpoofer) Configure() error {

View file

@ -99,7 +99,7 @@ func (d BLERecon) Description() string {
} }
func (d BLERecon) Author() string { func (d BLERecon) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (d *BLERecon) isEnumerating() bool { func (d *BLERecon) isEnumerating() bool {

View file

@ -50,7 +50,7 @@ func (d BLERecon) Description() string {
} }
func (d BLERecon) Author() string { func (d BLERecon) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (d *BLERecon) Configure() (err error) { func (d *BLERecon) Configure() (err error) {

View file

@ -56,7 +56,7 @@ func (c *CapletsModule) Description() string {
} }
func (c *CapletsModule) Author() string { func (c *CapletsModule) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (c *CapletsModule) Configure() error { func (c *CapletsModule) Configure() error {

View file

@ -72,7 +72,7 @@ func (s DHCP6Spoofer) Description() string {
} }
func (s DHCP6Spoofer) Author() string { func (s DHCP6Spoofer) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (s *DHCP6Spoofer) Configure() error { func (s *DHCP6Spoofer) Configure() error {

View file

@ -68,7 +68,7 @@ func (d Discovery) Description() string {
} }
func (d Discovery) Author() string { func (d Discovery) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (d *Discovery) runDiff(cache network.ArpTable) { func (d *Discovery) runDiff(cache network.ArpTable) {

View file

@ -78,7 +78,7 @@ func (s DNSSpoofer) Description() string {
} }
func (s DNSSpoofer) Author() string { func (s DNSSpoofer) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (s *DNSSpoofer) Configure() error { func (s *DNSSpoofer) Configure() error {

View file

@ -171,7 +171,7 @@ func (s EventsStream) Description() string {
} }
func (s EventsStream) Author() string { func (s EventsStream) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (s *EventsStream) Configure() (err error) { func (s *EventsStream) Configure() (err error) {

View file

@ -68,7 +68,7 @@ func (gps *GPS) Description() string {
} }
func (gps *GPS) Author() string { func (gps *GPS) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (gps *GPS) Configure() (err error) { func (gps *GPS) Configure() (err error) {

View file

@ -66,7 +66,7 @@ func (p *HttpProxy) Description() string {
} }
func (p *HttpProxy) Author() string { func (p *HttpProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (p *HttpProxy) Configure() error { func (p *HttpProxy) Configure() error {

View file

@ -62,7 +62,7 @@ func (httpd *HttpServer) Description() string {
} }
func (httpd *HttpServer) Author() string { func (httpd *HttpServer) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (httpd *HttpServer) Configure() error { func (httpd *HttpServer) Configure() error {

View file

@ -83,7 +83,7 @@ func (p *HttpsProxy) Description() string {
} }
func (p *HttpsProxy) Author() string { func (p *HttpsProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (p *HttpsProxy) Configure() error { func (p *HttpsProxy) Configure() error {

View file

@ -78,7 +78,7 @@ func (httpd *HttpsServer) Description() string {
} }
func (httpd *HttpsServer) Author() string { func (httpd *HttpsServer) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (httpd *HttpsServer) Configure() error { func (httpd *HttpsServer) Configure() error {

View file

@ -60,7 +60,7 @@ func (mc *MacChanger) Description() string {
} }
func (mc *MacChanger) Author() string { func (mc *MacChanger) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (mc *MacChanger) Configure() (err error) { func (mc *MacChanger) Configure() (err error) {

View file

@ -123,7 +123,7 @@ func (s Sniffer) Description() string {
} }
func (s Sniffer) Author() string { func (s Sniffer) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (s Sniffer) isLocalPacket(packet gopacket.Packet) bool { func (s Sniffer) isLocalPacket(packet gopacket.Packet) bool {

View file

@ -23,7 +23,7 @@ func (pp PacketProxy) Description() string {
} }
func (pp PacketProxy) Author() string { func (pp PacketProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (pp *PacketProxy) Configure() (err error) { func (pp *PacketProxy) Configure() (err error) {

View file

@ -25,7 +25,7 @@ func (pp PacketProxy) Description() string {
} }
func (pp PacketProxy) Author() string { func (pp PacketProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (pp *PacketProxy) Configure() (err error) { func (pp *PacketProxy) Configure() (err error) {

View file

@ -88,7 +88,7 @@ func (pp PacketProxy) Description() string {
} }
func (pp PacketProxy) Author() string { func (pp PacketProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (pp *PacketProxy) destroyQueue() { func (pp *PacketProxy) destroyQueue() {

View file

@ -23,7 +23,7 @@ func (pp PacketProxy) Description() string {
} }
func (pp PacketProxy) Author() string { func (pp PacketProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (pp *PacketProxy) Configure() (err error) { func (pp *PacketProxy) Configure() (err error) {

View file

@ -75,7 +75,7 @@ func (p Prober) Description() string {
} }
func (p Prober) Author() string { func (p Prober) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (p *Prober) Configure() error { func (p *Prober) Configure() error {

View file

@ -137,7 +137,7 @@ func (s *SynScanner) Description() string {
} }
func (s *SynScanner) Author() string { func (s *SynScanner) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (s *SynScanner) Configure() error { func (s *SynScanner) Configure() error {

View file

@ -82,7 +82,7 @@ func (p *TcpProxy) Description() string {
} }
func (p *TcpProxy) Author() string { func (p *TcpProxy) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (p *TcpProxy) Configure() error { func (p *TcpProxy) Configure() error {

View file

@ -51,7 +51,7 @@ func (t *Ticker) Description() string {
} }
func (t *Ticker) Author() string { func (t *Ticker) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (t *Ticker) Configure() error { func (t *Ticker) Configure() error {

View file

@ -44,7 +44,7 @@ func (u *UpdateModule) Description() string {
} }
func (u *UpdateModule) Author() string { func (u *UpdateModule) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (u *UpdateModule) Configure() error { func (u *UpdateModule) Configure() error {

View file

@ -281,7 +281,7 @@ func (w WiFiModule) Description() string {
} }
func (w WiFiModule) Author() string { func (w WiFiModule) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com> && Gianluca Braga <matrix86@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com> && Gianluca Braga <matrix86@gmail.com>"
} }
const ( const (

View file

@ -76,7 +76,7 @@ func (w *WOL) Description() string {
} }
func (w *WOL) Author() string { func (w *WOL) Author() string {
return "Simone Margaritelli <evilsocket@protonmail.com>" return "Simone Margaritelli <evilsocket@gmail.com>"
} }
func (w *WOL) Configure() error { func (w *WOL) Configure() error {