Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
Strumenti/GitHubGitHub/nodauf/swego
Generazione di PayloadSicurezza WebPenetration TestingUtilità e FrameworkRed Teaming
GitHubnodauf/swego

Swego

Coltellino svizzero Webserver in Golang. Mantienilo semplice come il python SimpleHTTPServer ma con molte funzionalità.

Vedi Repository
198321 anno faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

Swego

Webserver multiuso in Golang. Semplice come il python SimpleHTTPServer ma con molte funzionalità

Swego screenshot

Utilizzo

Esegui il binario

Se non vuoi compilarlo, i binari sono disponibili su https://github.com/nodauf/Swego/releases

Altrimenti, build-essential deve essere installato e GOPATH configurato:

root@kitploit:~
git clone https://github.com/nodauf/Swego.git
cd Swego/src
make compileLinux # Oppure make compileWindows

Utilizzo

sottocomando web:

root@kitploit:~
$ ./webserver web --help
Start the webserver (default subcommand)

Usage:
  Swego web [flags]

Flags:
  -b, --bind int                  Bind Port (default 8080)
  -c, --certificate string        HTTPS certificate : openssl req -new -x509 -sha256 -key server.key -out server.crt -days 365
  -d, --disableListing            Disable directory listing
  -g, --gzip                      Enables gzip/zlib compression (default true)
      --ip string                 Binding IP (default "0.0.0.0")
  -k, --key string                HTTPS Key : openssl genrsa -out server.key 2048
  -o, --oneliners                 Generate oneliners to download files
  -p, --password string           Password for basic auth (default "notsecure")
      --private string            Private folder with basic auth (default "/home/florian/dev/SimpleHTTPServer-golang/src/private")
      --promptPassword            Prompt for for basic auth's password
  -r, --root string               Root folder (default "/home/florian/dev/SimpleHTTPServer-golang/src")
  -s, --searchAndReplace string   Search and replace string in embedded text files
      --tls                       Enables HTTPS
  -u, --username string           Username for basic auth (default "admin")

Global Flags:
      --config string   config file (default is $HOME/.Swego.yaml)
  -h, --help            Help message

sottocomando run:

root@kitploit:~
$ ./webserver web --help
Run an embedded binary

Usage:
  Swego run [flags]

Flags:
  -a, --args string     Arguments for the binary
  -b, --binary string   Binary to execute
  -l, --list            List embedded binaries

Global Flags:
      --config string   config file (default is $HOME/.Swego.yaml)
  -h, --help            Help message

Server web su HTTP

root@kitploit:~
$ ./webserver
Sharing /tmp/ on 8080 ...
Sharing /tmp/private on 8080 ...

Server web su HTTPS

root@kitploit:~
$ openssl genrsa -out server.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
..........................................+++++
.................................................................................................................+++++
e is 65537 (0x010001)

$ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 365
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:
Email Address []:

$ ./webserver web --tls --key server.key --certificate server.crt
Sharing /tmp/ on 8080 ...
Sharing /tmp/private on 8080 ...

Server web con directory privata e directory root

Cartella privata nella stessa directory

root@kitploit:~
$ ./webserver-linux-amd64 web --private ThePrivateFolder --username nodauf --password nodauf
Sharing /tmp/ on 8080 ...
Sharing /tmp/ThePrivateFolder on 8080 ...

Percorsi diversi per root e directory privata

root@kitploit:~
$ ./webserver-linux-amd64 web --private /tmp/private --root /home/nodauf --username nodauf --password nodauf
Sharing /home/nodauf on 8080 ...
Sharing /tmp/private on 8080 ...

Binario incorporato (solo su Windows)

Elenca i binari incorporati:

root@kitploit:~
C:\Users\Nodauf>.\webserver.exe run  
Usage:
  Swego run [flags]

Flags:
  -a, --args string     Arguments for the binary
  -b, --binary string   Binary to execute
  -l, --list            List embedded binaries

Global Flags:
      --config string   config file (default is $HOME/.Swego.yaml)
  -h, --help            Help message

Esegui binario con argomenti:

root@kitploit:~
C:\Users\Nodauf>.\webserver.exe run --binary mimikatz.exe --args "privilege::debug sekurlsa::logonpasswords"
....

Eseguire il binario in questo modo può aiutare a bypassare le protezioni antivirus. A volte gli argomenti inviati al binario possono essere intercettati dall'antivirus; se possibile, utilizza la CLI interattiva del binario (come mimikatz) o ricompila il binario per cambiare il nome degli argomenti.

Funzionalità

  • HTTPS (generazione automatica del certificato/chiave se non specificato)
  • Elenco directory
  • Definisci una cartella privata con autenticazione di base
  • Carica più file
  • Scarica file come zip crittografato (password: infected)
  • Scarica cartella come zip
  • File incorporati
  • Esegui binario incorporato scritto in C# (solo su Windows)
  • Crea una cartella dal browser
  • Possibilità di eseguire binario incorporato
  • Funzione di ricerca e sostituzione (ad esempio per inserire l'indirizzo IP in una reverse shell)
  • Genera oneliner per scaricare ed eseguire un file incorporato
  • File di configurazione esempi .Swego.yaml
  • Generazione automatica di certificato casuale per TLS

Da fare

  • Webdav (con cattura dell'hash Net-NTLM)
  • File di log
  • Menu JS/CSS per fornire comandi in powershell, alcuni lolbins, curl, wget per scaricare ed eseguire
  • Usa regex per la ricerca e sostituzione
  • Utilizzo di un file system virtuale per gestire i file incorporati
Scarica lo strumento