Results 1 to 3 of 3
  1. #1
    Rmzn0's Avatar
    Join Date
    Jun 2018
    Gender
    male
    Posts
    75
    Reputation
    10
    Thanks
    114

    checking multiple log files fast for sensitive data

    What is the best way to check multiple log files for sensitive data?
    eg. password in text format, in encrypted format, account informations,addresses,ip addresses, phone numbers, email contents etc..?

    I thought about writing a c++ or java program which intelligently checks all the file and matches all the pattern, then write the found data to output?

  2. #2
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,314
    You should use an interpreted Scriptlanguage instead of a Programming language for a simple text crawling task
    Perl, JavaScript or Python is the right direction there

  3. The Following 2 Users Say Thank You to MikeRohsoft For This Useful Post:

    Gill Bates (04-01-2019),Rmzn0 (03-29-2019)

  4. #3
    Gill Bates's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    /online
    Posts
    1,135
    Reputation
    188
    Thanks
    247
    Quote Originally Posted by Rmzn0 View Post
    What is the best way to check multiple log files for sensitive data?
    eg. password in text format, in encrypted format, account informations,addresses,ip addresses, phone numbers, email contents etc..?

    I thought about writing a c++ or java program which intelligently checks all the file and matches all the pattern, then write the found data to output?
    As MikeRohsoft said, you are better off using Python (best one for this, imo). Place all log files in folder > write script that checks for a certain format (example: SSN are usually XXX-XX-XXXX) or keywords (ID, phone, SSN, etc.)in that destination.

    If you are trying to check files from a server and want to work directly with the server, make sure you input the login credentials in the script. Keep in mind that doing it directly from the server will use the server's resources, and speed will depend on that, so I would just export them to folder on my Desktop (Virtual Machine or physical computer).

  5. The Following User Says Thank You to Gill Bates For This Useful Post:

    Rmzn0 (04-02-2019)

Similar Threads

  1. [Help] How would i check for sensitivity?
    By hurenzohnkiller in forum Counter-Strike 2 Coding & Resources
    Replies: 16
    Last Post: 08-27-2015, 06:34 PM
  2. [WTS] 200 k logs user password for sale on cheap price check first on team viewr than payme
    By Bilal Khan in forum Selling Accounts/Keys/Items
    Replies: 0
    Last Post: 07-30-2014, 02:06 AM
  3. [WTT] Willing to buy/trade for a DayZ key log file [ONLY LEGITIMATE PROVIDERS PLEASE]
    By alternativealex in forum DayZ Selling / Trading / Buying
    Replies: 1
    Last Post: 11-25-2012, 07:04 PM
  4. Replies: 2
    Last Post: 08-23-2012, 02:14 PM
  5. How to select Language Stream/Media Stream for multiple language files in WMP?
    By rosati in forum Suggestions, Requests & General Help
    Replies: 0
    Last Post: 01-28-2009, 10:48 AM