{"id":13582291,"url":"https://github.com/m0rt1c/nlp","last_synced_at":"2025-04-06T14:30:45.315Z","repository":{"id":144228936,"uuid":"205699351","full_name":"m0rt1c/nlp","owner":"m0rt1c","description":"Chromium and chrome netlog parser","archived":false,"fork":false,"pushed_at":"2020-05-30T15:45:40.000Z","size":5312,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-02T15:48:22.586Z","etag":null,"topics":["chrome","chromium-netlog","go","golang","parser"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m0rt1c.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}},"created_at":"2019-09-01T15:56:54.000Z","updated_at":"2021-02-08T18:56:36.000Z","dependencies_parsed_at":"2024-01-19T08:11:56.796Z","dependency_job_id":"a5028614-d790-40af-bc7b-5e3ec449fce8","html_url":"https://github.com/m0rt1c/nlp","commit_stats":null,"previous_names":["andreajegher/chromium-netlog-parser","andreajegher/nlp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0rt1c%2Fnlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0rt1c%2Fnlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0rt1c%2Fnlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0rt1c%2Fnlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m0rt1c","download_url":"https://codeload.github.com/m0rt1c/nlp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223253831,"owners_count":17114264,"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":["chrome","chromium-netlog","go","golang","parser"],"created_at":"2024-08-01T15:02:34.650Z","updated_at":"2024-11-05T22:30:49.170Z","avatar_url":"https://github.com/m0rt1c.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# nlp\nCommand line parser for chromium netlog\n\n## NetLog\n[NetLog](https://www.chromium.org/developers/design-documents/network-stack/netlog) is chrome network logging system\n\n## Obtaining log\n\n### From browser\nVisit [chrome://net-export](chrome://net-export)\n\n### From command line\nYou can collect the netlog with either google-chrome or chromium\n\n```bash\nchromium --log-net-log=/tmp/netlog.json --net-log-capture-mode=Everything\n```\n```bash\ngoogle-chrome-stable --log-net-log=/tmp/netlog.json --net-log-capture-mode=Everything\n# \u003cany-google-chrome-binary\u003e --log-net-log=/tmp/netlog.json --net-log-capture-mode=Everything\n```\nThe netlog capture mode flag is necessary to extract the sources.\n\n## Usage Examples\n\n### Show the event with id 1\n```bash\nnlp -f /path/to/netlog.json\n\u003e show id 1\n```\n\n```bash\nnlp -f /path/to/netlog.json -c 'show id 1'\n```\n\n### Extract all the sources from the netowrk\nWill extract all the website sources that were downloaded into the ./out folder. The folder can be changed.\n```bash\nnlp -f /path/to/netlog.json\n\u003e e src out\n```\n```bash\nnlp -f /path/to/netlog.json -c 'e src out'\n```\n\n### Find all dns requests\n```bash\nnlp -f /path/to/netlog.json\n\u003e extract dns\n```\n\n```bash\nnlp -f /path/to/netlog.json -c 'extract dns'\n```\n\n### Find all URLs accessed\n```bash\nnlp -f /path/to/netlog.json\n\u003e e url\n```\n\n```bash\nnlp -f /path/to/netlog.json -c 'e url'\n```\n\n### Find all the TCP and UDP connections opened\n```bash\nnlp -f /path/to/netlog.json\n\u003e e con\n```\n\n```bash\nnlp -f /path/to/netlog.json -c 'e con'\n```\n\n### Show help\n```bash\nnlp\n\u003e help\n```\n\n## Building and Installing\n\n### Obtaing the code\n```bash\ngo get github.com/AndreaJegher/nlp\n```\nThe repo with the code will be created in your default go source folder\n\n### Installing\n```bash\ngo install github.com/AndreaJegher/nlp\n```\nIf you have the default go binary folder in your path, you can start the program by using the `nlp` command\n\n### Building\n```bash\ngo get github.com/AndreaJegher/nlp\ncd $GOPATH/src/github.com/AndreaJegher/nlp\nmake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0rt1c%2Fnlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm0rt1c%2Fnlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0rt1c%2Fnlp/lists"}