Skip to content

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

Open
@NobinPegasus

Description

@NobinPegasus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions