From 422a4ece533e55895a04708be4dd9fce2fba773c Mon Sep 17 00:00:00 2001 From: Sanjai kumar <119435129+sanjai-AK47@users.noreply.github.com> Date: Thu, 28 Dec 2023 21:54:42 +0530 Subject: [PATCH] Add files via upload --- probuster/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 0 -> 153 bytes probuster/__pycache__/__init__.py | 0 probuster/__pycache__/handler.cpython-311.pyc | Bin 0 -> 11827 bytes .../__pycache__/probuster.cpython-311.pyc | Bin 0 -> 450 bytes probuster/modules/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 0 -> 161 bytes probuster/modules/__pycache__/__init__.py | 0 .../__pycache__/handler.cpython-311.pyc | Bin 0 -> 14761 bytes probuster/modules/banner/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 0 -> 168 bytes .../modules/banner/__pycache__/__init__.py | 0 .../banner/__pycache__/banner.cpython-311.pyc | Bin 0 -> 1499 bytes probuster/modules/banner/banner.py | 50 ++ probuster/modules/cli/__init__.py | 0 .../cli/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 165 bytes probuster/modules/cli/__pycache__/__init__.py | 0 .../cli/__pycache__/cli.cpython-311.pyc | Bin 0 -> 7029 bytes .../cli/__pycache__/cli2.cpython-311.pyc | Bin 0 -> 10558 bytes probuster/modules/cli/cli.py | 164 +++++++ probuster/modules/dir/__init__.py | 0 .../dir/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 165 bytes probuster/modules/dir/__pycache__/__init__.py | 0 .../dir/__pycache__/dir.cpython-311.pyc | Bin 0 -> 13176 bytes probuster/modules/dir/dir.py | 279 +++++++++++ probuster/modules/dns/__init__.py | 0 .../dns/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 165 bytes probuster/modules/dns/__pycache__/__init__.py | 0 .../dns/__pycache__/dns.cpython-311.pyc | Bin 0 -> 9149 bytes probuster/modules/dns/dns.py | 188 ++++++++ probuster/modules/handler.py | 345 ++++++++++++++ probuster/modules/help/__init__.py | 0 .../help/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 166 bytes .../modules/help/__pycache__/__init__.py | 0 .../help/__pycache__/help.cpython-311.pyc | Bin 0 -> 10518 bytes probuster/modules/help/help.py | 188 ++++++++ probuster/modules/probuster_documentation.py | 436 ++++++++++++++++++ probuster/modules/version/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 0 -> 169 bytes .../modules/version/__pycache__/__init__.py | 0 .../__pycache__/version.cpython-311.pyc | Bin 0 -> 2109 bytes probuster/modules/version/version.py | 65 +++ probuster/modules/vhost/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 0 -> 167 bytes .../modules/vhost/__pycache__/__init__.py | 0 .../vhost/__pycache__/vhost.cpython-311.pyc | Bin 0 -> 11390 bytes probuster/modules/vhost/vhost.py | 268 +++++++++++ probuster/modules/wordlist/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 0 -> 170 bytes .../modules/wordlist/__pycache__/__init__.py | 0 .../__pycache__/wordlist.cpython-311.pyc | Bin 0 -> 4762 bytes probuster/modules/wordlist/wordlist.py | 109 +++++ probuster/probuster.py | 15 + 53 files changed, 2107 insertions(+) create mode 100644 probuster/__init__.py create mode 100644 probuster/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/__pycache__/__init__.py create mode 100644 probuster/__pycache__/handler.cpython-311.pyc create mode 100644 probuster/__pycache__/probuster.cpython-311.pyc create mode 100644 probuster/modules/__init__.py create mode 100644 probuster/modules/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/__pycache__/__init__.py create mode 100644 probuster/modules/__pycache__/handler.cpython-311.pyc create mode 100644 probuster/modules/banner/__init__.py create mode 100644 probuster/modules/banner/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/banner/__pycache__/__init__.py create mode 100644 probuster/modules/banner/__pycache__/banner.cpython-311.pyc create mode 100644 probuster/modules/banner/banner.py create mode 100644 probuster/modules/cli/__init__.py create mode 100644 probuster/modules/cli/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/cli/__pycache__/__init__.py create mode 100644 probuster/modules/cli/__pycache__/cli.cpython-311.pyc create mode 100644 probuster/modules/cli/__pycache__/cli2.cpython-311.pyc create mode 100644 probuster/modules/cli/cli.py create mode 100644 probuster/modules/dir/__init__.py create mode 100644 probuster/modules/dir/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/dir/__pycache__/__init__.py create mode 100644 probuster/modules/dir/__pycache__/dir.cpython-311.pyc create mode 100644 probuster/modules/dir/dir.py create mode 100644 probuster/modules/dns/__init__.py create mode 100644 probuster/modules/dns/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/dns/__pycache__/__init__.py create mode 100644 probuster/modules/dns/__pycache__/dns.cpython-311.pyc create mode 100644 probuster/modules/dns/dns.py create mode 100644 probuster/modules/handler.py create mode 100644 probuster/modules/help/__init__.py create mode 100644 probuster/modules/help/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/help/__pycache__/__init__.py create mode 100644 probuster/modules/help/__pycache__/help.cpython-311.pyc create mode 100644 probuster/modules/help/help.py create mode 100644 probuster/modules/probuster_documentation.py create mode 100644 probuster/modules/version/__init__.py create mode 100644 probuster/modules/version/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/version/__pycache__/__init__.py create mode 100644 probuster/modules/version/__pycache__/version.cpython-311.pyc create mode 100644 probuster/modules/version/version.py create mode 100644 probuster/modules/vhost/__init__.py create mode 100644 probuster/modules/vhost/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/vhost/__pycache__/__init__.py create mode 100644 probuster/modules/vhost/__pycache__/vhost.cpython-311.pyc create mode 100644 probuster/modules/vhost/vhost.py create mode 100644 probuster/modules/wordlist/__init__.py create mode 100644 probuster/modules/wordlist/__pycache__/__init__.cpython-311.pyc create mode 100644 probuster/modules/wordlist/__pycache__/__init__.py create mode 100644 probuster/modules/wordlist/__pycache__/wordlist.cpython-311.pyc create mode 100644 probuster/modules/wordlist/wordlist.py create mode 100644 probuster/probuster.py diff --git a/probuster/__init__.py b/probuster/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/__pycache__/__init__.cpython-311.pyc b/probuster/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ccb18c50da0711d803c2177fac0fb71c52ed7053 GIT binary patch literal 153 zcmZ3^%ge<81TiZrQ$h4&5CH>>P{wCAAY(d13PUi1CZpdu@nB{gtycoYqr@Xd3fYXZjP`}mzO1xTl6~5TYSbuJNh?`e^~1b%l!=t(VYTPn z`f*p=c!_4w>`GgG``mlZ{i##8&b{}$=hoka!vO+UCUa9B-9pH}BV%0=Gx7azT!ef~ zBqDJclI0Ry)|GH^$h$J`gd1XahR=Eu9#iH`_*kBh5LoO__*ooC1XvtQ1YJZHCPLPY zBwh|qge`8ux-XfC+Oj4q^*QMBCH#$xBdn!ni>ntwO0$i)jtp{#{ z&9woy(dOFg>p^;xl~aU7qN84t*bE%>opB|e1MYd76J^)LR-5YtuFK}S<@IvAy!o;_ zu??QWKe64)k+(UYBC*4dz3s{D%=RRDSTB1syH2Cbmw6%Eo9H!VyO~VL#Ik*fK2x@b z$-J4pX8hu5k~`f+l6YB)0zD`- z0ewYk2HG#J1Ny4e0`xV>b&B+~{t?^jaq0YUp31uClsc7>$9gzDd_+zb)byo7=2X5g zse99xb5H;>+^I|&B5oHD@5N*;CsQn*8kbY=UAQ7sC7sVb=HAx%k+IsQb88gJX9DTxg<{I3u2PWqMS?R3prJ$ z>D*;e9ZxG_T2Y{27SsVgnG=(un$F7NWJXRZvPfliFLfN+#ez^iC;pt~FBTMNL_C^S z#|sz5$>e1@786r;Z$bhs+ztQle-Go}W1`xlfe>fUPs50w=B|_L+XI_#^ z<*hU!pAgks&q;1oaPYh{UuE-(Q39;PbDaa~RqZj4ElNIT8*8>8ILj`qYqTthoFadQ z{{A)Z9x(N{=O(6q(5cg!Ej*R}J)yCp_sZVbp4c85gwE4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G7@ zE#VRNeO=60ei<&%o2|SzU?Gn&BWtrn=0{I4^Xnqx`=oX&*E*$*Sq{==mEt)i29{bU zNYfbDv>r4*-D6+w(LPYvz$M+7VjyG>rVu7D7{OqGVb)Gle=NL~Wsm6IgVQ*&ugoNMG`Hs-y+$fIm04p(yUNdEL>v0MG`2npPg0n5^h6DsF3w@<9CIM zxVIv{QW4`7@$E8sr$XM*$U94<4GXl*3uUskLbhsT>k^E`YbE!R5Sk5?JWGMdY;Vbj z!l@FELSb(I?N`deX2>&zFgQC(UaNu-o{eH&=;n2(5Nw+3p66k>LV@V!nJcr?^JmM^ z?n<<~6sif$TyTl+(wt$D-=d;x9}_OJNc1(tAc;na@@DoW|!^3$O?VW!DUz z(m^~IH)4a%%k|tByup3pkb>;5Tq#^jp}Ij~jrCl@H5MpHfG+VuDQ-Z;62L{{#}3fK z@Jx7+))e9pV${*i`#3n9vq^^A#lgv*O%j}&gB98)O^1=S$*`-51H8GCDD7a?Uy<#D XJIGf%Jn@6>uX+bu@qO;E_aXCNFXN9$ literal 0 HcmV?d00001 diff --git a/probuster/__pycache__/probuster.cpython-311.pyc b/probuster/__pycache__/probuster.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9fb14d489a447ce55e3c34b573aa928a704b88f6 GIT binary patch literal 450 zcmZ3^%ge<81ZqcGQ;UK0V-N=hn4pZ$HbBO7h7^Vr#vF!R#wbQch7_h2hA5^~<`m{^ zu&N>+CWcg|Wk7YSVY(TBs#t=-Sd;Z7NOUFRE%uDWyp){OqGY%#AOmCqGZ24P0us|1 zN*I9@6kwRh5X_*-=vM?%zLMcHNYyW0{fzwFRQ=+_ysX4b{eYtUq|)M&)FS-?OqO0j z)n#LT=RPM}VZA;tVaqJiNl3wNVui)RBE7O?}xZgIrNgH*=H`)RV=;?K=bDa}bO z)`Pmghy|zwYzRnQUSe))e0&ibNDQR6hyzIc;;?~evMb^RazUOd_5uC%vZ!jod wKt&%|m>Bs!Fu(~81{R);QbF`%5CH>>P{wCAAY(d13PUi1CZpd literal 0 HcmV?d00001 diff --git a/probuster/modules/__pycache__/__init__.py b/probuster/modules/__pycache__/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/__pycache__/handler.cpython-311.pyc b/probuster/modules/__pycache__/handler.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..17309299f179f5d39dd68eefd22307c456e6f0c9 GIT binary patch literal 14761 zcmeG@TW}lKb-TaCh88Bh^YGHu{KMr>@d`R5ShQOdH2d`_Y+&1{!O2CR5II@ZmpZ9L;$2 z(djvNAJ_#TSx%}>JMHe`+gqc2U&7W59gs49^$8 zbWzj?lt2k|l1kCzbjmgEqA~1By2st%x|2-GGwv~P-f7ET1Am(tlLOCqyB#y$0ikEi`0-~U#9N`wqHDU-3T=T9 z^tS$tZxx%wR_}W0O(C?J?YM8162^-91L7$F@-7o-Rrn8SjN!_X>V->rW}M@u!p!5VrsflJI8m zabhpT0B$wtq=)pnnX{ut&Jf8JsFCZNA3`HPHXBOO)H&d$@!r>Z)2!~!(zDcM_c>~o z7V550-&!)t*5>pbH zbaZC!A>AWk&6=lgWZ?8zZWu=ScqV-zG06`mU_jFug}(r!CYXbAF_9LMb1)LJ5=$mw z*hKzJ_PmfuC1Pm>cw!btg-<9lpY!k+poDI}=E}$#GaE}@)R>u=GNm!onM7LiW9$S$ zcxHel6pcBbNeY@9I7;(KqAV)i9*xCR=~zmXP=0BQl*vFsAtA|{2cu-!19%>vhkJUa zGAXe~j-{t#i5`nldaTy>qzISFJ-};1Qk0v+IXo`4!ycuxRu?KlAVRz=-a)0YfSV4=XgRb<{$ z&F>4KjB;=~0|>(DUBJ&DP=3nJo3(k|DSH;Ew6cX#upHw7sd$EVmQ$0ng^IZ{v)55~ z?L00gkIu9`K^}KS9$H`)Kw_p_?DGhy<`#??fm)#7qCu7tw=7HNaXxrPHRkM@fzz6A zC9}JKP!X$^GLYfYV4$_Br}u1vc6Mih~U$_fD+S}H2=Wm zxHyAT31l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{x@?(LY74#B!2-SXWdQH^cwZ7TI;({h4bXSPj#ry?>-e# z&CixBlqc_fDv&3yEvhb0Ubyg0H|5zPwQ*(YCR^lp75Nv6e1DODtw6nAq+VC4*Vm|K zOwfFtEl`__)Ml01yap5Oa^4L`6w86UXDv{-yd&>J^I|n%{kyqOS*&~L*Z3~aC~OoPH= zfliJ_MbZY__t9|A!2$}sjo!IVS>W5Wn{I#`FeZq^X&N+88~m0#Lc@Ne8pvo}`-JH_ Y-c5bd?dd<@{v_Jx>fh`B&0Y-rC#!zn)Bpeg literal 0 HcmV?d00001 diff --git a/probuster/modules/banner/__init__.py b/probuster/modules/banner/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/banner/__pycache__/__init__.cpython-311.pyc b/probuster/modules/banner/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0c47975759a0a384fdb40b049c461b9d4d73db9e GIT binary patch literal 168 zcmZ3^%ge<81e2>;QbF`%5CH>>P{wCAAY(d13PUi1CZpdGi literal 0 HcmV?d00001 diff --git a/probuster/modules/banner/__pycache__/__init__.py b/probuster/modules/banner/__pycache__/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/banner/__pycache__/banner.cpython-311.pyc b/probuster/modules/banner/__pycache__/banner.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7b37e998bceb93a8552b2ebab0f60fa9fc988b20 GIT binary patch literal 1499 zcmZ`&&2Jk;6rc5eciHH5-QuJ>Vg!ly%T@1AJOc% zjU!uHiGVoxkV6GQ6%yi5K;`e?oJcuTBY`Yc9JpDExa5F%v$mI1h_}0M-tWD6^JaeY z_D4;NBam-@{}O*LBJ`Yti2x4d^luoxK_)T<3)zA$*bzNqi@GRqU&N9sd=xENmnS0@ zTFN*Z=}|yxh+=?(n%tvL0ZN21?R*~C)04;^pPM}I(NlnCCUJch&`Tkj!(wYbL>B

M6C}2+Lp*k@2gU}ObxIRLy(C!K^*6u~99IOLQLIyP)(;y}jtIax#1?3vpFq!1mfl_6(9HWI z_g0}z8!pMbo4IwpY&b2W`C;2ONall^ohl|J{J^zn8Q0nbDr4_Vh-Ve15UB6kOsO^8 zW(_ly;$8Z-L16Dy*D{&>u+gNL$pm|tW+fJ*u4`>Mh7CTxBadkwws4JNbBkl9R1L?$ z#FKy=zP+=2uHo7^=LH+e0lC$H+}uuR*{<2Pu$LQUj)&_z9kK*#1nM;~ye~lcXpl<# zYeOlbeIg9ezuGVUrJ(urqmA#c9?xAnnY-q1{HDzxE*v;Ny?3PLkG1@XmiJc%vlk(2 z`cs|@`i~2jhH_vmUKtr<|DC(%;mGN)3==3Z>u;RGMo{+hs1t|*6!W$w{KSMeC=-D{ zk`Am=@fH&a1|nBW#o{KD;a0K3q8o+P;%245qP9`T4mFr`^L}BINwtpQz>l zxeJL>)oMc{+%K-Le{_#29c)?9Lh`-aYn38-l^2PXisfQutFXRKG8`+*rM1=D74k{| zc)JphEOL+--S$@C3z+>Gk=G$Yu7WyKZ;YOkmXy$10 zK0}%xJfSgEk($`w^~Hgj=*N9|5TEY9=|>0Asr`;Gai@Cl&ZGRXx(KncGp6;^zA{Nr xwSJPv68l|9m`WWi9ZE;B%P=9i_|=1c@9^W}`{{dYEg-HMa literal 0 HcmV?d00001 diff --git a/probuster/modules/banner/banner.py b/probuster/modules/banner/banner.py new file mode 100644 index 0000000..c18206f --- /dev/null +++ b/probuster/modules/banner/banner.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 +from colorama import Fore,Back,Style +from art import * +import random +import random + + + +red = Fore.RED + +green = Fore.GREEN + +magenta = Fore.MAGENTA + +cyan = Fore.CYAN + +mixed = Fore.RED + Fore.BLUE + +blue = Fore.BLUE + +yellow = Fore.YELLOW + +white = Fore.WHITE + +reset = Style.RESET_ALL + +bold = Style.BRIGHT + +colors = [ green, cyan, blue] + +random_color = random.choice(colors) + + +def banner(): + + tool_name = "ProBuster" + + fonts = [ + "block", "caligraphy", "colossal", "block", "doh", "small", "smscript", "slant", "term", + "smslant", "shadow", "graffiti", "standard", "big", "blockhead", "ogre", "script"] + selected_font = random.choice(fonts) + banner = text2art(f"{tool_name}", font=selected_font) + + banner = f"""{banner} + + {bold}{white}Author : D.SanjaiKumar @CyberRevoltSecurities{reset}\n""" + + + + return banner diff --git a/probuster/modules/cli/__init__.py b/probuster/modules/cli/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/cli/__pycache__/__init__.cpython-311.pyc b/probuster/modules/cli/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0cad4d4b039f7e5da00d62b278947e7e94ad250 GIT binary patch literal 165 zcmZ3^%ge<81e2>;QbF`%5CH>>P{wCAAY(d13PUi1CZpdter~FM zabjLpVy1pTQGQZsaY<^CegT~2o1apelUl6r?Bl5)AD@|*SrQ+wS5Wzj!zLFjV^_oq YGzer>F+Y&_z|6?V_<;dN6fpzE0LsiK00000 literal 0 HcmV?d00001 diff --git a/probuster/modules/cli/__pycache__/__init__.py b/probuster/modules/cli/__pycache__/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/cli/__pycache__/cli.cpython-311.pyc b/probuster/modules/cli/__pycache__/cli.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0e310d3679f9ed5e57cf7b01b9ade77e01f50731 GIT binary patch literal 7029 zcmds6OKcm*8Q$gcF%+MYDL*7Rre!4#W7CQw$+g`$wq#L`Y*kh)#fg~~0?ipol=Xm$)r#1G)&%C4etE6$MtpIx_Z92q=8WO+^|Y@S*5GOL4Vy zG?wL@T0Um>pa1{&j>r*H+Pw}&Dc0+tihgb&&ZSaVxMBB2iWL;5V%*h7ud(c z263%oCX*mMsQZy;c*s3Cw5wCr}ca6_E#U!z&^ianr7>JBVM~mHZ(bw#IB1 zem{(xceT?I+_EeA*YO*>l0S;y+?9L;zlD!gMdkQQXKNInup;rX2dzKC@@n(#UDT#D zBXMf;Bz|XGYkBf7Q=2?2FLFHjoo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{D%FDFDym7ps8n(N0yt;iG zULm-5Ef8J}gjWL1S^(}y%|Cqa6ucqLb9h6rI|5t7Q{>wagh0RTi+{+A%QuiE}?jIaXNPm%Zc&O6Te zs^<^zcNfeY){%GKUU`=7Z2Ga0s(ut7UizlK4v24# zb{_dSC_M@KfOvAm7~k&n#6?LL;ja}ba!5x;3!2CzDEmWzvftk+`|+MO!T`N2w3520 z=uQfaR4$`S*J9neLmTZbwi$Zwtdh{}7jJa->-OYy z0y^uiz7J!%Ba@mUm>y+{oi}2AeOEuyozok&(nt->t==R-doP++R3_!j+0mk#*o&kU-_<75MU3DJ>fk4yz#GToN Z>nnj4EzmOO-Ee*;ict02kMuIw^Iz+W%)9^q literal 0 HcmV?d00001 diff --git a/probuster/modules/cli/__pycache__/cli2.cpython-311.pyc b/probuster/modules/cli/__pycache__/cli2.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b4e83b7523ac2b86528ffc497134f4fd09094177 GIT binary patch literal 10558 zcmd@)TWlLwc9-Hqmz4OBEZKV58Ous6%Ayn}vYV=LV?8KEi7cs>Y_I7ogb`;XQK2}@ z%uo;3Zq>p?UBDmt=wbx~2K2LT7j^*u7|2h7{aLghn{?z7kTJjl0ty4&pMpVlfknQ0 z&YcH`lxRopN4MBJoICeC@43%2b1wfW7z_|df48|QUg{v^KM}B!-za^JsT1Y?Ae%TtRZ5<$}!6*C^uQ0O+=(9OmC(vLiz4=v_dudojDA7H-YjNC5c}V!Q(;*0(#&Iaq4?^50$j6e2h@u`7)z9@~$%H`$ z5pW~jkY+ie*=3>u$$erl1q@~;gearvca-)5-d}f7DaUbVad6~OBvbiA2SH(3ct-JS}zg%~11vh=EZhr;$%XJ6JxgVS=Uu!O+)|J{>xtjjYlN^^^n z%uQq zV*WpzSX7*qrG=cLiZXXADXp&Z8A17RCC|_rpGxx!X^|T-Sq2%4%?I^!+#q)i`v98? zu$WXOd9!~p1yW)rweIbh=uB1jEJ$eq z@^ntry|So?s_tE1PN}c~iW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L?7Z<*`2}=75XTF2T%+So;)yR6MtZkE-__{5PEyCy5k`8i zK;P5odnM9^ohUXQ6xw5888Wcbij4=7-J2y+J5B~5*^{9}YQ^CJl07^Y>B7#r>Spv* zQ+Pq^y!aLLCTN^2&`FI>I<2qht73#ij_-xJXJKwP+*t_2r0o1Xd^XlM73xkGNsTvL z%3jd=fAHP+-7C9(59vkSu|nOOB}P`N%8lBak)^kky`VuY)U)#$WboUi=L+*buaOj;CZ)6_^YDKU{MwaapCU4DWpXcMdZX>;)V{@>nuF6aJy62w?geE) z#{Y1D^Mk_+-KFYuotHE4#{xz7$#Bjnt-^-A3H6xgM2cPu2Ycz%!n=A6{4XdXq!c{Z zpSPs~qP0sa`tga3f`2>_uNsF;Hw@J}&BDKlz|||d`)Yhtcgv!nd&jTF<5RkKNfyP7 zUVCL|JU%ry1l}C@GAgfoMs5yG>7L{!4-S8L@>*Q?uBJ9bft>^BzMJvM$>|%qZ&OUC zrFGqV_J|1yIih)QoqHn=fuCo zuIHpntNwdV!dvWmPFgkV_ne&6%74#EM6-Slk>D1)o|C{9yBws@7Q1XS_DRcDZGp6G zpD47RE3^*pl92)#(a6X?p#{=VAgz0(=NakQCA|gGtC8L!CA9wT#uoUc`ul+`?|vY3 zzjv#4zqan~=9UMM^z(s#{L@|90W=fo58iLz0^eu|(BS;QbF`%5CH>>P{wCAAY(d13PUi1CZpdter~FM zabjLpVy1pTQGQZsaY<^CegT~2o1apelUl6rl3Ao5AD@|*SrQ+wS5Wzj!zLFjV^_oq YGzer>F+Y&_z|6?V_<;dN6fpzE0NT1IM*si- literal 0 HcmV?d00001 diff --git a/probuster/modules/dir/__pycache__/__init__.py b/probuster/modules/dir/__pycache__/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/dir/__pycache__/dir.cpython-311.pyc b/probuster/modules/dir/__pycache__/dir.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3c86260fb703976019625ae4eebd09b6baa90742 GIT binary patch literal 13176 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yFwdn!aqASJ3k9#u#0bC{XO$%1ZQ40#iHFK|BnOPW06*tMnO|x8v qZKL3fVUQnEgBA)l{&{rT>Z4#;QbF`%5CH>>P{wCAAY(d13PUi1CZpdter~FM zabjLpVy1pTQGQZsaY<^CegT~2o1apelUl6rl2@!BAD@|*SrQ+wS5Wzj!zLFjV^_oq YGzer>F+Y&_z|6?V_<;dN6fpzE0NfQPO#lD@ literal 0 HcmV?d00001 diff --git a/probuster/modules/dns/__pycache__/__init__.py b/probuster/modules/dns/__pycache__/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/dns/__pycache__/dns.cpython-311.pyc b/probuster/modules/dns/__pycache__/dns.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7726dff1670eb4a7c459313269eebde6db14a32a GIT binary patch literal 9149 zcmcIqYitu)mcHexvdeZku@fgD2@ey8hk1l%!ef9y$ioSAL+B=?Nz%hICaw?%$4=j> zkdRH7XoPk`D^h1#u%vs4I)CV;MWbzL)e>6GNHmX8YoyWI$RkkwinQ`d^UnxaA%5*S zWmow@(sXNw^3A!gbI-lEeD1m5InKX195w<^{r~)n^vg0r{u?X$!)FT5IEIjGBuIix znDjDQZt7(rH-)(&zLy^|_nL<+y%r|TBlKFKj}6;~?7j9(o7gK#{GdY@-CG2;Vx#7S zn#-t_K&{lMxuFItOFzBkP&1_Djv5Ds-U?`0VenQ;mcc5cRt>e4Ms1Z;BsnFwR4$dA z<$G73CB18c+$GZM3GzVK2F*Zgf)=3Opa8Ts$aE5)_3tR4!^f&zTa-#F*Bt0Or}CZ3 zg|OsfRBIp{Ixn3*6QF(iM3{5%$HL#U=RmFzD^cKm>d&B2{tB9I>CI%4M9z4Lf@3pJ zEul?J{#cZ%JwfIxkaNqBHSEiqBg9^aRNy zbCHP%>3ozKC1Y$48D%C2yf?l><+?ik$5qRbW9=PHNBydRRV%D ztEQ-|3TGuH96cL~sFq`$eoCWMHA9mWIj>s%V|~)F5{gEACRG@LF_FNKq%x9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YZFpR^_fgs2yGo+{WUOp& zysSG>)(rt9S553!!9_!D(uIE-09A>v4kcEHX4{kAtpGV5dz&A5oA2(9d*4fV--G+N z41Yr_tC_Pbu3R(M^11)Ie-1uy`$C5m#A>oN@)T!zjwIW*R7pb_OK|b93vDYJd5W8Q zjwIW*R7sQeMlNk6K)8~X377Y=Yu6*!uDd%DEuAsfuDI(&!gT^R>F8%--M?PcRV<@x zy+J6%tE5DgG;6^Cc0UHm4GOU`C_}K!Xvyt;y{s*FX=VrxIw}(4>c^t@k?37$kBeIp z;+B}6;P+8C$m1PZvM7ktoc;mHF9A7;peY=vjX~Z{_?*|m=bwVQURu|>nS8yzc^mtE zaYOS8{+=j8`Q8eyd8PHwbgT**Vlw@&;0rq1~N2Co&B zQ$i3}Sc65OFB*>0z)%2Vjf5gTqIl)2C0X-Om$44?SJ+XM{uhKii;|8Xv&a3dnzy6! z?Z^H84!R!sx#lBXeu{QMHTU?B965GUHD8dz;pnK!we&Q>@AiEc0uW9f3XOqf;ZGhq ze8R7JX{zbkmU|nnh8~&BqV7A3CA=ajIEcxJ=tYu;%S)7fm|OjJ{FYifFc2 zvyO-WUI`89U*-=`8L9{zWjD|i%P`CnQX13K6XJ~N=?PgMTRuG@l`%a%A+@pm^n_Ta zw9lg1c4=UWeIkf6wkiGz_-GfVxF=S}O!bsmuR)(MyW`59xUdpfGMs{ArWgl^mnL9< z%`rVP+dmgvXpLEYQ|84I_Y}B!#S9z;gVfY8pzj7b!jv%JRT*T{P6p7tK`3KzX2)Pj HyHoxTao)jE literal 0 HcmV?d00001 diff --git a/probuster/modules/dns/dns.py b/probuster/modules/dns/dns.py new file mode 100644 index 0000000..17ea0c9 --- /dev/null +++ b/probuster/modules/dns/dns.py @@ -0,0 +1,188 @@ +import dns.resolver +import time as t +from colorama import Fore, Back, Style +import concurrent.futures +from alive_progress import alive_bar +import os + +red = Fore.RED +green = Fore.GREEN +blue = Fore.BLUE +yellow = Fore.YELLOW +cyan = Fore.CYAN +mixed = Fore.RED + Fore.BLUE +white = Fore.WHITE +reset = Style.RESET_ALL +bold = Style.BRIGHT +colors = [red, green, yellow, cyan, blue] + +subdomains_list = [] + +def get_username(): + + try: + + username = os.getlogin() + + except OSError: + + username = os.getenv('USER') or os.getenv('LOGNAME') or os.getenv('USERNAME') or 'Unknown User' + + except Exception as e: + + username = "Unknown User" + + + return username + +def dns_resolver(subdomain, args): + + + try: + + t.sleep(3) + + searches = dns.resolver.resolve(f"{subdomain}", "A") + + if searches: + + + print(f"[{bold}{green}FOUND{reset}]: {bold}{white}{subdomain}{reset}\n") + + if args.output: + + save_subdomain(subdomain, args) + + else: + + if args.verbose: + + print(f"[{red}InValid{reset}]: {subdomain}") + + except Exception as e: + + if args.verbose: + + print(f"[{red}InValid{reset}]: {subdomain}") + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + + +def save_subdomain(subdomain, args): + + + + if os.path.isfile(args.output): + + filename = args.output + + elif os.path.isdir(args.output): + + filename = os.path.join(args.output, f"{args.domain}.subdomains.txt") + + else: + + filename = args.output + + with open(filename, "a") as w: + + w.write(f"{subdomain}\n") + + +def dns_main(args): + + username = get_username() + + if args.wordlist: + + try: + + print(f"""{bold}{white} +======================================================================================== +[!]User : {username} + +[!]Mode : DNS Enumeration + +[!]Doamin : {args.domain} + +[!]Wordlist : {args.wordlist} + +[!]Concurrency : {args.concurrency} + +========================================================================================{reset} + + """) + + with open(args.wordlist, "r") as r: + + read = r.read().splitlines() + + for subdomains in read: + + subdomain = f"{subdomains.strip()}.{args.domain}" + + subdomains_list.append(subdomain) + + dns_thread(subdomains_list, args) + + + + except FileNotFoundError as e: + + print(f"[{red}INFO{reset}]: Wordlist file not found. please check the given {args.wordlist} exists.") + + exit() + + + except Exception as e: + + pass + + elif not args.wordlist: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide a wordlist for Dns Enumeration Mode{reset}") + + exit() + + + +def dns_thread(subdomains, args): + + try: + + + if args.show_progress: + + with alive_bar(len(subdomains), enrich_print=False) as bar: + + with concurrent.futures.ThreadPoolExecutor(max_workers=args.concurrency) as executor: + + futures = {executor.submit(dns_resolver, subdomain, args)for subdomain in subdomains} + + for futures in concurrent.futures.as_completed(futures): + + bar() + + else: + + with concurrent.futures.ThreadPoolExecutor(max_workers=args.concurrency) as executor: + + futures = {executor.submit(dns_resolver, subdomain, args)for subdomain in subdomains} + + concurrent.futures.wait(futures) + + except Exception as e: + + pass + + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() \ No newline at end of file diff --git a/probuster/modules/handler.py b/probuster/modules/handler.py new file mode 100644 index 0000000..2c4f050 --- /dev/null +++ b/probuster/modules/handler.py @@ -0,0 +1,345 @@ +#!/usr/bin/env python3 +from colorama import Fore,Style +import argparse +from bs4 import BeautifulSoup +import time as t +import warnings +import random +import sys +import requests +import asyncio + + + + +warnings.simplefilter('ignore', requests.packages.urllib3.exceptions.InsecureRequestWarning) + +warnings.filterwarnings("ignore") + +red = Fore.RED + +green = Fore.GREEN + +magenta = Fore.MAGENTA + +cyan = Fore.CYAN + +mixed = Fore.RED + Fore.BLUE + +blue = Fore.BLUE + +yellow = Fore.YELLOW + +white = Fore.WHITE + +reset = Style.RESET_ALL + +bold = Style.BRIGHT + +colors = [ green, cyan, blue] + +random_color = random.choice(colors) + + + +try: + + from .cli.cli import cli + from .banner.banner import banner + from .help.help import * + from .version.version import * + from .wordlist.wordlist import * + from .dir.dir import * + from .dns.dns import * + from .vhost.vhost import * + +except ImportError as e: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Import Error occured in Module imports due to: {e}{reset}") + + print(f"[{bold}{blue}INFO{reset}]: {bold}{white}If you are encountering this issue more than a time please report the issues in Probuster Github page.. {reset}") + + exit() + +def doc_file(): + + global file_path + + filename = "probuster_documentation.py" + + path = "/" + + for root,dirs,files in os.walk(path): + + if filename in files: + + file_path = os.path.join(root, filename) + + return file_path + + print(f"[{bold}{red}ALERT{reset}]: Config File not found please kindly install the Probuster with its {filename} file") + +def get_username(): + + try: + + username = os.getlogin() + + except OSError: + + username = os.getenv('USER') or os.getenv('LOGNAME') or os.getenv('USERNAME') or 'Unknown User' + + except Exception as e: + + username = "Unknown User" + + + return username + +def version(): + + latest = check_version() + + version = "v1.0.1" + + if latest == version: + + print(f"[{blue}{bold}Version{reset}]:{bold}{white} Probuster current version {version} ({green}latest{reset}{bold}{white}){reset}") + + else: + + print(f"[{blue}{bold}Version{reset}]: {bold}{white}Probuster current version {version} ({red}outdated{reset}{bold}{white}){reset}") + +def vhost_manager(): + + + try: + global username + + username = get_username() + + if not args.wordlist: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide a wordlist for Virtual enumeration mode{reset}") + exit() + + + + print(f"""{bold}{white} + +======================================================================================== +[!]User : {username} + +[!]Mode : Virtual Host Enumeration + +[!]URL : {args.url} + +[!]Wordlist : {args.wordlist} + +[!]Concurrency : {args.concurrency} + +[!]Time-Out : {args.timeout} + +========================================================================================{reset} +""") + + hosts = common_loader(args.wordlist) + + if len(hosts) > 0: + + vhost_threader(hosts, args.url, args) + + else: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide a good wordlists for Virtual Hosts Enumeration{reset}") + + exit() + + + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + + +def dirbuster_manager(url): + + username = get_username() + + if not args.wordlist: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide a wordlist for Directory or File enumeration mode{reset}") + + exit() + + + print(f"""{bold}{white} + +======================================================================================== +[!]User : {username} + +[!]Mode : Directory or File Enumeration + +[!]URL : {args.url} + +[!]Wordlist : {args.wordlist} + +[!]Concurrency : {args.concurrency} + +[!]Time-Out : {args.timeout} + +========================================================================================{reset} +""") + + hosts = common_loader(args.wordlist) + + + + dirb = [] + + for host in hosts: + + dirb.append(f"{url}{host}") + + + asyncio.run(dirbust_threader(dirb,args)) + + + +def dns_manager(): + + + dns_main(args) + + + + +def handler(): + + banners = banner() + + print(f"{bold}{random_color}{banners}{reset}") + + version() + + global args + + args = cli() + + help() + + if args.mode == "vhost": + + if args.url: + + vhost_manager() + + elif not args.url: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide -u or --url value for Virutal Host enumeration{reset}\n") + + vhost_mode_help() + + exit() + + if args.mode == "dns" : + + if args.domain: + + dns_manager() + + elif not args.domain: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide -d or --domain value for DNS enumeration{reset}") + + dns_mode_help() + + exit() + + if args.mode == "dir" : + + if args.url: + + if args.url.startswith(("https://", "http://")): + + url = args.url if args.url.endswith("/") else f"{args.url}/" + + elif args.url.startswith(("https://", "http://")): + + url = f"http://{args.url}" if args.url.endswith("/") else f"https://{args.url}/" + else: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide a --url or -u value with https:// or http:// protocol{reset}") + + exit() + + dirbuster_manager(url) + + if not args.url: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Please provide -u or --url value for Directory or File enumeration{reset}") + + dir_mode_help() + + exit() + + if args.mode == "doc" : + + file_path = doc_file() + + username = get_username() + + if args.show_doc: + + t.sleep(1) + + print(f"[{bold}{green}INFO{reset}]: {bold}{white}Loading your documentation please wait....{reset}") + + t.sleep(5) + + print(f"[{bold}{green}INFO{reset}]: {bold}{white}Loaded your documentation, thank you for your patience {username} {reset}") + + t.sleep(2) + + os.system(f"streamlit run {file_path}") + + else: + t.sleep(1) + print(f"[{bold}{green}INFO{reset}]: {bold}{white}Loading your documentation please wait....{reset}") + + t.sleep(5) + + print(f"[{bold}{green}INFO{reset}]: {bold}{white}Loaded your documentation, thank you for your patience {username} {reset}") + + t.sleep(2) + + os.system(f"streamlit run {file_path}") + + + + +def help(): + + if args.help and not args.mode: + + mode_help() + + elif args.mode == "vhost" and args.vhost_help: + + vhost_mode_help() + + elif args.mode == "dir" and args.dir_help: + + dir_mode_help() + + elif args.mode == "dns" and args.dns_help: + + dns_mode_help() + + diff --git a/probuster/modules/help/__init__.py b/probuster/modules/help/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/help/__pycache__/__init__.cpython-311.pyc b/probuster/modules/help/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cb8359398978e7764014f84d63b40cc7e61e98b9 GIT binary patch literal 166 zcmZ3^%ge<81e2>;QbF`%5CH>>P{wCAAY(d13PUi1CZpd;^L`s(JCaymkHyEc$Y&Bkqb{rHTiU5*L%K~IsmHg4jFpMR4B(AgM zva`FADCD35M$v;0ITUTtA}D%E5#-X3KccrHy#)k<1__FyJt;_h@u|NzvmZlJlXlpYT)_DXFuV8VTSP;5%H6aGGBaz%r6YvursdF$gE@< zLn}j#>`FFc@XVcD+>Vr?Y5|PTrXMK59&Z%zj6@N zHxlX@p1t#ILLCD2&4fD4NB9`uzm{D&Vh`OlR*u?Pq{r+W(r?*$q|e#I%f`gWKk1c; zY$tco6TFj~v1)I1^21J^mgv@tPrIyEbB zP`b#QJP;}$a6fRGYb@|Qm#un&%{7rWROPG{)VV-)NNeWPU;TD+lqC;D=PzG@@T~`0 zX;R&j8I^5JW;+5kWp=?4ycT$(J+vhi$(E7R~g3xlABnPy$ zo4(?_usn#J?bTEhuLg0=K#h{*$)Vdku+SNsp`BK5RlP7^i^8jhe!zt`SW>|?-&*6= z->|gxig@&`_$_v`<~15t)An!mwwqpuRI3UtoR6B6Ws{^`sS zt1y0beJ@q&FUIw2qrJZURcV%p8FX3;RTX0pWe>$d9df`?60R(YCdlfm*aZq@3HmeOfv z*|tL)4GY$5QO0MOc(&?VYsd-Cta!#J*)^ZDlc}tm#Nie*>nG)kB+B$#yymPrHCBh7 zB9$q*m8KtpUE2#;-CE}iyOp^XZE3d7g-?6kTTRt1SyGQ0=vj*kxzU?7^as7O)U*Yj z&Sj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YL~r#{!9=?H|xsTYOqphqfwQ@W|j+ zHGh)u7N8dET}HQP;jcS^*frdBie0ARlAVXAkY69tp?zcd%E50}Py4zTe9dt0-o5>AA+OH8PZj?;*wxwg_^185x`AW{$98j!1wx~Ta1=#wSmORg<38X9xy7-7JRdX7&qN>N!)7%0d6S~Bc~fE zg(oBVKn_WcGCh(gcwcvH8{k)Y>!5B0GXCDM+N|jXOdjA6FOZ%j4tw~B12fB|lY$>s zRV?cvVi)6ZF;l+RcM!(LEkJb08907*Qp9*&#LIB_!2KOBvw9G;{PNTkPL{Yx6YiuH zOyQ(BbFF){-IRX3kVnrdT?Mix-(b?Be~!r|AAs(fvWXY}DYUFP@{>meK0b{G&j6 zy4yJF|eT+hPgw2W~{8vdM9 z3Bs>U>Gf+C+#4^-8R2rp1b8o#9gEfB+7P24c3i);$-N}xhkjHefP z^bXw=X-s$ZmE(9%^OW?{tKX2P{3DVm4t8{Gzl?*?H+f2Y?-)dor%VX)lvGHbGAVrh zjg*KyCF&wi8Mlf&rACscRPD%9#uZZN=f=_efiEcmnLlvqu-!o=}TLB`vyh9&66 zSI{rH1e}4<$u3ncbh3!GcJi}JmC8aVkJveHc1A8w&sG+$PIpEcxYNV$eLA`GZ%!|C za<#VA#81`cuT?tvhO^0SK|hh}48K{KpTBaWGu-B`>uq%MH!jUxtqA(@Q>VC8S*~2Y zJv~1!4$8JOOLMcAu8RGVkUjI|g}tD#qmbx?6yFo0d{Fp491U*$-w-9#((k?eKO@=6 zW-^(Nj2Ax~{J%476!zWS+|GVd*mrMqJO9b({(GmlM?M)DyW8H*QDNbob3c3iuZ82N ziwcY5_nzAxj$bH@-#b8c`|iGt7sd|0^Wraa9~Qs8J-kzRB{Q~TB*{wVC8CpLDf3;T PlVl}xoap{U24nvX@;F2w literal 0 HcmV?d00001 diff --git a/probuster/modules/help/help.py b/probuster/modules/help/help.py new file mode 100644 index 0000000..5323ee5 --- /dev/null +++ b/probuster/modules/help/help.py @@ -0,0 +1,188 @@ +from colorama import Fore,Back,Style + + +red = Fore.RED + +green = Fore.GREEN + +magenta = Fore.MAGENTA + +cyan = Fore.CYAN + +mixed = Fore.RED + Fore.BLUE + +blue = Fore.BLUE + +yellow = Fore.YELLOW + +white = Fore.WHITE + +reset = Style.RESET_ALL + +bold = Style.BRIGHT + +colors = [ green, cyan, blue] + + + +def mode_help(): + + print(f""" +[{bold}{blue}DESCRIPTION{reset}]: {bold}{white}A Python based Web Application Penetration testing tool for Information Gathering{reset}⚡. + +[{bold}{blue}MODES{reset}]: {bold}{white} + + + - dir : Directory/file enumeration mode + - vhost : Virtual host enumeration mode + - dns : DNS enumeration mode + - doc : Documentation mode for detailed documentation about Probuster + +[{bold}{blue}Usage{reset}]: {bold}{white} + + probuster [commands] + + Available Commands: + + - dir : Execute directory/file enumeration mode. + - vhost : Execute virtual host enumeration mode. + - dns : Execute DNS enumeration mode. + - doc : Access detailed documentation for Probuster. + + Help Commands: + + - dir : probuster dir -dh + - vhost : probuster vhost -vh + - dns : probuster dns -dnh + - doc : probuster doc -shd + + Notes: + + - For each mode, additional options and flags are available. Use 'probuster [mode] -h' for mode-specific help. + + - Ensure you have the latest version of Probuster for optimal performance and access to the latest features. + + - Ensure with your concurrency value for good results. Probuster performance depends on the User system resources. + + For detailed information about each mode and usage examples, use 'probuster doc --show-doc' or probuster doc -shd. + \n {reset}""") + + + exit() + +def dir_mode_help(): + + print(f""" +[{bold}{blue}MODE{reset}]: {bold}{white}Directory and Files Enumerations{reset} + +[{bold}{blue}Usage{reset}]: {bold}{white} + + probuster dir [options] + + Options for dir mode: + + -u, --url : Specify the target domain or ip for Directory/File Enumeration mode + -dh, --dir-help : Show the help message for Directory Enumeration mode + -c, --concurrency : Set Concurrency level for multiple process for Directory or File enumeration (default: 20) + -w, --wordlist : Wordlist or hostname for Directory or File enumeration + -pX. --proxy : Set proxy to pass your request through proxy (ex: 127.0.0.1) + -o, --output : Give a file to save the output for Directory or File enumeration + -v, --verbose : Set Verbose to show output (errors)! + -t, --title : Get title of the found Directory or File + -tO, --timeout : Set timeout for each request (default 10) + -sV. --server : Get the server name of the found Directory or File + -aT, --application-type : Get the application type of the found Directory or File + -wC, --word-count : Get the word count of the found Directory or File + -nc, --no-color : Disables the colorization output for found results + -sp. --show-progress : Enable show prgress mode which will show the progress of the Subprober with progress bar like this ( example: |████████████████████████████████████████| 4000/4000 [100%] in 12.4s (3.23/s) ). + -mc, --match : Matches the status code given by user for example: -mc 200 302 + -ex, --excluded : Excludes the negative codes and gives user desired results for example: -ex 400 404 500 + + Notes: + + - Probuster Concurrency on Dir/file Enumerations depends on your system resources + + - Be careful and gentle with you concurrency value + + - Enable desired output flag options for found directories/files + """) + + exit() + + + +def vhost_mode_help(): + + print(f""" +[{bold}{blue}MODE{reset}]: {bold}{white}Virtual Host Enumerations{reset} + +[{bold}{blue}Usage{reset}]: {bold}{white} + + probuster vhost [options] + + Options for vhost mode: + + -u, --url : Specify the target ip or host for vitrual host enumeration ( Most probably use IP address as the URL argument) + -vh, --vhost-help : Show the help message for Vhost Enumeration mode + -c, --concurrency : Set Concurrency level for multiple process for virtual host enumeration (default: 20) + -w, --wordlist : Wordlist or hostname for brutforce and find virtual host + -pX. --proxy : Set proxy to pass your request through proxy (ex: 127.0.0.1) + -o, --output : Give a file to save the output of virtual host enumeration + -v, --verbose : Set Verbose to show output (errors)! + -t, --title : Get title of the found virtual host + -tO, --timeout : Set timeout for each request (default 10) + -sV. --server : Get the server name of the found virtual host + -aT, --application-type : Get the application type of the found virtual host + -wC, --word-count : Get the word count of the found virtual host + -nc, --no-color : Disables the colorization output for found results + -sp. --show-progress : Enable show prgress mode which will show the progress of the Subprober with progress bar like this ( example: |████████████████████████████████████████| 4000/4000 [100%] in 12.4s (3.23/s) ). + -mc, --match : Matches the status code given by user for example: -mc 200 302 + -ex, --excluded : Excludes the negative codes and gives user desired results for example: -ex 400 404 500 + + + Notes: + + - Virtual host enumeration plays a vital role in expanding your attack vectors + + - Virtual host are hiddent host that you may not able to find through some alive subdomains + + - Probuster Vhost simplifies the Virtual host enumeration which explained here: https://shorturl.at/berBU + + - Probuster will bring new feature for virtual host brutforcing mode in upcoming updates + + + """) + + exit() + + +def dns_mode_help(): + + print(f""" +[{bold}{blue}MODE{reset}]: {bold}{white}DNS Enumerations{reset} + +[{bold}{blue}Usage{reset}]: {bold}{white} + + probuster dns [options] + + Options for dns mode: + + -d, --domain : Domain name for Dns Brutforcing and find subdomains + -dnh, --dns-help : Show the help message for DNS Enumeration mode + -w, --wordlist : Wordlist for brutforcing subdomains + -c, --concurrency : Set Concurrency level for multiple process for DNS enumeration (default: 20) + -v, --verbose : Set Verbose to show output (errors)! + -o, --output : Give a file to save the output of DNS enumeration + -sp. --show-progress : Enable show prgress mode which will show the progress of the Subprober with progress bar like this ( example: |████████████████████████████████████████| 4000/4000 [100%] in 12.4s (3.23/s) ). + + Notes: + + - Be Gentle with your concurrency value for Dns Enumeration + + - If your system is capable to handle high loads with high threads then you can use 1m+ wordlists + + - Enable you progress bar to know about the your dns enumeration process + """) + + exit() + diff --git a/probuster/modules/probuster_documentation.py b/probuster/modules/probuster_documentation.py new file mode 100644 index 0000000..d4b92ef --- /dev/null +++ b/probuster/modules/probuster_documentation.py @@ -0,0 +1,436 @@ +import streamlit as st +import os + + +def get_username(): + + try: + + username = os.getlogin() + + except OSError: + + username = os.getenv('USER') or os.getenv('LOGNAME') or os.getenv('USERNAME') or 'Unknown User' + + except Exception as e: + + username = "Unknown User" + + + return username + +username = get_username() + + + + +st.markdown(f"\n### Welcome to Probuster Documentation {username.upper()} :heart:\n") +st.markdown(f"""--- + +#### Probuster: A Python based Web Application Penetration Tool for Information Gathering :zap:""") +st.markdown(f""" + + +Probuster is a cutting-edge reconnaissance toolkit meticulously crafted for ethical hackers, penetration testers, bug bounty hunters and security professionals seeking unparalleled precision in the art of information gathering. This versatile tool seamlessly integrates four distinctive modes, empowering users with unprecedented insights into network landscapes. + +**DNS Mode: Unleash the Power of Threaded DNS Enumeration** + +In DNS mode, Probuster employs state-of-the-art threaded techniques to perform rapid and comprehensive DNS enumeration. Uncover hidden subdomains, identify potential vulnerabilities, and map the intricate web of domain structures with unparalleled efficiency. Probuster's DNS mode is designed for speed, accuracy, and reliability, ensuring a thorough examination of your target's digital footprint. + +**Dir Mode: Elevate Directory and File Enumeration to New Heights** + +Probuster's Dir mode elevates directory and file enumeration to new heights. Effortlessly scan web applications for hidden gems, vulnerable endpoints, and critical files. With Probuster's intelligent algorithms and intuitive interface, identify potential security loopholes and streamline your penetration testing workflow with unparalleled ease. + +**VHost Mode: Illuminate Virtual Host Structures with Precision** + +Illuminate the virtual host landscape using Probuster's VHost mode. Uncover obscured hosts, validate configurations, and gain a granular understanding of the web infrastructure. Probuster's VHost mode delivers accurate virtual host enumeration, enabling security professionals to assess attack surfaces comprehensively and make informed decisions. + +**Docs Mode: Explore Comprehensive Documentation with Ease** + +Probuster's Docs mode provides a seamlessly integrated documentation hub. Explore comprehensive guides, usage examples, and detailed explanations of each mode. Whether you're a seasoned professional or a beginner, Probuster's documentation ensures that you can harness the full power of the toolkit with confidence. + +**Key Features:** + +- **Threaded Efficiency:** Probuster harnesses the power of multithreading for rapid and parallelized reconnaissance, ensuring swift and effective scans. + +- **User-Friendly Interface:** A sleek and intuitive interface facilitates seamless navigation, making Probuster a tool of choice for both novice and seasoned cybersecurity professionals. + +- **Customizable Settings:** Tailor Probuster to your specific needs with customizable settings, allowing fine-tuning for different environments and scenarios. + +- **Comprehensive Reporting:** Generate detailed reports that encapsulate findings, aiding in concise communication of discovered vulnerabilities and potential risks. + +Probuster is not just a tool, it's a manifestation of excellence in reconnaissance, designed to empower ethical hackers with the precision needed to navigate the complexities of modern cybersecurity landscapes. Elevate your penetration testing capabilities with Probuster and redefine your approach to ethical hacking. + +### New Update: + +**Improved Concurrency:** Probuster is now improved more powerfull in concurrency and this particular improvement made in Directory/File Enumeration Mode which probuster now can run efficiently run in low end system with high concurrency and also improved resulting accuracy. + + +--- +""") + +st.markdown(f""" + +### Main Usage: +```yaml +probuster --help + + ____ ____ __ + / __ \ _____ ____ / __ ) __ __ _____ / /_ ___ _____ + / /_/ / / ___/ / __ \ / __ | / / / / / ___/ / __/ / _ \ / ___/ + / ____/ / / / /_/ / / /_/ / / /_/ / (__ ) / /_ / __/ / / +/_/ /_/ \____/ /_____/ \__,_/ /____/ \__/ \___/ /_/ + + + +Probuster - A Python-based Web Application Penetration Testing Tool for Information Gathering. + +[Version]: Probuster current version v1.0.0 (latest) + + +[DESCRIPTION]: A Python based Web Application Penetration Tool for Information Gathering ⚡ + +[MODES]: + + - dir : Directory/file enumeration mode + - vhost : Virtual host enumeration mode + - dns : DNS enumeration mode + - doc : Documentation mode for detailed documentation about Probuster + +[Usage]: + + probuster [command] + +Available Commands: + + - dir : Execute directory/file enumeration mode. + - vhost : Execute virtual host enumeration mode. + - dns : Execute DNS enumeration mode. + - doc : Access detailed documentation for Probuster. + +Help Commands: + + - dir : probuster dir -dh + - vhost : probuster vhost -vh + - dns : probuster dns -dnh + - doc : probuster doc -shd + +Notes: + + - For each mode, additional options and flags are available. Use 'probuster [mode] -h' for mode-specific help. + + - Ensure you have the latest version of Probuster for optimal performance and access to the latest features. + + - Ensure with your concurrency value for good results. Probuster performance depends on the User system resources. + +For detailed information about each mode and usage examples, use 'probuster doc --show-doc'. + +``` +Probuster's main usage help serves as a gateway to its robust features. Use the command structure `probuster [commands]` to access specialized modes like `dir` for directory enumeration, `vhost` for virtual host analysis, and `dns` for threaded DNS enumeration. Additionally, explore detailed documentation effortlessly with the `doc` mode. Tailor your commands, leverage advanced features, and elevate your web application penetration testing with Probuster. +Lets see some more information about all probuster modes and their usages for more detailed explaination see in below. + +""") + +st.markdown(f""" +--- +### Probuster dir Mode Usage: + +```yaml +probuster dir -dh + + ___ ___ _ +| _ \ _ _ ___ | _ ) _ _ ___| |_ ___ _ _ +| _/| '_|/ _ \| _ \| || |(_-<| _|/ -_)| '_| +|_| |_| \___/|___/ \_,_|/__/ \__|\___||_| + + +[Version]: Probuster current version v1.0.0 (latest) + +[MODE] : Directory and Files Enumerations + +[Usage] : probuster dir [options] + + +Options for dir mode: + + -u, --url : Specify the target domain or ip for Directory/File Enumeration mode + -dh, --dir-help : Show the help message for Directory Enumeration mode + -c, --concurrency : Set Concurrency level for multiple process for Directory or File enumeration (default: 20) + -w, --wordlist : Wordlist or hostname for Directory or File enumeration + -pX. --proxy : Set proxy to pass your request through proxy (ex: 127.0.0.1) + -o, --output : Give a file to save the output for Directory or File enumeration + -v, --verbose : Set Verbose to show output (errors)! + -t, --title : Get title of the found Directory or File + -tO, --timeout : Set timeout for each request (default 10) + -sV. --server : Get the server name of the found Directory or File + -aT, --application-type : Get the application type of the found Directory or File + -wC, --word-count : Get the word count of the found Directory or File + -nc, --no-color : Disables the colorization output for found results + -sp. --show-progress : Enable show prgress mode which will show the progress of the Subprober with progress bar like this ( example: |████████████████████████████████████████| 4000/4000 [100%] in 12.4s (3.23/s) ). + -mc, --match : Matches the status code given by user for example: -mc 200 302 + -ex, --excluded : Excludes the negative codes and gives user desired results for example: -ex 400 404 500 + +Notes: + + - Probuster Concurrency on Dir/file Enumerations depends on your system resources + + - Be careful and gentle with you concurrency value + + - Enable desired output flag options for found directories/files + +``` + +### Dir Mode Examples: + + +```yaml +probuster dir -u http://test.com -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -o dirfile.txt -c 500 -ex 404 -sp --title --server --application-type -wC + + + ___ ___ _ +| _ \ _ _ ___ | _ ) _ _ ___| |_ ___ _ _ +| _/| '_|/ _ \| _ \| || |(_-<| _|/ -_)| '_| +|_| |_| \___/|___/ \_,_|/__/ \__|\___||_| + + +[Version]: Probuster current version v1.0.0 (latest) + + +======================================================================================== +[!]User : {username} + +[!]Mode : Directory or File Enumeration + +[!]URL : http://test.com + +[!]Wordlist : /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt + +[!]Concurrency : 500 + +[!]Time-Out : None + +======================================================================================== + +http://test.com/images [403] [Apache] [text/html] [403:Forbidden] [165] +http://test.com/js [403] [Apache] [text/html] [403:Forbidden] [165] +http://test.com/documentation [403] [Apache] [text/html] [403:Forbidden] [165] +http://test.com/dashboard [200] [Apache] [text/html] [Admin Dashboard] [2080] +http://test.com/javascript [403][Apache] [text/html] [403:Forbidden] [165] +http://test.com/javascript [403] [Apache] [text/html] [403:Forbidden] [165] + +|██████████████████████████████████ | 3598/4000 [80%] in 12.4s (3.23/s) +``` +--- +""") + +st.markdown(f""" + +### Probuster dns Mode Usage: + +```yaml +probuster dns -dnh + + + ___ ___ _ + / _ \ _ __ ___ / __\ _ _ ___ | |_ ___ _ __ + / /_)/| '__| / _ \ /__\//| | | |/ __|| __| / _ \| '__| +/ ___/ | | | (_) |/ \/ \| |_| |\__ \| |_ | __/| | +\/ |_| \___/ \_____/ \__,_||___/ \__| \___||_| + + + +[Version]: Probuster current version v1.0.0 (latest) + +[MODE] : DNS Enumerations + +[Usage] : probuster dns [options] + +[MODE]: DNS Enumerations + +[Usage]: + + probuster dns [options] + + Options for dns mode: + + -d, --domain : Domain name for Dns Brutforcing and find subdomains + -dnh, --dns-help : Show the help message for DNS Enumeration mode + -w, --wordlist : Wordlist for brutforcing subdomains + -c, --concurrency : Set Concurrency level for multiple process for DNS enumeration (default: 20) + -v, --verbose : Set Verbose to show output (errors)! + -o, --output : Give a file to save the output of DNS enumeration + -sp. --show-progress : Enable show prgress mode which will show the progress of the Subprober with progress bar like this ( example: |████████████████████████████████████████| 4000/4000 [100%] in 12.4s (3.23/s) ). + + Notes: + + - Be Gentle with your concurrency value for Dns Enumeration + + - If your system is capable to handle high loads with high threads then you can use 1m+ wordlists + + - Enable you progress bar to know about the your dns enumeration process +``` +---""") + +st.markdown(f""" +### Dns Mode Examples: + +```yaml + +probuster dns -d microsoft.com -c 20 -o test.txt -w ~/wordlists/subdomains/subdomains1.txt -sp + + + ___ ___ _ + / _ \ _ __ ___ / __\ _ _ ___ | |_ ___ _ __ + / /_)/| '__| / _ \ /__\//| | | |/ __|| __| / _ \| '__| +/ ___/ | | | (_) |/ \/ \| |_| |\__ \| |_ | __/| | +\/ |_| \___/ \_____/ \__,_||___/ \__| \___||_| + + + +[Version]: Probuster current version v1.0.0 (latest) +======================================================================================== +[!]User : {username} + +[!]Mode : DNS Enumeration + +[!]Doamin : microsoft.com + +[!]Wordlist : /home/user/wordlists/subdomains/subdomains.txt + +[!]Concurrency : 20 + +======================================================================================== + + +[FOUND]: www.microsoft.com +[FOUND]: s.microsoft.com +[FOUND]: i.microsoft.com +[FOUND]: connect.microsoft.com +[FOUND]: connect.microsoft.com +[FOUND]: assets.microsoft.com +[FOUND]: maps.microsoft.com +[FOUND]: cdn.microsoft.com +[FOUND]: api.microsoft.com +|███ | 3998/400000 [20%] in 12.4s (3.23/s) +``` +---""") + +st.markdown(f""" +### Probuster Vhost Mode Usage: + +```yaml +probuster vhost -vh + + , __ , __ +/|/ \ /|/ \ + |___/ ,_ __ | __/ , _|_ _ ,_ + | / | / \_ | \| | / \_ | |/ / | + | |_/\__/ |(__/ \_/|_/ \/ |_/|__/ |_/ + + + +[Version]: Probuster current version v1.0.0 (latest) + +[MODE]: Virtual Host Enumerations + +[Usage]: + + probuster vhost [options] + + Options for vhost mode: + + -u, --url : Specify the target ip or host for vitrual host enumeration ( Most probably use IP address as the URL argument) + -vh, --vhost-help : Show the help message for Vhost Enumeration mode + -c, --concurrency : Set Concurrency level for multiple process for virtual host enumeration (default: 20) + -w, --wordlist : Wordlist or hostname for brutforce and find virtual host + -pX. --proxy : Set proxy to pass your request through proxy (ex: 127.0.0.1) + -o, --output : Give a file to save the output of virtual host enumeration + -v, --verbose : Set Verbose to show output (errors)! + -t, --title : Get title of the found virtual host + -tO, --timeout : Set timeout for each request (default 10) + -sV. --server : Get the server name of the found virtual host + -aT, --application-type : Get the application type of the found virtual host + -wC, --word-count : Get the word count of the found virtual host + -nc, --no-color : Disables the colorization output for found results + -sp. --show-progress : Enable show prgress mode which will show the progress of the Subprober with progress bar like this ( example: |████████████████████████████████████████| 4000/4000 [100%] in 12.4s (3.23/s) ). + -mc, --match : Matches the status code given by user for example: -mc 200 302 + -ex, --excluded : Excludes the negative codes and gives user desired results for example: -ex 400 404 500 + + Notes: + + - Virtual host enumeration plays a vital role in expanding your attack vectors + + - Virtual host are hiddent host that you may not able to find through some alive subdomains + + - Probuster Vhost simplifies the Virtual host enumeration which explained here: https://shorturl.at/berBU + + - Probuster will bring new feature for virtual host brutforcing mode in upcoming updates + + +``` +---""") + +st.markdown(f""" +### Vhost Mode Examples: + +```yaml +probuster vhost -u https://20.236.44.162 -tO 5 -c 100 -sp -w ~/Desktop/Bugbounty/public/microsoft/all_subdomains.txt --server --title -aT -wC --output output.txt + + , __ , __ +/|/ \ /|/ \ + |___/ ,_ __ | __/ , _|_ _ ,_ + | / | / \_ | \| | / \_ | |/ / | + | |_/\__/ |(__/ \_/|_/ \/ |_/|__/ |_/ + + + +[Version]: Probuster current version v1.0.0 (latest) + +======================================================================================== +[!]User : {username} + +[!]Mode : Virtual Host Enumeration + +[!]URL : https://20.236.44.162 + +[!]Wordlist : /home/user/Desktop/Bugbounty/public/microsoft/all_subdomains.txt + +[!]Concurrency : 100 + +[!]Time-Out : 5 + +======================================================================================== + +academic.microsoft.com [400] [AkamaiGHost] [text/html] [Invalid URL] [13] +Academic.microsoft.com [400] [AkamaiGHost] [text/html] [Invalid URL] [13] +Academy.microsoft.com [400] [AkamaiGHost] [text/html] [Invalid URL] [13] +academy.techcommunity.microsoft.com [400] [AkamaiGHost] [text/html] [Invalid URL] [13] +academy.microsoft.com [400] [AkamaiGHost] [text/html] [Invalid URL] [13] +academy.microsoft.com [400] [AkamaiGHost] [text/html] [Invalid URL] [13] +|█████▌ | 12611/91392 [14%] in 8:27.5 (24.85/s) + +``` +---""") + +st.markdown(f""" + +## Probuster GitHub Repository + +Head over to the [Probuster GitHub repository](https://github.com/sanjai-AK47/Probuster). Dive into the code, contribute your expertise, and share your experiences and feedback. This tool is a collaborative effort, +## About the Author + +I'm D. Sanjai Kumar, the creator of Probuster. I'm passionate about advancing cybersecurity, and Probuster is a testament to that passion. Connect with me on [LinkedIn](https://www.linkedin.com/in/d-sanjai-kumar-109a7227b). + +## Show Your Support + +If Probuster has rocked your ethical hacking world, let's spread the love! Give the repository a star :star: on [GitHub](https://github.com/sanjai-AK47/Probuster). Share it with your network, and let's build a community around this tool. + +Got feedback, suggestions, or want to contribute? Reach out to me directly. Let's keep pushing the boundaries of cybersecurity and innovation together. + +Thank you for choosing Probuster. Now, go out there and hack responsibly! + +--- +**Disclaimer:** +Probuster is designed for ethical hacking and penetration testing. Any use for malicious activities is strictly prohibited. +""") +st.markdown(f"---") \ No newline at end of file diff --git a/probuster/modules/version/__init__.py b/probuster/modules/version/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/version/__pycache__/__init__.cpython-311.pyc b/probuster/modules/version/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4a67e72f58978a26060f26c2944d59dd6a084c7e GIT binary patch literal 169 zcmZ3^%ge<81e2>;QbF`%5CH>>P{wCAAY(d13PUi1CZpd7fK6n^Xd@%k?&H339QEN3eRqF0CzzJmCHh+!?^^9*pYSQ_ynI55<*T) zh+Ib}C8V~kGvRaqab{%8A<8aG&a}U4q6g^xA&yStfJhmSg)&Y{+P1w|GbVq4F5@s=nN1aMwq<&9 zo!ho;I=T++PJP+2?%1}!u-{IVy0=&6*ZDa-D06TOjD1B70=-ri47>CggVV5!32+Y# zyO<_YWy3CK8@v8tZI`#Lb$46ecXvm{fzh`Yb@$#lSipG8!Y6_mbw^s^jQ%})jNMZf z{>y3wR`~^3;XF|XvvOYQ?E zOwXRbvc`XSW^}FBb~s8_(}o@nhrCRt52J`5KVifhoq^9CA%jjC3^&2Djw1F$l4=`73HAxCaTFZw-#usVU z{F+|S@;X|milH#6vmwS2UBu8w&Gz!0$g-9ryQ$chg@T=roTe7Dm=4^&j@~UEE|i!r zxlEEb7k4#u6uky<=zk)qKuZG8RjxAG5(Y%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Cq)tqvS^HMRYX~|n<7Z1((BShsYH~fv|Bmd{14${00aO4 literal 0 HcmV?d00001 diff --git a/probuster/modules/vhost/vhost.py b/probuster/modules/vhost/vhost.py new file mode 100644 index 0000000..fcf4ae5 --- /dev/null +++ b/probuster/modules/vhost/vhost.py @@ -0,0 +1,268 @@ +#!/usr/bin/env python3 +import httpx +import os +from colorama import Fore,Back,Style +import argparse +import concurrent.futures +import requests +from bs4 import BeautifulSoup +import time as t +import warnings +import random +from alive_progress import alive_bar +import sys +from requests.packages.urllib3.exceptions import InsecureRequestWarning +import urllib3 + +warnings.filterwarnings("ignore") + +red = Fore.RED + +green = Fore.GREEN + +magenta = Fore.MAGENTA + +cyan = Fore.CYAN + +mixed = Fore.RED + Fore.BLUE + +blue = Fore.BLUE + +yellow = Fore.YELLOW + +white = Fore.WHITE + +reset = Style.RESET_ALL + +bold = Style.BRIGHT + +colors = [ green, cyan, blue] + +random_color = random.choice(colors) + + +def save(url, args): + + try: + + + + if os.path.isfile(args.output): + + filename = args.output + + elif os.path.isdir(args.output): + + filename = os.path.join(args.output, f"vhost_results.txt") + + else: + + filename = args.output + + + with open(filename, "a") as w: + + w.write(url + '\n') + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + + +def vhost_req(host, url, args): + + try: + + warnings.filterwarnings("ignore", category=ResourceWarning) + + warnings.filterwarnings("ignore", category=ResourceWarning) + + urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) + + requests.packages.urllib3.disable_warnings() + + requests.packages.urllib3.disable_warnings(InsecureRequestWarning) + + proxies = { + + "http": f"{args.proxy}", + "https": f"{args.proxy}" + } if args.proxy else False + + headers={"Host": f"{host}"} + + timeout= args.timeout if args.timeout else 10 + + response = requests.get(url, verify=False, timeout=timeout, proxies=proxies, headers=headers) + + t.sleep(1) + + server1 = response.headers.get("server") + + vhost = response.request.headers.get("Host") + + content_type = response.headers.get("Content-Type") + + if content_type: + + content_type = content_type.split(";")[0].strip() + + + with warnings.catch_warnings(): + + + warnings.filterwarnings("ignore", category=UserWarning, module="bs4") + + soup = BeautifulSoup(response.content, "html.parser") + + text = soup.get_text() + + + word_count = len(text.split()) + + title = soup.title.string + + server = server1 if args.server else "" + + content = content_type if args.application_type else "" + + word = word_count if args.word_count else "" + + title = title if args.title else "" + + if not args.exclude and not args.match: + + if args.no_color: + + result = f"{vhost} [{response.status_code}] [{server}] [{content}] [{title}] [{word}]" + + else: + + result = f"{bold}{white}{vhost} [{bold}{blue}{response.status_code}{reset}] [{bold}{magenta}{server}{reset}] [{bold}{yellow}{content}{reset}] [{bold}{cyan}{title}{reset}] [{cyan}{word}{reset}]" + + + if args.match : + + if str(response.status_code) in args.match: + + if args.no_color: + + result = f"{vhost} [{response.status_code}] [{server}] [{content}] [{title}] [{word}] " + + else: + + result = f"{bold}{white}{vhost} [{bold}{blue}{response.status_code}{reset}] [{bold}{magenta}{server}{reset}] [{bold}{yellow}{content}{reset}] [{bold}{cyan}{title}{reset}] [{cyan}{word}{reset}]" + + + if args.exclude: + + if str(response.status_code) in args.exclude: + + pass + + print(f"{result}\n") + + if args.output : + + save(result, args) + + else: + + pass + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except requests.RequestException as e: + + if args.verbose: + + print(f"[{bold}{red}TIME-OUT{reset}]: {bold}{white}{url}{reset}") + + + except Exception as e: + + pass + + + +def vhost_threader(hosts, url, args) : + + try: + + if args.show_progress: + + with alive_bar(len(hosts), enrich_print=False) as bar: + + try: + + + with concurrent.futures.ThreadPoolExecutor(max_workers=args.concurrency) as executor: + + + futures = [executor.submit(vhost_req,host, url, args) for host in hosts] + + for futures in concurrent.futures.as_completed(futures): + + bar() + + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + + else: + + try: + + with concurrent.futures.ThreadPoolExecutor(max_workers=args.concurrency) as executor: + + + futures = [executor.submit(vhost_req,host, url, args) for host in hosts] + + + concurrent.futures.wait(futures) + + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + + + except KeyboardInterrupt as e: + + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + + exit() + + except Exception as e: + + pass + + + + +warnings.resetwarnings() \ No newline at end of file diff --git a/probuster/modules/wordlist/__init__.py b/probuster/modules/wordlist/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/probuster/modules/wordlist/__pycache__/__init__.cpython-311.pyc b/probuster/modules/wordlist/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e8d2830ede969ca9456874ce8a0aea999165c4c3 GIT binary patch literal 170 zcmZ3^%ge<81e2>;QbF`%5CH>>P{wCAAY(d13PUi1CZpdJ%*n*;ki#atUM#){3oGoEgtD49cYJ6)mSnvB*EeR2gRQ5^9Eg~Yyg%1iXWXoNc-+ef}lH7`=D=1lqWsuvj z0&+VR;;1q37Z2!cl$dY6ErT23Daw03M~lT1@*pfPWyd)7bwLs<032&9L3iVP&QnTK1Q}YBo0g6Xh;xH zHxl3&6XU2JIsURC)PQLBxa5RZuYpC!Upj=oMUKC8+`^LMFPLk~CDE0uBSEw>#`^?{ z``nHcFM@y^e_2as$TP=iT)He_6whlzf>XVE6_~-9k{JX`a@xEaz2OL;m-y3%B-b_nHu?!Kon*%}~OCR1WyR%Q>FX~#@wiOs5xrA^XlImfKQ zERIoXQKk&gbk<>VuVrE;QG%I5iA@})4E3iS_;cW+vZ{76(rXzMw`Ji z#fDR4z)4%#MwzMSVfd_(fnL~f45n~tGlAGL+zB1Z%8}-ND?^%XBYVL}H~YCa4-{t6 zoU!nrN$ln!i((Td>MKnHBTP$KnT(a~F)af_9y$!W9Zvfy{F&v@qP$tro@!OsKAJi@ zujvb#zKF!ozUkH{)wQ?UuD5;Dexv>O>OH?y@0qXOyHLG%BDSbNyBp++XFU8l7puPY zwB_aH_1udps;rraEI$p`Eh1T|SQSrIZLU0ZvjN0y2?YG^)OhuS15iKA8$Z>0&R@SU zJY`pM>@JsxrC>UH>quNIyhCd!)$GQ1DSm;(A2j zx+ZgdQ(5b7=}}#@yk);MvtI*a=14T$S}x6&b7OX=0x|^y`b7iHg>c6@5XJ%)ivbA` zMq}uWL0H%zgyH@20))?ui$xHYN)T2IVYwJeSSg7vhHxoEfylQZnlAUtK1f81-dUy@P4f(F?4y^#S0uO?1H7r8FkG;Wz2$EvmP6#`RcsFhi)pkx9dRbiUw}KiBsp zTF3QmT)0@{PdZSO?tq$wF*$DxnobX7N$bIL5KjC1V)8Xk#pku13))VXPt%FFfqaYb z?bIdSZ1C#al2?23PR&~D!2!>DSmga1p?2}KxHj+^LZP_$+?C)5{T1w57sme;AD1@B z$9m4kaLYbvW}nttFU=eRK8B^)FgIqmD2_*MSrRKF= z3)(IZlK5?bq>+cDA$pKBT;>^~2g!ovLDCRCNEW;R$)wnm@4!)Mh#Zo=E+l)oAN2nV zBxwVzTH_8TS~gQtmT6HVV^F@*l{0)hpok;PVqNnNp4%D0J3Io=hEbuy)o64?F( zPezZ&IulVA%ou$n3;PlIXm_-e$*BfDx47eV$2vMron?U$Vw%_LDeQJcw6Mk7<33% wUTc_==R(^cprUT#(&YHmnfZ!_g^Gq;WHC@Hz)rvypZc2XD>3~zdKjkm4_~$nHvj+t literal 0 HcmV?d00001 diff --git a/probuster/modules/wordlist/wordlist.py b/probuster/modules/wordlist/wordlist.py new file mode 100644 index 0000000..5a8496f --- /dev/null +++ b/probuster/modules/wordlist/wordlist.py @@ -0,0 +1,109 @@ +import os +from colorama import Fore,Back,Style +import random + +red = Fore.RED + +green = Fore.GREEN + +magenta = Fore.MAGENTA + +cyan = Fore.CYAN + +mixed = Fore.RED + Fore.BLUE + +blue = Fore.BLUE + +yellow = Fore.YELLOW + +white = Fore.WHITE + +reset = Style.RESET_ALL + +bold = Style.BRIGHT + +colors = [ green, cyan, blue] + +random_color = random.choice(colors) + + +def common_loader(filename): + + try: + + with open(filename, "r") as data : + + datas = data.read().splitlines() + + return datas + + except FileNotFoundError as e: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Pleach check the {filename} exists..{reset}") + + exit() + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + + +def default_dns() : + + try: + + with open("dns.txt", "r") as data : + + datas = data.read().splitlines() + + return datas + + except FileNotFoundError as e: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Problem in loading inbuilt wordlists please provide a wordlist for DNS Enumeration{reset}") + + exit() + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + + +def default_dirb() : + + try: + + with open("dirb.txt", "r") as data : + + datas = data.read().splitlines() + + return datas + + except FileNotFoundError as e: + + print(f"[{bold}{red}INFO{reset}]: {bold}{white}Problem in loading inbuilt wordlists please provide a wordlist for Directory or Files Enumeration{reset}") + + exit() + + except KeyboardInterrupt as e: + + print(f"\n[{bold}{blue}INFO{reset}]: {bold}{white}Probuster exits..{reset}") + + exit() + + except Exception as e: + + pass + diff --git a/probuster/probuster.py b/probuster/probuster.py new file mode 100644 index 0000000..9a42948 --- /dev/null +++ b/probuster/probuster.py @@ -0,0 +1,15 @@ +from .modules.handler import handler + +def main(): + + try: + + handler() + + except Exception as e: + + exit() + +if __name__ == "__main__": + + main() \ No newline at end of file