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

[BUG] 30-sslsniff unable to capture latest firefox(NSS) packet #122

Open
NobinPegasus opened this issue Jun 2, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@NobinPegasus
Copy link

Describe the bug
When I try to capture the NSS on my pc. It doesn't work. Also the --extra-lib doesn't work
As mentioned in the documentation:
./sslsniff --extra-lib openssl:/path/libssl.so.1.1

To Reproduce
sudo ./sslsniff --extra-lib nss:/opt/firefox/libnspr4.so

Expected behavior
It should add additinal libraries.
Screenshots

Also I want to capture the traffic for firefox. How to achieve this?

pegasus@pegasus:~$ sudo lsof -p 21129 | grep -iE 'ssl|nss'
[sudo] password for pegasus:
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
firefox-b 21129 pegasus mem REG 259,7 567848 32653234 /opt/firefox/libnssckbi.so
firefox-b 21129 pegasus mem REG 259,7 447160 32653231 /opt/firefox/libssl3.so
firefox-b 21129 pegasus mem REG 259,7 776816 32653277 /opt/firefox/libnss3.so
firefox-b 21129 pegasus mem REG 259,7 189080 32653243 /opt/firefox/libnssutil3.so


pegasus@pegasus:~/Documents/ssl-ebpf-projects/bpf-developer-tutorial/src/30-sslsniff$ sudo ./sslsniff --extra-lib nss:/opt/firefox/libnspr4.so
./sslsniff: unrecognized option '--extra-lib'
Try `sslsniff --help' or `sslsniff --usage' for more information.

Desktop (please complete the following information):

pegasus@pegasus:~$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
pegasus@pegasus:~$ uname -a
Linux pegasus 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
@NobinPegasus NobinPegasus added the bug Something isn't working label Jun 2, 2024
@NobinPegasus NobinPegasus changed the title [BUG] sslsniff unable to capture latest firefox(NSS) packet [BUG] 30-sslsniff unable to capture latest firefox(NSS) packet Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant