Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
TCLtools — Cisco IOS 침투 테스트를 위한 TCL 스크립트 모음 | Kitploit
도구/GitHubGitHub/mohemiv/tcltools
Port ScanningNetwork SecurityPenetration TestingRed Teaming
GitHubmohemiv/tcltools

TCLtools

Cisco IOS 침투 테스트를 위한 TCL 스크립트 모음

저장소 보기
69168년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Cisco IOS 침투 테스트를 위한 TCL 스크립트

TCLtools를 사용하면 모든 Cisco IOS 하드웨어를 피벗 스테이션으로 변환할 수 있습니다. 설정과 사용이 쉽습니다!

기능

  • 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

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

TCLtools 사용 방법

TCLtools는 하드웨어에서 권한 레벨 15가 필요합니다.

TCL 스크립트를 업로드하는 네 가지 방법이 있습니다:

  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

참고 사항

  • TCP/IP 포트 스캐닝에 TCLproxy를 사용하지 마십시오. Cisco가 -async 소켓 옵션을 구현하지 않기 때문에, 필터링된 포트에 대한 연결마다 SOCKS 서버가 30초 동안 중단됩니다.
  • 오래된 IOS 버전은 TCL 출력을 다른 콘솔로 리디렉션할 수 있습니다. 이는 IOS 버그입니다.
  • 콘솔에서 연결을 끊으면 TCL 스크립트는 다음 출력 후 중지됩니다.

Cisco 2811 / Cisco 2821 통합 서비스 라우터, Cisco Catalyst 2960, Cisco Catalyst 3750-X에서 테스트되었습니다.

문의하기

새로운 이슈를 열어 버그를 보고하거나 프로젝트 개선을 위한 새로운 기능을 제안할 수 있습니다. 또는 [email protected]으로 연락 주십시오.

도구 다운로드