{"id":20290621,"url":"https://github.com/notdodo/pastego","last_synced_at":"2025-04-06T09:09:55.235Z","repository":{"id":48493742,"uuid":"92013936","full_name":"notdodo/pastego","owner":"notdodo","description":"Scrape/Parse Pastebin using GO and expression grammar (PEG)","archived":false,"fork":false,"pushed_at":"2024-12-10T20:08:38.000Z","size":90,"stargazers_count":97,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T08:09:56.290Z","etag":null,"topics":["go","osint","pastebin","peg","scraper"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notdodo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-22T05:16:22.000Z","updated_at":"2024-08-12T19:30:01.000Z","dependencies_parsed_at":"2025-02-14T13:30:54.359Z","dependency_job_id":null,"html_url":"https://github.com/notdodo/pastego","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notdodo%2Fpastego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notdodo%2Fpastego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notdodo%2Fpastego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notdodo%2Fpastego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notdodo","download_url":"https://codeload.github.com/notdodo/pastego/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","osint","pastebin","peg","scraper"],"created_at":"2024-11-14T15:08:30.148Z","updated_at":"2025-04-06T09:09:55.213Z","avatar_url":"https://github.com/notdodo.png","language":"Go","funding_links":["https://www.buymeacoffee.com/d0d0"],"categories":["Pentesting"],"sub_categories":["OSINT - Open Source INTelligence"],"readme":"# pastego [![Build Status](https://travis-ci.org/notdodo/pastego.svg?branch=master)](https://travis-ci.org/notdodo/pastego) \u003ca href=\"https://www.buymeacoffee.com/d0d0\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\nScrape/Parse Pastebin using GO and grammar expression (PEG).\n                                                         \n![pastego.png](https://raw.githubusercontent.com/edoz90/pastego/support/pastego.png)\n\n\n## Installation\n\n`$ go get -u github.com/notdodo/pastego`\n\n## Usage\n\nSearch keywords are case sensitive\n\n`pastego -s \"password,keygen,PASSWORD\"`\n\nYou can use boolean operators to reduce false positive\n\n`pastego -s \"quake \u0026\u0026 ~earthquake, password \u0026\u0026 ~(php || sudo || Linux || '\u003cbody\u003e')\"`\n\nThis command will search for bins with `quake` but not `earthquake` words and for bins with `password` but not `php`, `sudo`, `Linux`, `\u003cbody\u003e` words.\n\n```\nusage: pastego [\u003cflags\u003e]\n\nFlags:\n      --help              Show context-sensitive help (also try --help-long and --help-man).\n  -s, --search=\"pass\"     Strings to search, i.e: \"password,ssh\"\n  -o, --output=\"results\"  Folder to save the bins\n  -i, --insensitive       Search for case-insensitive strings\n```\n\nSupported expression/operators:\n\n    `\u0026\u0026` - and\n\n    `||` - or\n\n    `~` - not\n\n    `'string with space'`\n\n    `(myexpression \u0026\u0026 'with operators')`\n\n### Keybindings\n\n`q`, `ctrl+c`: quit `pastego`\n\n`k`, `↑`: show previous bin\n\n`j`, `↓`: show next bin\n\n`n`: jump forward by 15 bins\n\n`p`: jump backward by 15 bins\n\n`N`: move to the next block of findings (in alphabet order)\n\n`P`: move to the previous block of findings (in alphabet order)\n\n`d`: delete file from file system\n\n`HOME`: go to top\n\n## Requirements\n\n#### [goquery](https://github.com/PuerkitoBio/goquery)\n\n`go get -u \"github.com/PuerkitoBio/goquery\"`\n\n#### [kingpin](https://github.com/alecthomas/kingpin)\n\n`go get -u \"gopkg.in/alecthomas/kingpin.v2\"`\n\n#### [gocui](https://github.com/jroimartin/gocui)\n\n`go get -u \"github.com/jroimartin/gocui\"`\n\nTo create the code from PEG use [pigeon](https://github.com/mna/pigeon):\n\n`go get -u github.com/mna/pigeon`\n\n## Disclaimer\n\nYou need a PRO account to use this: pastebin will **block/blacklist** your IP.\n\n[pastebin PRO](https://pastebin.com/pro)\n\n#### Or....\n\n- increase the time between each request\n- create a script to restart your router when pastebin warns you\n\n#### In progress...\n\nAdd flag to pass/read a list of proxies to avoid IP ban/throttle for free users\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotdodo%2Fpastego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotdodo%2Fpastego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotdodo%2Fpastego/lists"}