{"id":15022760,"url":"https://github.com/francescodisalesgithub/pwrap","last_synced_at":"2026-02-25T08:03:20.229Z","repository":{"id":159504301,"uuid":"397572448","full_name":"FrancescoDiSalesGithub/pwrap","owner":"FrancescoDiSalesGithub","description":"command line utility for testing php local file inclusion ","archived":false,"fork":false,"pushed_at":"2022-06-02T17:58:14.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T17:56:14.720Z","etag":null,"topics":["builder","cookie","file-inclusion","hacking","hacking-tool","hackingcode","php","php5","php7","requests","requests-mo","requests-python","snippets","tool","wrapper","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","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/FrancescoDiSalesGithub.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":"2021-08-18T11:14:22.000Z","updated_at":"2024-04-25T07:10:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc301abd-1028-41f8-9f67-70a3c1d3659d","html_url":"https://github.com/FrancescoDiSalesGithub/pwrap","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/FrancescoDiSalesGithub%2Fpwrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoDiSalesGithub%2Fpwrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoDiSalesGithub%2Fpwrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoDiSalesGithub%2Fpwrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FrancescoDiSalesGithub","download_url":"https://codeload.github.com/FrancescoDiSalesGithub/pwrap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318758,"owners_count":20272144,"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":["builder","cookie","file-inclusion","hacking","hacking-tool","hackingcode","php","php5","php7","requests","requests-mo","requests-python","snippets","tool","wrapper","yaml"],"created_at":"2024-09-24T19:58:21.473Z","updated_at":"2025-10-31T05:42:17.089Z","avatar_url":"https://github.com/FrancescoDiSalesGithub.png","language":"Python","readme":"# pwrap\ncommand line utility for testing php local file inclusion \n\n## How to use\n\nrun:\n`pip3 install -r requirements.txt`\n\nlaunch pwrap by following these rules:\n\n` python3 pwrap.py [URL] [File inclusion entry point] [wrapper] [yaml filename]`\n\nwhere:\n\n* URL = the url location you want to test your LFI\n* File Inclusion entry point = the parameter that is vulnerable to LFI\n* wrapper = the possible wrapper that pwrap uses\n* yaml filename = yaml file where there are cookies information\n\nThe possible wrappers that pwrap uses are:\n\n* file \n* filter\n* data\n* zip\n* expect\n* input\n\n\n\n### Example usage\n\ncreate a file with yaml extension and put the cookie informations:\n\n```\n---\n\"PHPSESSID\": \"abcderete43w\",\n\"info1\": \"asdfasdad\"\n\"info2\": \"sddskhfds\"\n\n```\nthen run the program:\n`python3 pwrap.py http://somesite.com/ page file example-file.yaml`\n\nIf everything goes well, pwrap will open a browser window with the outcome of the local file inclusion\n\n# Donation\n\nIf you want to support me donate monero coins at:\n`4B9WQivaHfd3miDfPKEfCianocGpBx9d8FXycz2vmNW3aBDVKHgkBd9Gmapt4RBVEpTwnehujsiUBBehUiLvnEHs7VFstCC`\n\n![immagine](https://user-images.githubusercontent.com/17337009/171695268-3996f8b8-ca26-4771-8e32-0f75f941a70c.png)\n\n\nor here (0.0043 XMR):\n\n![immagine](https://user-images.githubusercontent.com/17337009/171695566-420c3948-3fe2-4448-9ba1-472c6a4aaee5.png)\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescodisalesgithub%2Fpwrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancescodisalesgithub%2Fpwrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescodisalesgithub%2Fpwrap/lists"}