ssh through http proxy

本文详细介绍了如何实现 SSH 的自动配置与优化过程,包括使用脚本进行配置、优化 SSH 安全设置以及提高 SSH 性能的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

kali@192.168.150.136's password: ┌────────────────────────────────────────────────────────────────────┐ │ • MobaXterm 9.4 • │ │ (SSH client, X-server and networking tools) │ │ │ │ ➤ SSH session to kali@192.168.150.136 │ │ • SSH compression : ✔ │ │ • SSH-browser : ✔ │ │ • X11-forwarding : ✔ (remote display is forwarded through SSH) │ │ • DISPLAY : ✔ (automatically set on remote server) │ │ │ │ ➤ For more info, ctrl+click on help or visit our website │ └────────────────────────────────────────────────────────────────────┘ Linux kali 6.0.0-kali6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1kali1 (2022-12-19) x86_64 The programs included with the Kali GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ┌──(kali㉿kali)-[~] └─$ sudo -i [sudo] password for kali: ┌──(root㉿kali)-[~] └─# sqlmap -u "192.168.150.130" --batch --dbs ___ __H__ ___ ___[(]_____ ___ ___ {1.7.2#stable} |_ -| . [(] | .'| . | |___|_ [,]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 06:52:40 /2025-05-26/ [06:52:41] [INFO] testing connection to the target URL [06:52:41] [INFO] checking if the target is protected by some kind of WAF/IPS [06:52:41] [INFO] testing if the target URL content is stable [06:52:42] [INFO] target URL content is stable [06:52:42] [CRITICAL] no parameter(s) found for testing in the provided data (e.g. GET parameter 'id' in 'www.site.com/index.php?id=1'). You are advised to rerun with '--crawl=2' [06:52:42] [WARNING] your sqlmap version is outdated [*] ending @ 06:52:42 /2025-05-26/ ┌──(root㉿kali)-[~] └─# sqlmap -u "192.168.150.130" -D wordpass --tables ___ __H__ ___ ___[)]_____ ___ ___ {1.7.2#stable} |_ -| . ['] | .'| . | |___|_ [']_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 06:53:10 /2025-05-26/ [06:53:10] [INFO] testing connection to the target URL [06:53:10] [INFO] testing if the target URL content is stable [06:53:10] [INFO] target URL content is stable [06:53:10] [CRITICAL] no parameter(s) found for testing in the provided data (e.g. GET parameter 'id' in 'www.site.com/index.php?id=1'). You are advised to rerun with '--crawl=2' [06:53:10] [WARNING] your sqlmap version is outdated [*] ending @ 06:53:10 /2025-05-26/ ┌──(root㉿kali)-[~] └─# ┌──(root㉿kali)-[~] └─# sqlmap -u "192.168.150.130" --batch --dbs ___ __H__ ___ ___[.]_____ ___ ___ {1.7.2#stable} |_ -| . [(] | .'| . | |___|_ [(]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 06:54:00 /2025-05-26/ [06:54:00] [INFO] testing connection to the target URL [06:54:01] [INFO] testing if the target URL content is stable [06:54:01] [INFO] target URL content is stable [06:54:01] [CRITICAL] no parameter(s) found for testing in the provided data (e.g. GET parameter 'id' in 'www.site.com/index.php?id=1'). You are advised to rerun with '--crawl=2' [06:54:01] [WARNING] your sqlmap version is outdated [*] ending @ 06:54:01 /2025-05-26/ ┌──(root㉿kali)-[~] └─# sqlmap -u "192.168.150.130" --batch --dbs ___ __H__ ___ ___[.]_____ ___ ___ {1.7.2#stable} |_ -| . [,] | .'| . | |___|_ ["]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 06:54:32 /2025-05-26/ [06:54:32] [INFO] testing connection to the target URL [06:54:33] [INFO] testing if the target URL content is stable [06:54:33] [INFO] target URL content is stable [06:54:33] [CRITICAL] no parameter(s) found for testing in the provided data (e.g. GET parameter 'id' in 'www.site.com/index.php?id=1'). You are advised to rerun with '--crawl=2' [06:54:33] [WARNING] your sqlmap version is outdated [*] ending @ 06:54:33 /2025-05-26/ ┌──(root㉿kali)-[~] └─# sqlmap -u "http://192.168.150.130/mutillidae/index.php?page=user-info.php&username=admin' --dbs" --batch --skip-urlencode ___ __H__ ___ ___[(]_____ ___ ___ {1.7.2#stable} |_ -| . ['] | .'| . | |___|_ [,]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 07:03:38 /2025-05-26/ [07:03:38] [INFO] testing connection to the target URL [07:03:38] [CRITICAL] unable to connect to the target URL. sqlmap is going to retry the request(s) [07:03:38] [WARNING] if the problem persists please check that the provided target URL is reachable. In case that it is, you can try to rerun with switch '--random-agent' and/or proxy switches ('--proxy', '--proxy-file'...) [07:03:38] [CRITICAL] unable to connect to the target URL [07:03:38] [WARNING] your sqlmap version is outdated [*] ending @ 07:03:38 /2025-05-26/ ┌──(root㉿kali)-[~] └─# http://192.168.150.130/mutillidae/index.php?page=user-info.php&username=1&password=2&user-info-php-submit-button=View+Account+Details zsh: parse error near `&' ┌──(root㉿kali)-[~] └─# http://192.168.150.130/mutillidae/index.php?page=user-info.php&username=1&password=2&user-info-php-submit-button=View+Account+Details zsh: parse error near `&' ┌──(root㉿kali)-[~] └─# sqlmap -u "http://192.168.150.130/mutillidae/index.php?page=user-info.php&username=admin&password=admin&user-info-php-submit-button=View+Account+Details" --batch ___ __H__ ___ ___["]_____ ___ ___ {1.7.2#stable} |_ -| . ['] | .'| . | |___|_ ["]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 07:05:42 /2025-05-26/ [07:05:42] [INFO] testing connection to the target URL you have not declared cookie(s), while server wants to set its own ('PHPSESSID=cf02apq87ta...fmpu1qshb7;showhints=1'). Do you want to use those [Y/n] Y [07:05:43] [INFO] checking if the target is protected by some kind of WAF/IPS [07:05:43] [INFO] testing if the target URL content is stable [07:05:44] [INFO] target URL content is stable [07:05:44] [INFO] testing if GET parameter 'page' is dynamic [07:05:44] [INFO] GET parameter 'page' appears to be dynamic [07:06:14] [CRITICAL] connection timed out to the target URL. sqlmap is going to retry the request(s) [07:06:45] [CRITICAL] connection timed out to the target URL [07:06:45] [WARNING] your sqlmap version is outdated [*] ending @ 07:06:45 /2025-05-26/ ┌──(root㉿kali)-[~] └─# sqlmap -u "http://192.168.150.130/mutillidae/index.php?page=user-info.php&username=admin&password=admin&user-info-php-submit-button=View+Account+Details" --batch ___ __H__ ___ ___[(]_____ ___ ___ {1.7.2#stable} |_ -| . [(] | .'| . | |___|_ [,]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 07:07:08 /2025-05-26/ [07:07:08] [INFO] testing connection to the target URL you have not declared cookie(s), while server wants to set its own ('PHPSESSID=2k55rqho5ha...d5078g5ai4;showhints=1'). Do you want to use those [Y/n] Y [07:07:09] [INFO] testing if the target URL content is stable [07:07:09] [INFO] target URL content is stable [07:07:09] [INFO] testing if GET parameter 'page' is dynamic [07:07:10] [INFO] GET parameter 'page' appears to be dynamic [07:07:11] [WARNING] heuristic (basic) test shows that GET parameter 'page' might not be injectable [07:07:41] [CRITICAL] connection timed out to the target URL. sqlmap is going to retry the request(s) [07:08:11] [CRITICAL] connection timed out to the target URL [07:08:11] [WARNING] your sqlmap version is outdated [*] ending @ 07:08:11 /2025-05-26/ ┌──(root㉿kali)-[~] └─# sqlmap -u "http://192.168.150.130/mutillidae/index.php?page=user-info.php&username=1&password=2&user-info-php-submit-button=View+Account+Details" \ --batch \ --random-agent \ --level=3 \ --risk=2 \ --timeout=30 \ --retries=3 \ --cookie="PHPSESSID=xxx;showhints=1" ___ __H__ ___ ___[']_____ ___ ___ {1.7.2#stable} |_ -| . [(] | .'| . | |___|_ [(]_|_|_|__,| _| |_|V... |_| https://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 07:09:21 /2025-05-26/ [07:09:21] [INFO] fetched random HTTP User-Agent header value 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.13' from file '/usr/share/sqlmap/data/txt/user-agents.txt' [07:09:21] [INFO] testing connection to the target URL [07:09:22] [INFO] testing if the target URL content is stable [07:09:22] [INFO] target URL content is stable [07:09:22] [INFO] testing if GET parameter 'page' is dynamic [07:09:23] [INFO] GET parameter 'page' appears to be dynamic [07:09:53] [CRITICAL] connection timed out to the target URL. sqlmap is going to retry the request(s) [07:10:23] [CRITICAL] connection timed out to the target URL [07:10:23] [WARNING] your sqlmap version is outdated [*] ending @ 07:10:23 /2025-05-26/ ┌──(root㉿kali)-[~] └─#
最新发布
05-27
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值