PiRepo.sh 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. #!/bin/bash
  2. cd /home/pi
  3. echo "Updating Your System"
  4. apt-get update -y && apt-get upgrade -y
  5. apt update -y && apt upgrade -y
  6. apt autoremove -y
  7. echo ""
  8. echo "Installing System Dependencies"
  9. echo ""
  10. apt install git docker.io golang python3 python3-pip pipx-y
  11. echo "Removing Unneeded Directories"
  12. rm -rf Videos/
  13. rm -rf Music/
  14. rm -rf Public/
  15. rm -rf Templates/
  16. echo""
  17. echo "Installing Hackery Stuff"
  18. apt install nmap amass recon-ng -y
  19. echo "Creating Repo Folders"
  20. mkdir Repo
  21. cd Repo
  22. mkdir Initial_Access
  23. mkdir Recon
  24. mkdir Delivery
  25. mkdir Command_And_Control
  26. mkdir Situational_Awareness
  27. mkdir Credential_Dumping
  28. mkdir Privilege_Escallation
  29. mkidr Defense_Evasion
  30. mkdir Social_Engineering
  31. mkdir Phishing
  32. mkdir Persistence
  33. mkdir Lateral_Movement
  34. mkdir Exfiltration
  35. mkdir Cloud
  36. mkdir Payload_Development
  37. mkdir Hak5_Implants
  38. mkdir Wireless
  39. echo""
  40. echo "Getting Resources"
  41. sleep 2
  42. echo""
  43. echo "Cloning Recon Resources"
  44. echo""
  45. cd Recon
  46. echo""
  47. echo "Installing RustScan"
  48. echo""
  49. git clone https://github.com/RustScan/RustScan.git
  50. cd RustScan.git
  51. docker build -t rustscan .
  52. cd ../
  53. echo "Installing GitLeaks"
  54. echo ""
  55. git clone https://github.com/zricethezav/gitleaks.git
  56. cd gitleaks/
  57. make build
  58. cd ../
  59. echo ""
  60. cd ../
  61. echo "Installing S3Scanner"
  62. echo ""
  63. git clone https://github.com/sa7mon/S3Scanner.git
  64. cd S3Scanner/
  65. pip3 install -r requirements.txt
  66. python3 -m S3Scanner
  67. cd ../
  68. echo""
  69. echo "Installing Cloud_Enum"
  70. echo""
  71. git clone https://github.com/initstring/cloud_enum.git
  72. cd cloud_enum
  73. pip3 install -r ./requirements.txt
  74. cd ../
  75. echo "Installing Buster"
  76. echo ""
  77. git clone https://github.com/sham00n/buster.git
  78. cd buster/
  79. python3 setup.py install
  80. cd ../
  81. git clone https://github.com/initstring/linkedin2username.git
  82. echo ""
  83. echo "Installing WitnessMe"
  84. python3 -m pip install --user pipx
  85. pipx install witnessme
  86. pipx ensurepath
  87. cd ../
  88. echo ""
  89. echo "Installing Pagodo"
  90. echo ""
  91. git clone https://github.com/opsdisk/pagodo.git
  92. cd pagodo
  93. pip install -r requirements.txt
  94. cd ../
  95. echo ""
  96. echo "Installing AttackSurfaceMapper"
  97. echo""
  98. git clone https://github.com/superhedgy/AttackSurfaceMapper.git
  99. cd AttackSurfaceMapper
  100. python3 -m pip install --no-cache-dir -r requirements.txt
  101. echo ""
  102. git clone https://github.com/smicallef/spiderfoot.git
  103. git clone https://github.com/rbsec/dnscan.git
  104. git clone https://github.com/BishopFox/spoofcheck.git
  105. git clone https://github.com/vysecurity/LinkedInt.git
  106. git clone https://github.com/ChrisTruncer/EyeWitness.git
  107. git clone https://github.com/michenriksen/aquatone.git
  108. git clone https://github.com/nmap/nmap.git
  109. git clone https://github.com/darkoperator/dnsrecon.git
  110. git clone https://github.com/SpiderLabs/social_mapper.git
  111. git clone https://github.com/xillwillx/skiptracer.git
  112. git clone https://github.com/dchrastil/ScrapedIn.git
  113. git clone https://github.com/NickSanzotta/linkScrape.git
  114. git clone https://github.com/ElevenPaths/FOCA
  115. git clone https://github.com/laramies/theHarvester.git
  116. git clone https://github.com/laramies/metagoofil.git
  117. git clone https://github.com/killswitch-GUI/SimplyEmail.git
  118. git clone https://github.com/dxa4481/truffleHog.git
  119. git clone https://github.com/ChrisTruncer/Just-Metadata.git
  120. git clone https://github.com/nccgroup/typofinder.git
  121. git clone https://github.com/thewhiteh4t/pwnedOrNot.git
  122. git clone https://github.com/metac0rtex/GitHarvester.git
  123. echo "Cloning Initial Access Resources"
  124. cd ../Initial_Access
  125. git clone https://github.com/byt3bl33d3r/SprayingToolkit.git
  126. git clone https://github.com/nyxgeek/o365recon.git
  127. git clone https://github.com/blacklanternsecurity/TREVORspray.git
  128. echo "Cloning Payload Development Resources"
  129. cd ../Payload_Development
  130. git clone https://github.com/trustedsec/unicorn.git
  131. git clone https://github.com/nccgroup/demiguise.git
  132. git clone https://github.com/secretsquirrel/the-backdoor-factory.git
  133. git clone https://github.com/govolution/avet.git
  134. git clone https://github.com/threatexpress/metatwin.git
  135. git clone https://github.com/cobbr/PSAmsi.git
  136. git clone https://github.com/3gstudent/Worse-PDF.git
  137. git clone https://github.com/optiv/Ivy.git
  138. git clone https://github.com/phra/PEzor.git
  139. git clone https://github.com/med0x2e/GadgetToJScript.git
  140. git clone https://github.com/optiv/ScareCrow.git
  141. git clone https://github.com/TheWover/donut.git
  142. git clone https://github.com/D00MFist/Mystikal.git
  143. git clone https://github.com/9emin1/charlotte.git
  144. git clone https://github.com/xforcered/InvisibilityCloak.git
  145. git clone https://github.com/FuzzySecurity/Dendrobate.git
  146. git clone https://github.com/BC-SECURITY/Offensive-VBA-and-XLS-Entanglement.git
  147. git clone https://github.com/aaaddress1/xlsGen.git
  148. git clone https://github.com/bats3c/darkarmour.git
  149. git clone https://github.com/outflanknl/InlineWhispers.git
  150. git clone https://github.com/outflanknl/EvilClippy.git
  151. git clone https://github.com/fireeye/OfficePurge.git
  152. git clone https://github.com/rasta-mouse/ThreatCheck.git
  153. git clone https://github.com/gloxec/CrossC2.git
  154. git clone https://github.com/sensepost/ruler.git
  155. git clone https://github.com/fireeye/DueDLLigence.git
  156. git clone https://github.com/rasta-mouse/RuralBishop.git
  157. git clone https://github.com/rasta-mouse/TikiTorch.git
  158. git clone https://github.com/mdsecactivebreach/SharpShooter.git
  159. git clone https://github.com/cobbr/SharpSploit.git
  160. git clone https://github.com/rvrsh3ll/MSBuildAPICaller.git
  161. git clone https://github.com/sevagas/macro_pack.git
  162. git clone https://github.com/klezVirus/inceptor.git
  163. git clone https://github.com/0xsp-SRD/mortar.git
  164. git clone https://github.com/Mr-Un1k0d3r/RedTeamCCode.git
  165. echo "Cloning Delivery Resources"
  166. cd ../Delivery
  167. git clone https://github.com/mdsecactivebreach/o365-attack-toolkit.git
  168. git clone https://github.com/beefproject/beef.git
  169. echo "Cloning Your C2 Resources"
  170. cd ../Command_And_Control
  171. echo "Cloning C2 Frameworks"
  172. mkdir C2_Frameworks
  173. cd C2_Frameworks
  174. git clone https://github.com/BC-SECURITY/Empire.git
  175. git clone https://github.com/nettitude/PoshC2.git
  176. git clone https://github.com/zerosum0x0/koadic.git
  177. git clone https://github.com/Ne0nd0g/merlin.git
  178. git clone https://github.com/its-a-feature/Mythic.git
  179. git clone https://github.com/cobbr/Covenant.git
  180. git clone https://github.com/bats3c/shad0w.git
  181. git clone https://github.com/BishopFox/sliver.git
  182. git clone https://github.com/byt3bl33d3r/SILENTTRINITY.git
  183. git clone https://github.com/n1nj4sec/pupy.git
  184. sudo apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev subversion git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev libyaml-dev nmap -y
  185. sudo curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
  186. echo "Cloning Staging Resources"
  187. cd ../
  188. mkdir Staging
  189. cd Staging
  190. git clone https://github.com/kgretzky/pwndrop.git
  191. git clone https://github.com/FortyNorthSecurity/C2concealer.git
  192. git clone https://github.com/rvrsh3ll/FindFrontableDomains.git
  193. git clone https://github.com/threatexpress/domainhunter.git
  194. git clone https://github.com/mgeeky/RedWarden.git
  195. git clone https://github.com/Flangvik/AzureC2Relay.git
  196. git clone https://github.com/FSecureLABS/C3.git
  197. git clone https://github.com/mdsecactivebreach/Chameleon.git
  198. git clone https://github.com/0xZDH/redirect.rules.git
  199. echo "Cloning Log Aggregation Resources"
  200. cd ../
  201. mkdir Log_Aggregation
  202. cd Log_Aggregation
  203. git clone https://github.com/outflanknl/RedELK.git
  204. git clone https://github.com/SecurityRiskAdvisors/RedTeamSIEM.git
  205. echo "Cloning Situational Awareness Resources"
  206. cd /home/pi/Repo/Situational_Awareness
  207. mkdir Host_Situtational_Awareness
  208. cd Host_Situational_Awareness
  209. git clone https://github.com/EncodeGroup/AggressiveProxy.git
  210. git clone https://github.com/EncodeGroup/Gopher.git
  211. git clone https://github.com/PwnDexter/SharpEDRChecker.git
  212. git clone https://github.com/trustedsec/CS-Situational-Awareness-BOF.git
  213. git clone https://github.com/GhostPack/Seatbelt.git
  214. git clone https://github.com/vivami/SauronEye.git
  215. git clone https://github.com/mitchmoser/SharpShares.git
  216. git clone https://github.com/Flangvik/SharpAppLocker/.git
  217. git clone https://github.com/rvrsh3ll/SharpPrinter.git
  218. cd ../
  219. mkdir Domain_Situational_Awareness
  220. cd Domain_Situational_Awareness
  221. git clone https://github.com/FuzzySecurity/StandIn.git
  222. git clone https://github.com/outflanknl/Recon-AD.git
  223. git clone https://github.com/BloodHoundAD/BloodHound.git
  224. git clone https://github.com/GhostPack/PSPKIAudit.git
  225. git clone https://github.com/tevora-threat/SharpView.git
  226. git clone https://github.com/GhostPack/Rubeus.git
  227. git clone https://github.com/l0ss/Grouper.git
  228. git clone https://github.com/improsec/ImproHound.git
  229. git clone https://github.com/adrecon/ADRecon.git
  230. git clone https://github.com/bats3c/ADCSPwn.git
  231. cd /home/pi/Repo/Credential_Dumping/
  232. git clone https://github.com/gentilkiwi/mimikatz.git
  233. git clone https://github.com/outflanknl/Dumpert.git
  234. git clone https://github.com/swisskyrepo/SharpLAPS.git
  235. git clone https://github.com/GhostPack/SharpDPAPI.git
  236. git clone https://github.com/GhostPack/KeeThief.git
  237. git clone https://github.com/GhostPack/SafetyKatz.git
  238. git clone https://github.com/Barbarisch/forkatz.git
  239. git clone https://github.com/RedCursorSecurityConsulting/PPLKiller.git
  240. git clone https://github.com/AlessandroZ/LaZagne.git
  241. git clone https://github.com/hoangprod/AndrewSpecial.git
  242. git clone https://github.com/outflanknl/Net-GPPPassword.git
  243. git clone https://github.com/djhohnstein/SharpChromium.git
  244. git clone https://github.com/rxwx/chlonium.git
  245. git clone https://github.com/chrismaddalena/SharpCloud.git
  246. git clone https://github.com/skelsec/pypykatz.git
  247. git clone https://github.com/helpsystems/nanodump.git
  248. echo "Cloning Privilege Escallation Resources"
  249. cd /home/pi/Repo/Privilege_Escallation
  250. git clone https://github.com/rsmudge/ElevateKit.git
  251. git clone https://github.com/rasta-mouse/Watson.git
  252. git clone https://github.com/GhostPack/SharpUp.git
  253. git clone https://github.com/hlldz/dazzleUP.git
  254. git clone https://github.com/carlospolop/PEASS-ng.git
  255. git clone https://github.com/CCob/SweetPotato.git
  256. git clone https://github.com/S3cur3Th1sSh1t/MultiPotato.git
  257. echo "Cloning Defense Evasion Resources"
  258. cd /home/pi/Repo/Defense_Evasion
  259. git clone https://github.com/hlldz/RefleXXion.git
  260. git clone https://github.com/wavestone-cdt/EDRSandblast.git
  261. git clone https://github.com/APTortellini/unDefender.git
  262. git clone https://github.com/Yaxser/Backstab.git
  263. git clone https://github.com/boku7/spawn.git
  264. git clone https://github.com/CCob/BOF.NET.git
  265. git clone https://github.com/Flangvik/NetLoader.git
  266. git clone https://github.com/outflanknl/FindObjects-BOF.git
  267. git clone https://github.com/GetRektBoy724/SharpUnhooker.git
  268. git clone https://github.com/bats3c/EvtMute.git
  269. git clone https://github.com/xforcered/InlineExecute-Assembly.git
  270. git clone https://github.com/hlldz/Phant0m.git
  271. git clone https://github.com/CCob/SharpBlock.git
  272. git clone https://github.com/Kharos102/NtdllUnpatcher.git
  273. git clone https://github.com/bats3c/DarkLoadLibrary.git
  274. git clone https://github.com/Soledge/BlockEtw.git
  275. git clone https://github.com/mdsecactivebreach/firewalker.git
  276. git clone https://github.com/Cerbersec/KillDefenderBOF.git
  277. echo "Cloning Social Engineering Resources"
  278. cd /home/pi/Social_Engineering
  279. git clone https://github.com/trustedsec/social-engineer-toolkit.git
  280. git clone https://github.com/bhdresh/SocialEngineeringPayloads.git
  281. echo "Cloning Phishing Resources"
  282. cd /home/pi/Phishing
  283. git clone https://github.com/ryhanson/phishery.git
  284. git clone https://github.com/kgretzky/evilginx2.git
  285. git clone https://github.com/fireeye/PwnAuth.git
  286. git clone https://github.com/drk1wi/Modlishka.git
  287. git clone https://github.com/securestate/king-phisher.git
  288. git clone https://github.com/Raikia/FiercePhish.git
  289. git clone https://github.com/fireeye/ReelPhish.git
  290. git clone https://github.com/gophish/gophish.git
  291. git clone https://github.com/ustayready/CredSniper.git
  292. git clone https://github.com/pentestgeek/phishing-frenzy.git
  293. git clone https://github.com/L4bF0x/PhishingPretexts.git
  294. echo "Cloning Persistence Resources"
  295. cd /home/pi/Repo/Persistence
  296. git clone https://github.com/0xthirteen/SharpStay.git
  297. git clone https://github.com/fireeye/SharPersist.git
  298. git clone https://github.com/outflanknl/SharpHide.git
  299. git clone https://github.com/Ben0xA/DoUCMe.git
  300. git clone https://github.com/nccgroup/ABPTTS.git
  301. git clone https://github.com/blackarrowsec/pivotnacci.git
  302. git clone https://github.com/sensepost/reGeorg.git
  303. git clone https://github.com/HarmJ0y/DAMP.git
  304. git clone https://github.com/0x09AL/IIS-Raid.git
  305. git clone https://github.com/antonioCoco/SharPyShell.git
  306. echo "Cloning Lateral Movement Resources"
  307. cd /home/pi/Repo/Lateral_Movement
  308. git clone https://github.com/RiccardoAncarani/LiquidSnake.git
  309. git clone https://github.com/NetSPI/PowerUpSQL.git
  310. git clone https://github.com/0xthirteen/SharpRDP.git
  311. git clone https://github.com/0xthirteen/MoveKit.git
  312. git clone https://github.com/juliourena/SharpNoPSExec.git
  313. git clone https://github.com/lgandx/Responder.git
  314. git clone https://github.com/dirkjanm/mitm6.git
  315. git clone https://github.com/SecureAuthCorp/impacket.git
  316. git clone https://github.com/mdsecactivebreach/Farmer.git
  317. git clone https://github.com/FortyNorthSecurity/CIMplant.git
  318. git clone https://github.com/Mr-Un1k0d3r/PowerLessShell.git
  319. git clone https://github.com/FSecureLABS/SharpGPOAbuse.git
  320. git clone https://github.com/ropnop/kerbrute.git
  321. git clone https://github.com/blackarrowsec/mssqlproxy.git
  322. git clone https://github.com/Kevin-Robertson/Invoke-TheHash.git
  323. git clone https://github.com/Kevin-Robertson/InveighZero.git
  324. git clone https://github.com/jnqpblc/SharpSpray/git
  325. git clone https://github.com/byt3bl33d3r/CrackMapExec.git
  326. git clone https://github.com/pkb1s/SharpAllowedToAct.git
  327. git clone https://github.com/bohops/SharpRDPHijack.git
  328. git clone https://github.com/klezVirus/CheeseTools.git
  329. git clone https://github.com/iomoath/SharpSpray.git
  330. git clone https://github.com/BloodHoundAD/SharpHound.git
  331. git clone https://github.com/PowerShellMafia/PowerSploit.git
  332. git clone https://github.com/NetSPI/PowerUpSQL.git
  333. git clone https://github.com/DanMcInerney/icebreaker.git
  334. git clone https://github.com/JavelinNetworks/HoneypotBuster.git
  335. echo "Cloning Exfiltration Resources"
  336. cd /home/pi/Repo/Exfiltration
  337. git clone https://github.com/Flangvik/SharpExfiltrate.git
  338. git clone https://github.com/Arno0x/DNSExfiltrator.git
  339. git clone https://github.com/FortyNorthSecurity/Egress-Assess.git
  340. echo "Cloning Cloud Resources"
  341. cd /home/pi/Repo/Cloud
  342. mkdir AWS
  343. git clone https://github.com/RhinoSecurityLabs/pacu.git
  344. git clone https://github.com/duo-labs/cloudmapper.git
  345. git clone https://github.com/andresriancho/enumerate-iam.git
  346. git clone https://github.com/jordanpotti/AWSBucketDump.git
  347. cd ../
  348. mkdir Azure
  349. cd Azure
  350. git clone https://github.com/fox-it/adconnectdump.git
  351. git clone https://github.com/Azure/Stormspotter.git
  352. git clone https://github.com/dirkjanm/ROADtools.git
  353. git clone https://github.com/NetSPI/MicroBurst.git
  354. git clone https://github.com/Gerenios/AADInternals.git
  355. echo "Cloning Hak5 Implant Resources"
  356. cd /home/pi/Repo/Hak5_Implants
  357. git clone https://github.com/hak5/omg-payloads.git
  358. git clone https://github.com/hak5/bashbunny-payloads.git
  359. git clone https://github.com/hak5/usbrubberducky-payloads.git
  360. git clone https://github.com/hak5/pineapple-community-packages.git
  361. git clone https://github.com/hak5/pineapple-modules.git
  362. git clone https://github.com/hak5/mk7-docs.git
  363. git clone https://github.com/hak5/keycroc-payloads.git
  364. git clone https://github.com/hak5/sharkjack-payloads.git
  365. git clone https://github.com/hak5/lanturtle-modules.git
  366. git clone https://github.com/hak5/hak5-docs.git
  367. git clone https://github.com/hak5/packetsquirrel-payloads.git
  368. git clone https://github.com/hak5/nano-tetra-modules.git
  369. git clone https://github.com/hak5/signalowl-payloads.git
  370. git clone https://github.com/hak5/plunderbug-scripts.git
  371. echo "Cloning Wireless Resources"
  372. cd /home/pi/Repo/Wireless
  373. git clone https://github.com/derv82/wifite2.git
  374. git clone https://github.com/wifiphisher/wifiphisher.git
  375. git clone https://github.com/sensepost/mana.git
  376. git clone https://github.com/joswr1ght/cowpatty.git
  377. git clone https://github.com/athanstan/EvilTwin_AP_CaptivePortal.git