Skip to content

Commit

Permalink
v5.2 - see CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xnl-h4ck3r committed Mar 14, 2024
1 parent 7a17d21 commit 945a5f0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Changelog

- v5.2

- Changed

- Fix a big that prevented the `config.yml` being read correctly.
- Small changes to `README`

- v5.1

- Changed
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<center><img src="https://github.com/xnl-h4ck3r/xnLinkFinder/blob/main/xnLinkFinder/images/title.png"></center>

## About - v5.1
## About - v5.2

This is a tool used to discover endpoints (and potential parameters) for a given target. It can find them by:

Expand Down Expand Up @@ -58,14 +58,14 @@ pipx install git+https://github.com/xnl-h4ck3r/xnLinkFinder.git
| -xrel | --exclude-relative-links | By default, if any links in the results start with `./` or `../`, they will be included. If this argument is used, these relative links will not be added. |
| -t | --timeout † | How many seconds to wait for the server to send data before giving up (default: 10 seconds) |
| -inc | --include | Include input (`-i`) links in the output (default: false) |
| -u | --user-agent † | What User Agents to get links for, e.g. `-u desktop mobile` |
| -u | --user-agent † | What User Agents to get links for, e.g. `-u desktop mobile`. Possible values are `desktop`, `mobile`, `set-top-boxes` and `game-console`. Also there are `mobile-apple`, `mobile-android` and `mobile-windows` that are subsets of `mobile` but can be used separately. |
| -insecure || Whether TLS certificate checks should be disabled when making requests (delfault: false) |
| -s429 || Stop when > 95 percent of responses return 429 Too Many Requests (default: false) |
| -s403 || Stop when > 95 percent of responses return 403 Forbidden (default: false) |
| -sTO || Stop when > 95 percent of requests time out (default: false) |
| -sCE || Stop when > 95 percent of requests have connection errors (default: false) |
| -m | --memory-threshold | The memory threshold percentage. If the machines memory goes above the threshold, the program will be stopped and ended gracefully before running out of memory (default: 95) |
| -mfs | --max-file-size † | The maximum file size (in bytes) of a file to be checked if -i is a directory. If the file size os over, it will be ignored (default: 500 MB). Setting to 0 means no files will be ignored, regardless of size. |
| -mfs | --max-file-size † | The maximum file size (in bytes) of a file to be checked if -i is a directory. If the file size is over, it will be ignored (default: 500 MB). Setting to 0 means no files will be ignored, regardless of size. |
| -rp | --replay-proxy† | For active link finding with URL (or file of URLs), replay the requests through this proxy. |
| -ascii-only | | Whether links and parameters will only be added if they only contain ASCII characters. This can be useful when you know the target is likely to use ASCII characters and you also get a number of false positives from binary files for some reason. |
| -mtl | --max-time-limit | The maximum time limit (in minutes) to run before stopping (default: 0). If 0 is passed, there is no limit. |
Expand Down
2 changes: 1 addition & 1 deletion xnLinkFinder/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="5.1"
__version__="5.2"
7 changes: 4 additions & 3 deletions xnLinkFinder/xnLinkFinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1615,9 +1615,9 @@ def getConfig():

# Get the path of the config file. If -c / --config argument is not passed, then it defaults to config.yml in the same directory as the run file
xnLinkFinderPath = (
Path(os.path.join(os.getenv('APPDATA', ''), 'xnLinKFinder')) if os.name == 'nt'
else Path(os.path.join(os.path.expanduser("~"), ".config", "xnLinKFinder")) if os.name == 'posix'
else Path(os.path.join(os.path.expanduser("~"), "Library", "Application Support", "xnLinKFinder")) if os.name == 'darwin'
Path(os.path.join(os.getenv('APPDATA', ''), 'xnLinkFinder')) if os.name == 'nt'
else Path(os.path.join(os.path.expanduser("~"), ".config", "xnLinkFinder")) if os.name == 'posix'
else Path(os.path.join(os.path.expanduser("~"), "Library", "Application Support", "xnLinkFinder")) if os.name == 'darwin'
else None
)
xnLinkFinderPath.absolute
Expand Down Expand Up @@ -1784,6 +1784,7 @@ def getConfig():

except Exception as e:
if vverbose():
print(str(e))
if args.config is None:
writerr(colored('WARNING: Cannot find file "config.yml", so using default values', 'yellow'))
else:
Expand Down

0 comments on commit 945a5f0

Please sign in to comment.