This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Win32 API Contants | |
const FILE_ATTRIBUTES = { | |
"FILE_ATTRIBUTE_ARCHIVE": 0x20, | |
"FILE_ATTRIBUTE_HIDDEN": 0x2, | |
"FILE_ATTRIBUTE_NORMAL": 0x80, | |
"FILE_ATTRIBUTE_NOT_CONTENT_INDEXED": 0x2000, | |
"FILE_ATTRIBUTE_OFFLINE": 0x1000, | |
"FILE_ATTRIBUTE_READONLY": 0x1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WORKING_DIRECTORY="/home/kali/Desktop/" | |
cd $WORKING_DIRECTORY | |
mkdir -p "$WORKING_DIRECTORY/logs/ | |
DATE=`date +%d.%m.%y` | |
TIME=`date +%H.%M.%S` |
OlderNewer