PiRepo.sh 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  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/NickSanzotta/linkScrape.git
  73. git clone https://github.com/ElevenPaths/FOCA
  74. git clone https://github.com/laramies/theHarvester.git
  75. git clone https://github.com/laramies/metagoofil.git
  76. git clone https://github.com/killswitch-GUI/SimplyEmail.git
  77. git clone https://github.com/dxa4481/truffleHog.git
  78. git clone https://github.com/ChrisTruncer/Just-Metadata.git
  79. git clone https://github.com/nccgroup/typofinder.git
  80. git clone https://github.com/thewhiteh4t/pwnedOrNot.git
  81. git clone https://github.com/metac0rtex/GitHarvester.git
  82. echo ""
  83. echo "Cloning Initial Access Resources"
  84. cd ../Initial_Access
  85. git clone https://github.com/byt3bl33d3r/SprayingToolkit.git
  86. git clone https://github.com/nyxgeek/o365recon.git
  87. git clone https://github.com/blacklanternsecurity/TREVORspray.git
  88. echo""
  89. echo "Cloning Payload Development Resources"
  90. echo""
  91. cd ../Payload_Development
  92. echo""
  93. git clone https://github.com/trustedsec/unicorn.git
  94. git clone https://github.com/nccgroup/demiguise.git
  95. git clone https://github.com/secretsquirrel/the-backdoor-factory.git
  96. git clone https://github.com/govolution/avet.git
  97. git clone https://github.com/threatexpress/metatwin.git
  98. git clone https://github.com/cobbr/PSAmsi.git
  99. git clone https://github.com/3gstudent/Worse-PDF.git
  100. git clone https://github.com/optiv/Ivy.git
  101. git clone https://github.com/phra/PEzor.git
  102. git clone https://github.com/med0x2e/GadgetToJScript.git
  103. git clone https://github.com/optiv/ScareCrow.git
  104. git clone https://github.com/TheWover/donut.git
  105. git clone https://github.com/D00MFist/Mystikal.git
  106. git clone https://github.com/9emin1/charlotte.git
  107. git clone https://github.com/xforcered/InvisibilityCloak.git
  108. git clone https://github.com/FuzzySecurity/Dendrobate.git
  109. git clone https://github.com/BC-SECURITY/Offensive-VBA-and-XLS-Entanglement.git
  110. git clone https://github.com/aaaddress1/xlsGen.git
  111. git clone https://github.com/bats3c/darkarmour.git
  112. git clone https://github.com/outflanknl/InlineWhispers.git
  113. git clone https://github.com/outflanknl/EvilClippy.git
  114. git clone https://github.com/fireeye/OfficePurge.git
  115. git clone https://github.com/rasta-mouse/ThreatCheck.git
  116. git clone https://github.com/gloxec/CrossC2.git
  117. git clone https://github.com/sensepost/ruler.git
  118. git clone https://github.com/fireeye/DueDLLigence.git
  119. git clone https://github.com/rasta-mouse/RuralBishop.git
  120. git clone https://github.com/rasta-mouse/TikiTorch.git
  121. git clone https://github.com/mdsecactivebreach/SharpShooter.git
  122. git clone https://github.com/cobbr/SharpSploit.git
  123. git clone https://github.com/rvrsh3ll/MSBuildAPICaller.git
  124. git clone https://github.com/sevagas/macro_pack.git
  125. git clone https://github.com/klezVirus/inceptor.git
  126. git clone https://github.com/0xsp-SRD/mortar.git
  127. git clone https://github.com/Mr-Un1k0d3r/RedTeamCCode.git
  128. echo""
  129. echo "Cloning Delivery Resources"
  130. echo""
  131. cd ../Delivery
  132. git clone https://github.com/mdsecactivebreach/o365-attack-toolkit.git
  133. git clone https://github.com/beefproject/beef.git
  134. echo""
  135. echo "Cloning Your C2 Resources"
  136. echo""
  137. cd ../Command_And_Control
  138. echo""
  139. echo "Cloning C2 Frameworks"
  140. echo""
  141. mkdir C2_Frameworks
  142. cd C2_Frameworks
  143. git clone https://github.com/BC-SECURITY/Empire.git
  144. git clone https://github.com/nettitude/PoshC2.git
  145. git clone https://github.com/zerosum0x0/koadic.git
  146. git clone https://github.com/Ne0nd0g/merlin.git
  147. git clone https://github.com/its-a-feature/Mythic.git
  148. git clone https://github.com/cobbr/Covenant.git
  149. git clone https://github.com/bats3c/shad0w.git
  150. git clone https://github.com/BishopFox/sliver.git
  151. git clone https://github.com/byt3bl33d3r/SILENTTRINITY.git
  152. git clone https://github.com/n1nj4sec/pupy.git
  153. 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
  154. sudo curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
  155. echo""
  156. echo "Cloning Staging Resources"
  157. echo""
  158. cd ../
  159. mkdir Staging
  160. cd Staging
  161. echo""
  162. git clone https://github.com/kgretzky/pwndrop.git
  163. git clone https://github.com/FortyNorthSecurity/C2concealer.git
  164. git clone https://github.com/rvrsh3ll/FindFrontableDomains.git
  165. git clone https://github.com/threatexpress/domainhunter.git
  166. git clone https://github.com/mgeeky/RedWarden.git
  167. git clone https://github.com/Flangvik/AzureC2Relay.git
  168. git clone https://github.com/FSecureLABS/C3.git
  169. git clone https://github.com/mdsecactivebreach/Chameleon.git
  170. git clone https://github.com/0xZDH/redirect.rules.git
  171. echo""
  172. echo "Cloning Log Aggregation Resources"
  173. echo""
  174. cd ../
  175. mkdir Log_Aggregation
  176. cd Log_Aggregation
  177. echo""
  178. git clone https://github.com/outflanknl/RedELK.git
  179. git clone https://github.com/SecurityRiskAdvisors/RedTeamSIEM.git
  180. echo""
  181. echo "Cloning Situational Awareness Resources"
  182. echo""
  183. cd /home/pi/Repo/Situational_Awareness
  184. mkdir Host_Situtational_Awareness
  185. cd Host_Situational_Awareness
  186. echo""
  187. git clone https://github.com/EncodeGroup/AggressiveProxy.git
  188. git clone https://github.com/EncodeGroup/Gopher.git
  189. git clone https://github.com/PwnDexter/SharpEDRChecker.git
  190. git clone https://github.com/trustedsec/CS-Situational-Awareness-BOF.git
  191. git clone https://github.com/GhostPack/Seatbelt.git
  192. git clone https://github.com/vivami/SauronEye.git
  193. git clone https://github.com/mitchmoser/SharpShares.git
  194. git clone https://github.com/Flangvik/SharpAppLocker/.git
  195. git clone https://github.com/rvrsh3ll/SharpPrinter.git
  196. echo""
  197. cd ../
  198. mkdir Domain_Situational_Awareness
  199. cd Domain_Situational_Awareness
  200. echo""
  201. git clone https://github.com/FuzzySecurity/StandIn.git
  202. git clone https://github.com/outflanknl/Recon-AD.git
  203. git clone https://github.com/BloodHoundAD/BloodHound.git
  204. git clone https://github.com/GhostPack/PSPKIAudit.git
  205. git clone https://github.com/tevora-threat/SharpView.git
  206. git clone https://github.com/GhostPack/Rubeus.git
  207. git clone https://github.com/l0ss/Grouper.git
  208. git clone https://github.com/improsec/ImproHound.git
  209. git clone https://github.com/adrecon/ADRecon.git
  210. git clone https://github.com/bats3c/ADCSPwn.git
  211. echo ""
  212. cd /home/pi/Repo/Credential_Dumping/
  213. echo""
  214. git clone https://github.com/gentilkiwi/mimikatz.git
  215. git clone https://github.com/outflanknl/Dumpert.git
  216. git clone https://github.com/swisskyrepo/SharpLAPS.git
  217. git clone https://github.com/GhostPack/SharpDPAPI.git
  218. git clone https://github.com/GhostPack/KeeThief.git
  219. git clone https://github.com/GhostPack/SafetyKatz.git
  220. git clone https://github.com/Barbarisch/forkatz.git
  221. git clone https://github.com/RedCursorSecurityConsulting/PPLKiller.git
  222. git clone https://github.com/AlessandroZ/LaZagne.git
  223. git clone https://github.com/hoangprod/AndrewSpecial.git
  224. git clone https://github.com/outflanknl/Net-GPPPassword.git
  225. git clone https://github.com/djhohnstein/SharpChromium.git
  226. git clone https://github.com/rxwx/chlonium.git
  227. git clone https://github.com/chrismaddalena/SharpCloud.git
  228. git clone https://github.com/skelsec/pypykatz.git
  229. git clone https://github.com/helpsystems/nanodump.git
  230. echo ""
  231. echo "Cloning Privilege Escallation Resources"
  232. echo ""
  233. cd /home/pi/Repo/Privilege_Escallation
  234. echo ""
  235. git clone https://github.com/rsmudge/ElevateKit.git
  236. git clone https://github.com/rasta-mouse/Watson.git
  237. git clone https://github.com/GhostPack/SharpUp.git
  238. git clone https://github.com/hlldz/dazzleUP.git
  239. git clone https://github.com/carlospolop/PEASS-ng.git
  240. git clone https://github.com/CCob/SweetPotato.git
  241. git clone https://github.com/S3cur3Th1sSh1t/MultiPotato.git
  242. echo ""
  243. echo "Cloning Defense Evasion Resources"
  244. echo ""
  245. cd /home/pi/Repo/Defense_Evasion
  246. echo ""
  247. git clone https://github.com/hlldz/RefleXXion.git
  248. git clone https://github.com/wavestone-cdt/EDRSandblast.git
  249. git clone https://github.com/APTortellini/unDefender.git
  250. git clone https://github.com/Yaxser/Backstab.git
  251. git clone https://github.com/boku7/spawn.git
  252. git clone https://github.com/CCob/BOF.NET.git
  253. git clone https://github.com/Flangvik/NetLoader.git
  254. git clone https://github.com/outflanknl/FindObjects-BOF.git
  255. git clone https://github.com/GetRektBoy724/SharpUnhooker.git
  256. git clone https://github.com/bats3c/EvtMute.git
  257. git clone https://github.com/xforcered/InlineExecute-Assembly.git
  258. git clone https://github.com/hlldz/Phant0m.git
  259. git clone https://github.com/CCob/SharpBlock.git
  260. git clone https://github.com/Kharos102/NtdllUnpatcher.git
  261. git clone https://github.com/bats3c/DarkLoadLibrary.git
  262. git clone https://github.com/Soledge/BlockEtw.git
  263. git clone https://github.com/mdsecactivebreach/firewalker.git
  264. git clone https://github.com/Cerbersec/KillDefenderBOF.git
  265. echo ""
  266. echo "Cloning Social Engineering Resources"
  267. echo ""
  268. cd /home/pi/Social_Engineering
  269. git clone https://github.com/trustedsec/social-engineer-toolkit.git
  270. git clone https://github.com/bhdresh/SocialEngineeringPayloads.git
  271. echo ""
  272. echo "Cloning Phishing Resources"
  273. echo ""
  274. cd /home/pi/Phishing
  275. git clone https://github.com/ryhanson/phishery.git
  276. git clone https://github.com/kgretzky/evilginx2.git
  277. git clone https://github.com/fireeye/PwnAuth.git
  278. git clone https://github.com/drk1wi/Modlishka.git
  279. git clone https://github.com/securestate/king-phisher.git
  280. git clone https://github.com/Raikia/FiercePhish.git
  281. git clone https://github.com/fireeye/ReelPhish.git
  282. git clone https://github.com/gophish/gophish.git
  283. git clone https://github.com/ustayready/CredSniper.git
  284. git clone https://github.com/pentestgeek/phishing-frenzy.git
  285. git clone https://github.com/L4bF0x/PhishingPretexts.git
  286. echo ""
  287. echo "Cloning Persistence Resources"
  288. echo ""
  289. cd /home/pi/Repo/Persistence
  290. echo ""
  291. git clone https://github.com/0xthirteen/SharpStay.git
  292. git clone https://github.com/fireeye/SharPersist.git
  293. git clone https://github.com/outflanknl/SharpHide.git
  294. git clone https://github.com/Ben0xA/DoUCMe.git
  295. git clone https://github.com/nccgroup/ABPTTS.git
  296. git clone https://github.com/blackarrowsec/pivotnacci.git
  297. git clone https://github.com/sensepost/reGeorg.git
  298. git clone https://github.com/HarmJ0y/DAMP.git
  299. git clone https://github.com/0x09AL/IIS-Raid.git
  300. git clone https://github.com/antonioCoco/SharPyShell.git
  301. echo ""
  302. echo "Cloning Lateral Movement Resources"
  303. echo ""
  304. cd /home/pi/Repo/Lateral_Movement
  305. echo ""
  306. git clone https://github.com/RiccardoAncarani/LiquidSnake.git
  307. git clone https://github.com/NetSPI/PowerUpSQL.git
  308. git clone https://github.com/0xthirteen/SharpRDP.git
  309. git clone https://github.com/0xthirteen/MoveKit.git
  310. git clone https://github.com/juliourena/SharpNoPSExec.git
  311. git clone https://github.com/lgandx/Responder.git
  312. git clone https://github.com/dirkjanm/mitm6.git
  313. git clone https://github.com/SecureAuthCorp/impacket.git
  314. git clone https://github.com/mdsecactivebreach/Farmer.git
  315. git clone https://github.com/FortyNorthSecurity/CIMplant.git
  316. git clone https://github.com/Mr-Un1k0d3r/PowerLessShell.git
  317. git clone https://github.com/FSecureLABS/SharpGPOAbuse.git
  318. git clone https://github.com/ropnop/kerbrute.git
  319. git clone https://github.com/blackarrowsec/mssqlproxy.git
  320. git clone https://github.com/Kevin-Robertson/Invoke-TheHash.git
  321. git clone https://github.com/Kevin-Robertson/InveighZero.git
  322. git clone https://github.com/jnqpblc/SharpSpray/git
  323. git clone https://github.com/byt3bl33d3r/CrackMapExec.git
  324. git clone https://github.com/pkb1s/SharpAllowedToAct.git
  325. git clone https://github.com/bohops/SharpRDPHijack.git
  326. git clone https://github.com/klezVirus/CheeseTools.git
  327. git clone https://github.com/iomoath/SharpSpray.git
  328. git clone https://github.com/BloodHoundAD/SharpHound.git
  329. git clone https://github.com/PowerShellMafia/PowerSploit.git
  330. git clone https://github.com/NetSPI/PowerUpSQL.git
  331. git clone https://github.com/DanMcInerney/icebreaker.git
  332. git clone https://github.com/JavelinNetworks/HoneypotBuster.git
  333. echo "Cloning Exfiltration Resources"
  334. echo ""
  335. cd /home/pi/Repo/Exfiltration
  336. echo ""
  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 ""
  341. echo "Cloning Cloud Resources"
  342. echo ""
  343. cd /home/pi/Repo/Cloud
  344. echo ""
  345. mkdir AWS
  346. git clone https://github.com/RhinoSecurityLabs/pacu.git
  347. git clone https://github.com/duo-labs/cloudmapper.git
  348. git clone https://github.com/andresriancho/enumerate-iam.git
  349. git clone https://github.com/jordanpotti/AWSBucketDump.git
  350. echo ""
  351. cd ../
  352. mkdir Azure
  353. cd Azure
  354. echo ""
  355. git clone https://github.com/fox-it/adconnectdump.git
  356. git clone https://github.com/Azure/Stormspotter.git
  357. git clone https://github.com/dirkjanm/ROADtools.git
  358. git clone https://github.com/NetSPI/MicroBurst.git
  359. git clone https://github.com/Gerenios/AADInternals.git
  360. echo ""
  361. echo "Cloning Hak5 Implant Resources"
  362. echo ""
  363. cd /home/pi/Repo/Hak5_Implants
  364. echo ""
  365. git clone https://github.com/hak5/omg-payloads.git
  366. git clone https://github.com/hak5/bashbunny-payloads.git
  367. git clone https://github.com/hak5/usbrubberducky-payloads.git
  368. git clone https://github.com/hak5/pineapple-community-packages.git
  369. git clone https://github.com/hak5/pineapple-modules.git
  370. git clone https://github.com/hak5/mk7-docs.git
  371. git clone https://github.com/hak5/keycroc-payloads.git
  372. git clone https://github.com/hak5/sharkjack-payloads.git
  373. git clone https://github.com/hak5/lanturtle-modules.git
  374. git clone https://github.com/hak5/hak5-docs.git
  375. git clone https://github.com/hak5/packetsquirrel-payloads.git
  376. git clone https://github.com/hak5/nano-tetra-modules.git
  377. git clone https://github.com/hak5/signalowl-payloads.git
  378. git clone https://github.com/hak5/plunderbug-scripts.git
  379. echo ""
  380. echo "Cloning Wireless Resources"
  381. echo ""
  382. cd /home/pi/Repo/Wireless
  383. echo ""
  384. git clone https://github.com/derv82/wifite2.git
  385. git clone https://github.com/wifiphisher/wifiphisher.git
  386. git clone https://github.com/sensepost/mana.git
  387. git clone https://github.com/joswr1ght/cowpatty.git
  388. git clone https://github.com/athanstan/EvilTwin_AP_CaptivePortal.git
  389. echo " All Done! Your Repo Is Finished!"