• XSS.stack #1 – первый литературный журнал от юзеров форума

Мануал/Книга clone timestamp of files from other files

oxostore

HDD-drive
Пользователь
Регистрация
07.08.2023
Сообщения
35
Реакции
17
hello XSS!

Linux-File-Timestamps-atime-mtime-ctime-1.png



The “-t” option modifies the time stamp of the file and the format is YYYYMMDDHHMM.

The time stamp is changed to current system date and time after touch command is run with ‘-m’ option.as example if we got a file called xss.php


executing the command
Код:
stat xss.php
Access: 2022-7-6 21:58:21
Modify: 2022-7-6 21:58:21

another command
Код:
touch -a -m -t 19770707 xss.php

will change timestamp to 07/07/1977 to touch a file with specific time :
Код:
touch -d "1977-07-07 12:12:12" xss.php

additionally we can copy other file timestamp by using this command:
Код:
touch a.php -r b.php
smart server manger will keep eye on date of his files , this is one of the ways if u edited a file to keep it less hidden on server.
Credits Please if Copied never shared in other forums!

show some love to keep this going by reaction or whatever support !

any translation to Russian is appreciated from experienced user !
./0x0










 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх