PiRepo.sh 16 KB

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