Giter Club home page Giter Club logo

pija's Introduction

PIJA: Pornographic images jacking algorithm

Pija is a proof of concept about how malware can easily detect and steal homemade adult content from the victim's computer.

This PoC only contains the detection bits of the concept, but can be further improved using different techniques such as biometrics and metadata analysis to find matches between suspicious pictures and victim's social network's photos.

Ths was developed as part of a presentation we (@mattaereal & @alcuadrado) gave at Ekoparty 2013. You can watch it here (spanish) and grab the slides from here (mostly spanish).

Dependencies

To install them all you can use pip2 install -r requirements.txt

  • python 2.7
  • python-opencv
  • scipy
  • numpy
  • termcolor
  • python-magic

Running it

Just run:

pija <FILES>

or:

pija -R <FOLDER>

References

  • "An algorithm for nudity detection", Rigan Ap-apid.
  • "Image-based pornography detection", Rigan Ap-apid.
  • "Explicit image detection using YCbCr space color model as skin detection", Marcial Basilio, Aguilar Torres , et al.
  • "Optimization of automatic nudity detection in high-resolution images with the use of NuDetective Forensic Tool", da Silva Eleuterio, Castro Polastro.
  • "Nudity detection based on image zoning", Clayton Santos, Eulanda M. dos Santos, Eduardo Souto
  • "Machine learning application on detecting nudity in images", Yong Lin, Yujun Wu.

pija's People

Contributors

alcuadrado avatar exos avatar mattaereal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pija's Issues

Too much false positives

Tested it with a lot of images, in fact, too much false positives.
The most of test images are flagged as nude.
A lot of really nude images are flagged as normal.

La concha de tu madre pato

python2 pija Bic+1.jpg
Traceback (most recent call last):
File "pija", line 55, in
print_result(file_, analize(file_))
File "/home/nico/pija/analizer.py", line 57, in analize
type_ = magic.from_file(path)
AttributeError: 'module' object has no attribute 'from_file'

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.