Skip to content

Commit 94e2593

Browse files
committed
📝 Updated command examples
1 parent 47a657c commit 94e2593

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ cd flagsearch
2929

3030
2. Make the script executable:
3131
```bash
32-
chmod +x tools/flagsearch.sh
32+
chmod +x flagsearch.sh
3333
```
3434

3535
3. 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

4242
Basic 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

5454
1. 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

5959
2. 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

6464
3. 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

8181
This 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)
8786
Project Link: [https://github.com/richardevcom/flagsearch](https://github.com/richardevcom/flagsearch)

0 commit comments

Comments
 (0)