PiRepo.sh 15 KB

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