GithubHelp home page GithubHelp logo

napsec / f_util Goto Github PK

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

Futil is a handy Python based CLI tool that performs several useful functions to search/compare/decode/encodefiles. But wait, there is more! You can also extract EXIF and Metadata with F_util

License: MIT License

Python 100.00%
all-in-one compare-files decoding document-tool encoding exif exiftool exiv2 file-utility find-data

f_util's Introduction

Futil

Futil is a handy Python based CLI tool that performs several useful functions to search/compare/decode/encodefiles. But wait, there is more! You can also extract EXIF and Metadata with F_util. This Runs on Windows, macOS, and Linux with the only requirement being python3.

Requirements:

Python3

If you do not have python3 install, follow the option below that matches your OS.

Windows:

Download the Python 3 installer from the official website (https://www.python.org/downloads/windows/) and run it.

macOS:

Install Python 3 using Homebrew

First, install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 

then run

brew install python3 

Make this even easier by creating an alias:

 alias futil='python3 /Users/cmd/script_s/fileutil.py' >> ~/.zshrc

Linux:

Use the package manager of your Linux distribution to install Python 3. *you can also use homebrew to install, see macOS install above

run the command

 sudo apt-get install python3

Create alias to allow quick use by just typing "futil" from any where on your UNIX based machine, add the following line to your shell configuration file (e.g., ~/.bashrc or ~/.zshrc):

echo 'alias futil="python3 /path/to/futil.py"' >> ~/.bashrc && source ~/.bashrc

USAGE:

futil

image

This can be used without setting an alias:

cd futil

python3 futil.py

Most of my tools are created to use during investigations to reduce time and increase efficency. In the event this tool or any tool I create to aid in an investigation, or if the ability or functionality were called in to question, I provide a functions breakdown of the tool used along with the results of the tool etc. You can see this function breakdown below.

Functions

Compare Files

Compares two or more files and returns whether they are the same or different.

image

Search File

Searches for a word in a file and returns the line number where it is found.

image

Decode File

Decodes a file with the specified encoding and returns the content as a string.

image

Encode File

Encodes a file with the specified encoding.

image

Unzip File

image

Extract EXIF

Extracts EXIF data from a file using the exiftool command line tool.

image

Extract Metadata

Extracts metadata from a file using the exiv2 command line tool.

image

Search URLs

Searches a file for URLs .

image

If exiv2 is not installed and you receive an error, run:

brew install exiv2

f_util's People

Contributors

napsec 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.