Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
TCLtools — सिस्को आईओएस पेनिट्रेशन टेस्टिंग के लिए टीसीएल स्क्रिप्ट्स का संग्रह | Kitploit
उपकरण/GitHubGitHub/mohemiv/tcltools
पोर्ट स्कैनिंगनेटवर्क सुरक्षापेनिट्रेशन टेस्टिंगरेड टीमिंग
GitHubmohemiv/tcltools

TCLtools

सिस्को आईओएस पेनिट्रेशन टेस्टिंग के लिए टीसीएल स्क्रिप्ट्स का संग्रह

रिपॉजिटरी देखें
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

टिप्पणियाँ

  • TCLproxy का उपयोग TCP/IP पोर्ट स्कैनिंग के लिए न करें। क्योंकि Cisco -async सॉकेट विकल्प को लागू नहीं करता है, socks सर्वर प्रत्येक फ़िल्टर्ड पोर्ट से कनेक्शन के बाद 30 सेकंड के लिए बाधित होता है।
  • पुराने IOS संस्करण TCL आउटपुट को दूसरे कंसोल पर रीडायरेक्ट कर सकते हैं। यह एक IOS बग है।
  • यदि आप कंसोल से डिस्कनेक्ट करते हैं, तो TCL स्क्रिप्ट अगले आउटपुट के बाद रुक जाती है।

Cisco 2811 / Cisco 2821 Integrated Services Router, Cisco Catalyst 2960, और Cisco Catalyst 3750-X पर परीक्षण किया गया।

हमसे संपर्क करें

आप बग रिपोर्ट करने या प्रोजेक्ट को बेहतर बनाने के लिए एक नई सुविधा सुझाने के लिए एक New Issue खोल सकते हैं। या आप [email protected] पर कुछ पंक्तियाँ भेज सकते हैं।

टूल डाउनलोड करें