Giter VIP home page Giter VIP logo

anmap-wrapper's Introduction

ANmap Wrapper

Nmap wrapper for Android

History

In 2016 I applied for a GSoC at Nmap with a bid for an Android port of Nmap. I built an ugly prototype with a cross-compiled Nmap shared library, a C wrapper and a simple Android activity to interact with it. The bid was not successful, and probably for good reasons.

In 2022, I thought it would still be nice to be able to run Nmap from time to time from my smartphone. I took the original prototype, polished it a bit and packaged it. It's still ugly, but it does its job. And maybe angry user feedbacks will motivate me to spend some time on it.

How to cross-compile Nmap

Be aware that the script to compile Nmap is based on my development environment. You might need to fix some paths for it to be working on your system.

cd app/src/main/cpp
./make_nmap.sh

The script will do the following:

  1. Download latest stable Nmap source (7.94 at the time of writing).
  2. Configure and compile Nmap for armeabi-v7a and arm64-v8a.
  3. Import Nmap resource files (like nmap-services) to Android assets directory.

TODO

  1. Migrate from deprecated AsyncTask to Runnable.
  2. Explore options for IPC other than pipes and output redirection and remove ugly fork() in wrapper.
  3. Add root support.
  4. Add x86 and x86_64 support.

anmap-wrapper's People

Contributors

ruvolof avatar

Stargazers

Justin avatar Mamby DOUMBIA avatar Arduino Aficionado avatar  avatar  avatar  avatar Nguyen Hong Nguyen avatar  avatar  avatar  avatar  avatar nedkely avatar Kala avatar aziz avatar  avatar  avatar Diordany van Hemert avatar Cody Hutton avatar  avatar Engineer Hilmi Al-Ruhmi avatar  avatar  avatar  avatar  avatar Lalatendu Keshari Swain avatar  avatar Paulo Fernando Puppe Junior avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar myth | Daniel avatar Fearghal Hayes avatar  avatar loggirl avatar D.D.M. avatar  avatar  avatar  avatar  avatar koro. avatar Jacob Flygenring avatar  avatar Adhiraj Ranjan avatar Luke Wong avatar  avatar  avatar  avatar

Watchers

 avatar chantal fournier avatar  avatar  avatar  avatar  avatar

anmap-wrapper's Issues

An empty file

Hello, after I compiled, there is a libs file under src/main/cpp, there will be arm64-v8a and armeabi-v7a two files, but these two files are empty。
Can you share the so library that has been compiled successfully?

Fb.in

My FB I'd is locked and kap u dining too rimoov

S S K

S S K

open

please

Ok``

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.