https://github.com/r0x4r/parshu
Filter URLs to save your time.
https://github.com/r0x4r/parshu
bug-bounty filter penetration-testing python3 regex
Last synced: about 1 year ago
JSON representation
Filter URLs to save your time.
- Host: GitHub
- URL: https://github.com/r0x4r/parshu
- Owner: R0X4R
- License: mit
- Created: 2022-07-29T08:06:20.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T11:26:46.000Z (almost 4 years ago)
- Last Synced: 2025-03-28T09:02:13.416Z (about 1 year ago)
- Topics: bug-bounty, filter, penetration-testing, python3, regex
- Language: Python
- Homepage: https://pypi.org/project/parshu
- Size: 465 KB
- Stars: 59
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Filter URLs to save your time using regex

---
**Parshu** uses regex to filter out the custom results. Remembering every regex or writing regexes for a task which you do daily is not easy, so **parshu** will help you to automate the task.
_Inspired from [tomnomnom's gf](https://github.com/tomnomnom/gf) tool_
### Features
- You can also add your custom regex to get results
- Filter out all the query parameters which you use to check vulnerabilities
### Installation
```console
$ pip3 install parshu
```
```console
$ wget -O parshu https://raw.githubusercontent.com/R0X4R/Parshu/main/parshu.py -q && chmod +x parshu && mv parshu /usr/bin/
```
### Usage

+ **For `linux`, `unix` and `debian` based systems**
```console
$ waybackurls sub.domain.tld | parshu
http://sub.domain.tld/wvstests/
http://sub.domain.tld/wvstests/pmwiki_2_1_19
http://sub.domain.tld/wvstests/pmwiki_2_1_19/scripts
http://sub.domain.tld/wvstests/pmwiki_2_1_19/scripts/
```
+ **For `windows` based systems**
```console
cmd> type urls.txt | python3 parshu.py
```
+ **If `no arguments` passed**
```console
$ waybackurls sub.domain.tld | parshu
http://sub.domain.tld/wvstests/
http://sub.domain.tld/wvstests/pmwiki_2_1_19
http://sub.domain.tld/wvstests/pmwiki_2_1_19/scripts
http://sub.domain.tld/wvstests/pmwiki_2_1_19/scripts/
```
+ **To filter out the results for xss**
> **Note**: To get parameters for other vulnerabilites use other arguments. To get all the arguments use `parshu -h`
```console
$ waybackurls testphp.vulnweb.com | parshu -x
http://testphp.vulnweb.com/artists.php?artist=1
http://testphp.vulnweb.com/showimage.php?file=./pictures/1.jpg
http://testphp.vulnweb.com/showimage.php?file=./pictures/1.jpg&size=160
```
### Donate
If this tool helped you or you like my work