GithubHelp home page GithubHelp logo

adauchendu / mutant-x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asad1996172/mutant-x

0.0 0.0 0.0 108 KB

Code for the Authorship Obfuscation tool called "Mutant-X" presented in PoPETs 2019 (https://petsymposium.org/2019/files/papers/issue4/popets-2019-0058.pdf)

Python 90.92% Shell 9.08%

mutant-x's Introduction

Mutant-X

This repository contains code for the Authorship Obfuscation tool called "Mutant-X" presented in PoPETs 2019 (https://petsymposium.org/2019/files/papers/issue4/popets-2019-0058.pdf).

Requirments

In order to run the code, you need to fulfill following requirements:

  1. Install Python3
  2. Install Java
  3. Download pycocoevalcap folder from (https://www.dropbox.com/sh/vwyjxmnbr9ytglx/AAAfkvJr8GlDv2ut-f1lmnGsa?dl=0) and put it inside the main folder. This is used for calculation of METEOR score. Original code can be found at (https://github.com/tylin/coco-caption/tree/master/pycocoevalcap)
  4. Download Word Embeddings folder from (https://www.dropbox.com/sh/y3srrf82n9jbx8x/AAAlHlICEftupAJ3WZnS8W3Aa?dl=0) and also place it inside the main project folder.
  5. Install libraries required for this project using the following command: pip3 install -r requirements.txt

Usage Instructions

In order to create the obfuscated document using writeprintsRFC Mutant-X, run Obfuscator.py in the following way.

python3 Obfuscator.py

Following is a list of parameters along-with their explanation.

Parameter Description
generation Number of documents to be generated per document
topK Top K highest fitness selection
crossover Crossover probability
iterations Maximum number of iterations
alpha weight assigned to probability in fitness function
beta weight assigned to METEOR in fitness function
replacements percentage of document to change
documentName Name of document for obfuscation

Running this script generates a document named Obfuscated_text.txt which contains the obfuscated text for the input document.

Citation

Please use the following citation when using the code.

@article{mahmood2019mutantx,
  title={A Girl Has No Name: Automated Authorship Obfuscation using Mutant-X},
  author={Mahmood, Asad and Ahmad, Faizan and Shafiq, Zubair and Srinivasan, Padmini and Zaffar, Fareed},
  journal={Proceedings on Privacy Enhancing Technologies},
  volume={2019},
  number={4},
  pages={54--71},
  year={2019},
  publisher={Sciendo}
}

mutant-x's People

Contributors

asad1996172 avatar

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.