Giter VIP home page Giter VIP logo

utils's Introduction

utils

DFIR utilities

ACH_template-v0.4.xlsx

I have moved all CTI related material under https://github.com/pstirparo/threatintel-resources, check that out!

Epochalypse

There is the standard, official Epoch time (the Unix/POSIX one, seconds elapsed since 1 Jan 1970), and there are "other epoch" type of time (because, why not?). Epochalypse is a python script that receives a generic timestamp as input and converts it in several known common formats. In the latest version it supports also timestamps in hexadecimal value as input. Sample output and currently supported formats below:

$ python3 epochalypse.py --help
usage: epochalypse.py [-h] [-e timestamp] [-r] [-x hex_timestamp] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -e timestamp, --epoch timestamp
                        Epoch time to be converted.
  -r, --revhex          Reverse hex bytes (for little endian input), use it together with -x.
  -x hex_timestamp, --hex hex_timestamp
                        Hexadecimal timemstamp value to be converted.
  -v, --version         show program's version number and exit


$ python3 epochalypse.py -e 547120509.243697

Epoch Time input to be converted: 547120509.243697
Unix:    1987-05-04 09:55:09.243697 UTC
COCOA:   2018-05-04 09:55:09.243697 UTC
FAT:     1997-05-03 09:55:09.243697 UTC
HFS+:    1921-05-03 09:55:09.243697 UTC
WebKit:  1601-01-01 00:09:07.120510 UTC
NTFS:    1601-01-01 00:00:54.712051 UTC
APFS:    1970-01-01 00:00:00.547121 UTC
FireFox: 1970-01-01 00:09:07.120509 UTC

utils's People

Contributors

pstirparo avatar amm3 avatar

Stargazers

Cyber Mushi avatar  avatar  avatar  avatar topanga avatar Chris Durham avatar  avatar  avatar  avatar Fabio Zambrino avatar François B. Arthanas avatar  avatar Alexander Knorr avatar  avatar  avatar Minoru Kobayashi avatar  avatar  avatar  avatar Chapin Bryce avatar  avatar Ronnie Salomonsen avatar Marcos avatar Alexander J avatar Axel Tillequin avatar Allister avatar  avatar Dan avatar Tim Keller avatar John D. Swanson avatar  avatar Boris Köster avatar Chad avatar  avatar Alexandre Dulaunoy avatar

Watchers

evandrix avatar James Cloos avatar  avatar whooop avatar Joshua Moore avatar François B. Arthanas avatar  avatar alpha1 avatar

utils's Issues

WebKit and NTFS do not display proper y-m-d

Given the epoch returned for each value as:

Epoch Time input to be converted:  0
Unix:   1970-01-01 00:00:00 UTC
COCOA:  2001-01-01 00:00:00 UTC
FAT:    1980-01-01 00:00:00 UTC
HFS+:   1904-01-01 00:00:00 UTC
WebKit: 1601-01-01 00:00:00 UTC
NTFS:   1601-01-01 00:00:00 UTC

The WebKit and NTFS results do not display the proper result:

Epoch Time input to be converted:  1511178186
Unix:   2017-11-20 11:43:06 UTC
COCOA:  2048-11-20 11:43:06 UTC
FAT:    2027-11-20 11:43:06 UTC
HFS+:   1951-11-20 11:43:06 UTC
WebKit: 1601-01-01 00:25:11 UTC
NTFS:   1601-01-01 00:02:31 UTC

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.