mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Merge branch 'master' of https://github.com/bwhitn/CyberChef into bwhitn-master
This commit is contained in:
commit
15decd9cd9
5 changed files with 117 additions and 0 deletions
|
@ -193,6 +193,8 @@ const Categories = [
|
|||
"Translate DateTime Format",
|
||||
"From UNIX Timestamp",
|
||||
"To UNIX Timestamp",
|
||||
"Windows Filetime to UNIX Timestamp",
|
||||
"UNIX Timestamp to Windows Filetime",
|
||||
"Extract dates",
|
||||
]
|
||||
},
|
||||
|
|
|
@ -2261,6 +2261,32 @@ const OperationConfig = {
|
|||
}
|
||||
]
|
||||
},
|
||||
"Windows Filetime to UNIX Timestamp":{
|
||||
description: "Converts a Windows Filetime timestamp to a datetime format",
|
||||
run: DateTime.runFromFiletimeToUnix,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Output Units",
|
||||
type: "Option",
|
||||
value: DateTime.UNITS
|
||||
}
|
||||
]
|
||||
},
|
||||
"UNIX Timestamp to Windows Filetime":{
|
||||
description: "Parses a datetime string in UTC and returns the corresponding Windows Filetime timestamp",
|
||||
run: DateTime.runToFiletimeFromUnix,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: [
|
||||
{
|
||||
name: "Input Units",
|
||||
type: "Option",
|
||||
value: DateTime.UNITS
|
||||
}
|
||||
]
|
||||
},
|
||||
"Translate DateTime Format": {
|
||||
description: "Parses a datetime string in one format and re-writes it in another.<br><br>Run with no input to see the relevant format string examples.",
|
||||
run: DateTime.runTranslateFormat,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue