Coder Social home page Coder Social logo

just-a-regular-guy / passfuscator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29 KB

Passfuscator reads a text file, masks each line by replacing all characters except the first two and the last two with "*", and writes the result to a CSV file. Lines with fewer than three characters are skipped.

License: GNU General Public License v3.0

Python 100.00%

passfuscator's Introduction

passfuscator

Passfuscator reads a text file, masks each line by replacing all characters except the first two and the last two with "*", and writes the result to a CSV file. Lines with fewer than three characters are skipped.

How to Use

Clone this repository to your local machine or download the script directly:

git clone https://github.com/Just-A-Regular-Guy/passfuscator

Ensure you have Python installed on your machine. You can download it from python.org.

Install the csv module if you haven't already. You can install it via pip:

pip install csv

Move to the script directory:

cd passfuscator

Run the script by executing the following command in your terminal:

python passfuscator.py

You will be prompted to enter the name of the input file. After the script finishes execution, it will generate an output file named output.csv in the same directory.

Open the output.csv file to view the masked content.

Customization

You can customize the input and output filenames by modifying the input_file and output_file variables at the end of the script.

Requirements

Python 3.x csv module

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details: https://github.com/Just-A-Regular-Guy/passfuscator/blob/main/LICENSE

passfuscator's People

Contributors

just-a-regular-guy avatar

Watchers

 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.