Giter Club home page Giter Club logo

tactilefileprofile's Introduction

Tactile File Profiler (tfp.rb)

The Tactile File Profiler (tfp) script is used to quickly analyze a file system to help identify file locations, permissions, and ownership.

The script currently takes two inputs:

  • A text file that has the file and directory structure of the application (easily generated using your package manager of choice), and
  • A text file that performs a recursive find of the application's installation directory (to ensure you catch everything)

The script outputs to STDOUT in pipe "|" delimited format, making it easy to pull into your spreadsheet program of choice.

The tfp script is launched as follows: # ruby tfp <file1> <file1>

Where <file1> is the package manager output file and <file2> is the application installation directory output file.

e.g.

# ruby tfp wordpress.out wordpress.post
\# cat file.csv
Active?|Element|Element Type|Description|File Presence|File ACL|File User Ownership|File Group Ownership|File setuid|File setgid|Directory ACL|Directory User Ownership|Directory Group Ownership|World-Writable Directories Have Sticky Bit Set|Process Presence|Process User Ownership|Process Group Ownership|Group Members|Network Service Accessibility|Network Service Processes|
Y|/etc/wordpress/htaccess|File||Y|644|0|0|N|N|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL
Y|/etc/wordpress/wp-config.php|File||Y|644|0|0|N|N|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL
Y|/usr/share/doc/wordpress/changelog.Debian.gz|File||Y|644|0|0|N|N|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL
...
Y|/usr/share/wordpress/wp-admin/includes/user.php|File||Y|644|0|0|N|N|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL
Y|/usr/share/wordpress/wp-admin/includes/widgets.php|File||Y|644|0|0|N|N|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL
Y|/usr/share/wordpress/wp-admin/index-extra.php|File||Y|644|0|0|N|N|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL|NULL
...
Y|/usr/share/wordpress/wp-admin|Directory||N|NULL|NULL|NULL|N|N|755|0|0|N|NULL|NULL|NULL|NULL|NULL|NULL
Y|/usr/share/wordpress/wp-admin/css|Directory||N|NULL|NULL|NULL|N|N|755|0|0|N|NULL|NULL|NULL|NULL|NULL|NULL
Y|/usr/share/wordpress/wp-admin/images|Directory||N|NULL|NULL|NULL|N|N|755|0|0|N|NULL|NULL|NULL|NULL|NULL|NULL
Y|/usr/share/wordpress/wp-admin/images/screenshots|Directory||N|NULL|NULL|NULL|N|N|755|0|0|N|NULL|NULL|NULL|NULL|NULL|NULL

Tested On:

  • Ubuntu 12.04.1 LTS
  • Ubuntu 12.10
  • Amazon AMI

tactilefileprofile's People

Contributors

andrewsmhay avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

ligadous

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.