bettercap/caplets

Exit status 4 while running hstshijack.

Opened this issue · 0 comments

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.