Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
TCLtools — Cisco IOS ペネトレーションテスト用のTCLスクリプト集 | Kitploit
ツール/GitHubGitHub/mohemiv/tcltools
ポートスキャンネットワークセキュリティペネトレーションテストレッドチーミング
GitHubmohemiv/tcltools

TCLtools

Cisco IOS ペネトレーションテスト用のTCLスクリプト集

リポジトリを見る
69168年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

TCL scripts for Cisco IOS penetration testing

TCLtools を使用すると、あらゆる Cisco IOS ハードウェアをピボットステーションに変換できます。セットアップと使用は簡単です!

Features

  • TCLmap — ポートスキャナー実装 (nmap)
  • TCLproxy — プロキシサーバー実装

TCLproxy

TCLproxy は Cisco デバイスを経由したピボット用のツールです。任意の TCP ポートの転送やプロキシサーバーの起動が可能です。

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

About TCL

TCL は高水準、汎用、インタプリタ型の動的プログラミング言語です。Cisco IOS は TCL 8.3.4 を実装しています:

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

cisco(tcl)# puts $tcl_patchLevel
8.3.4

How to use TCLtools

TCLtools を使用するには、ハードウェア上で特権レベル 15 が必要です。

TCL スクリプトをアップロードするには 4 つの方法があります:

  1. ftp または tftp サーバーから TCL スクリプトをコピーする:
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. tclsh を使用して新しいファイルを作成する:
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 変数を設定し、tclsh 内にスクリプトコードを貼り付ける (非推奨):
root@kitploit:~
cisco# tclsh
cisco(tcl)# set argv [list -D 1080]
cisco(tcl)# ; Copy file contents onto this
  1. "scripting tcl init" コマンドを使用する (非推奨):
root@kitploit:~
cisco# configure terminal
cisco(config)# scripting tcl init ftp://192.168.1.10/tclproxy.tcl
cisco(config)# end
cisco# tclsh

ベストプラクティスとして、空きメモリの最小サイズを設定することをお勧めします:

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

これに加えて、または代わりに、次のコマンドでデバイスのパフォーマンスを確認できます:

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

Remarks

  • TCP/IP ポートスキャンに TCLproxy を使用しないでください。Cisco は -async ソケットオプションを実装していないため、フィルタリングされたポートへの接続のたびに SOCKS サーバーが 30 秒間中断されます。
  • 古い IOS バージョンでは、TCL の出力が別のコンソールにリダイレクトされる場合があります。これは IOS のバグです。
  • コンソールから切断すると、次の出力後に TCL スクリプトが停止します。

Tested on Cisco 2811 / Cisco 2821 Integrated Services Router, Cisco Catalyst 2960, and Cisco Catalyst 3750-X.

Contact Us

バグの報告やプロジェクト改善のための新機能の提案は、New Issue を開くことができます。または、[email protected] までご連絡ください。

ツールをダウンロード