Skip to content

androidaftermarket/pcapd-bin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains pre-compiled pcapd binaries, which can be integrated into other projects to implement the ability to capture as root in Android.

pcapd is part of PCAPdroid. You are allowed to bundle the pcapd binaries of this repo into your proprietary app as long as you provide proper attribution to the PCAPdroid project.

You can get a changelog from the pcapd history.

Integrate pcapd

Check out the pcapd readme for general usage and integration information.

In order to add the pcapd binaries to the app, you need to specify its dist path into the srcDirs in the build.gradle file:

sourceSets {
    main {
        jniLibs.srcDirs = ["libs", "libs/pcapd/dist"]
    }
}

This repo can be linked as a submodule with:

git submodule add -f https://github.com/emanuele-f/pcapd-bin app/libs/pcapd

In order to have access to the pcapd_hdr_t structure, ensure to add pcapd/dist/include to your include path.

About

pre-compiled pcapd binaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%