Skip to content
KitploitKITPLOIT
ToolsBlog
Einreichen
ToolsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

··Feeds·Kontakt·Datenschutz·© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
TCLtools — Sammlung von TCL-Skripten für Penetrationstests von Cisco IOS | Kitploit
Tools/GitHubGitHub/mohemiv/tcltools
Port-ScanningNetzwerksicherheitPenetrationstestsRed Teaming
GitHubmohemiv/tcltools

TCLtools

Sammlung von TCL-Skripten für Penetrationstests von Cisco IOS

Repository anzeigen
6916vor 8 JahrenVon Kitploit geprüft

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →
Teilen

TCL scripts for Cisco IOS penetration testing

Mit TCLtools können Sie jede Cisco IOS-Hardware in eine Pivot-Station verwandeln. Es ist einfach einzurichten und zu bedienen!

Funktionen

  • TCLmap — Portscanner-Implementierung (nmap)
  • TCLproxy — Proxy-Server-Implementierung

TCLproxy

TCLproxy ist ein Werkzeug zum Pivotieren durch Cisco-Geräte. Es kann jeden TCP-Port weiterleiten oder einen Proxy-Server starten.

root@kitploit:~
TCLproxy v0.0.3

Usage: tclsh ./tclproxy.tcl [-L address]... [-D address]...

Proxy server implementation. Binary protocols are supported.

  -L [bind_address:]port:remote_host:remote_port
    Forward a remote port to a local port.
    Multiple connections and multiple forwards are supported.

  -D [bind_address:]port
    Launch a SOCKS4a proxy server.

 Forwarding between VRF tables:
    -D [VRF_table_for_listening@][bind_address]:port[@VRF_table_for_outbound_connections]
    -L [VRF_table_for_listening@][bind_address]:port[@VRF_table_for_outbound_connections]:remote_host:remote_port

  optional arguments:
  -f, --disable-eof-check      Speed increases by 1-15 KB/s, but connections don't close automatically. Dangerous!
  -h, --help                   Show this help message and exit.
  -q, --disable-output         Quite mode. In this mode, you can disconnect from the console without script termination. Dangerous!
  -l, --low-ports              Use privileged source ports. Required for NFS (source port increments from 1 to 1023 every connection)
  -n, --disable-dns            Do not resolve DNS names in SOCKS mode

  The effect of --disable-eof-check and --disable-output options depends on hardware architecture and firmware version.
  TCLproxy will not work for port scanning, use tclmap.tcl instead.

   example:
    $ sudo py3tftp -p 69
    cisco# configure terminal
    cisco(config)# scripting tcl low-memory 5242880
    cisco(config)# end
    cisco# copy tftp://192.168.1.10/tclproxy.tcl flash:/
    cisco# tclsh tclproxy.tcl -h
    cisco# tclsh tclproxy.tcl -L 5901:10.0.0.1:445 -D :5902@enterpriseVRF -D 5900
    ...
    cisco# del flash:/tclproxy.tcl

Über TCL

TCL ist eine hochrangige, universelle, interpretierte, dynamische Programmiersprache. Cisco IOS implementiert TCL 8.3.4:

root@kitploit:~
cisco# tclsh
cisco(tcl)# puts $tcl_version
8.3

cisco(tcl)# puts $tcl_patchLevel
8.3.4

Verwendung von TCLtools

TCLtools erfordert Berechtigungsstufe 15 auf der Hardware.

Es gibt vier Methoden, um TCL-Skripte hochzuladen:

  1. TCL-Skript von FTP- oder TFTP-Server kopieren:
root@kitploit:~
$ sudo py3tftp -p 69
or
$ python2 -m pyftpdlib 

cisco# copy tftp://192.168.1.10/tclproxy.tcl flash:/
cisco# copy ftp://192.168.1.10:2121/tclproxy.tcl flash:/
cisco# tclsh tclproxy.tcl

or

cisco# tclsh ftp://192.168.1.10:2121/tclproxy.tcl
  1. Neue Datei über tclsh erstellen:
root@kitploit:~
$ cat tclproxy.tcl | sed -E 's/([{}$\[])/\\\1/g'
cisco# tclsh
cisco(tcl)# puts [open "flash:tclproxy.tcl" w+] {
cisco(tcl)# ; Copy file contents onto this
cisco(tcl)# }
cisco(tcl)# exit
cisco#
cisco# tclsh tclproxy.tcl
  1. $argv-Variable setzen und Skriptcode in tclsh einfügen (nicht empfohlen):
root@kitploit:~
cisco# tclsh
cisco(tcl)# set argv [list -D 1080]
cisco(tcl)# ; Copy file contents onto this
  1. Befehl "scripting tcl init" verwenden (nicht empfohlen):
root@kitploit:~
cisco# configure terminal
cisco(config)# scripting tcl init ftp://192.168.1.10/tclproxy.tcl
cisco(config)# end
cisco# tclsh

Eine gute Praxis ist es, die minimale Größe des freien Speichers festzulegen:

root@kitploit:~
cisco# configure terminal
cisco(config)# scripting tcl low-memory 5242880
cisco(config)# end

Zusätzlich oder alternativ können Sie die Geräteleistung mit folgenden Befehlen überprüfen:

root@kitploit:~
cisco# show processes cpu | i Tcl
cisco# show processes mem | i Tcl

Anmerkungen

  • Verwenden Sie TCLproxy nicht zum TCP/IP-Portscannen. Da Cisco die -async-Socket-Option nicht implementiert, wird der SOCKS-Server nach jeder Verbindung zu einem gefilterten Port für 30 Sekunden unterbrochen.
  • Veraltete IOS-Versionen können die TCL-Ausgabe auf eine andere Konsole umleiten. Es ist ein IOS-Fehler.
  • Wenn Sie sich von der Konsole trennen, stoppt das TCL-Skript nach der nächsten Ausgabe.

Getestet auf Cisco 2811 / Cisco 2821 Integrated Services Router, Cisco Catalyst 2960 und Cisco Catalyst 3750-X.

Kontakt

Sie können ein neues Issue öffnen, um einen Fehler zu melden oder eine neue Funktion zur Verbesserung des Projekts vorzuschlagen. Oder Sie schreiben ein paar Zeilen an [email protected].

Tool herunterladen