@@ -29,19 +29,19 @@ cd flagsearch
2929
30302 . Make the script executable:
3131``` bash
32- chmod +x tools/ flagsearch.sh
32+ chmod +x flagsearch.sh
3333```
3434
35353 . Optionally, create a symbolic link to use the tool from anywhere:
3636``` bash
37- sudo ln -s $( pwd) /tools/ flagsearch.sh /usr/local/bin/flagsearch
37+ sudo ln -s $( pwd) /flagsearch.sh /usr/local/bin/flagsearch
3838```
3939
4040## 🔎 Usage
4141
4242Basic syntax:
4343``` bash
44- ./tools/ flagsearch.sh -f < flag_pattern> -i < input_path> [-d]
44+ flagsearch.sh -f < flag_pattern> -i < input_path> [-d]
4545```
4646
4747### Parameters:
@@ -53,17 +53,17 @@ Basic syntax:
5353
54541 . Search for files with "flag" in the filename:
5555``` bash
56- ./tools/ flagsearch.sh -f flag -i /path/to/ctf/files
56+ flagsearch.sh -f flag -i /path/to/ctf/files
5757```
5858
59592 . Search for files containing "flag{" in their content:
6060``` bash
61- ./tools/ flagsearch.sh -f flag{ -i /path/to/ctf/files -d
61+ flagsearch.sh -f flag{ -i /path/to/ctf/files -d
6262```
6363
64643 . Search for a specific flag format in a single file:
6565``` bash
66- ./tools/ flagsearch.sh -f " flag{[A-Za-z0-9]+" -i suspicious_file.txt
66+ flagsearch.sh -f " flag{[A-Za-z0-9]+" -i suspicious_file.txt
6767```
6868
6969## 🤝 Contributing
@@ -80,8 +80,7 @@ Contributions are welcome! Please feel free to submit a Pull Request.
8080
8181This project is licensed under the MIT License - see the [ LICENSE] ( LICENSE ) file for details.
8282
83- ## ✉️ Contact
84-
85- richardevcom - [ @richardevcom ] ( https://twitter.com/richardevcom )
83+ ## ✉️ Follow
8684
85+ Twitter - [ @richardevcom ] ( https://twitter.com/richardevcom )
8786Project Link: [ https://github.com/richardevcom/flagsearch ] ( https://github.com/richardevcom/flagsearch )
0 commit comments