Skip to content
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

Exit status 4 while running hstshijack. #72

Open
LavedenC1 opened this issue Jul 26, 2024 · 0 comments
Open

Exit status 4 while running hstshijack. #72

LavedenC1 opened this issue Jul 26, 2024 · 0 comments

Comments

@LavedenC1
Copy link

I'm trying to run hstshijack, everything runs fine, but then, nothing happens and all it says is [18:39:09] [sys.log] [err] exit status 4.
Here is the log

192.168.9.0/24 > 192.168.9.139  » hstshijack/hstshijack
2024-07-26 18:39:09 inf hstshijack Generating random variable names for this session ...
2024-07-26 18:39:09 inf hstshijack Reading caplet ...
2024-07-26 18:39:09 inf hstshijack Indexing SSL domains ...
2024-07-26 18:39:09 inf hstshijack Indexed 2 domains.
2024-07-26 18:39:09 inf hstshijack Module loaded.

  Caplet

     hstshijack.ssl.domains > /usr/local/share/bettercap/caplets/hstshijack/domains.txt
       hstshijack.ssl.index > /usr/local/share/bettercap/caplets/hstshijack/index.json
       hstshijack.ssl.check > true
          hstshijack.ignore > captive.apple.com,connectivitycheck.gstatic.com,detectportal.firefox.com,www.msftconnecttest.com
         hstshijack.targets > google.com, *.google.com, gstatic.com, *.gstatic.com
    hstshijack.replacements > google.corn,*.google.corn,gstatic.corn,*.gstatic.corn
    hstshijack.blockscripts > undefined
       hstshijack.obfuscate > true
        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

  Commands

           hstshijack.show : Show module info.
    hstshijack.ssl.domains : Show recorded domains with SSL.
      hstshijack.ssl.index : Show SSL domain index.

  Session info

        Session ID : mZYlZgFR
     Callback path : /orKhhpOJ
    Whitelist path : /QSAqFAOb
    SSL index path : /fgbSIjaOSqekoV
       SSL domains : 2 domains

[18:39:09] [sys.log] [err] exit status 4

This doesn't work no matter what I have on and off.
It's either I'm using it wrong or the program is doing something wrong.
Any help would be appreciated!
Thank you!

PS: If you need any more info, ask me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant