{"id":18078436,"url":"https://github.com/techgaun/http-gzip-time","last_synced_at":"2025-04-05T20:40:48.723Z","repository":{"id":147048602,"uuid":"52330903","full_name":"techgaun/http-gzip-time","owner":"techgaun","description":"Quick bash PoC implementation of https://github.com/jcarlosn/gzip-http-time","archived":false,"fork":false,"pushed_at":"2016-02-23T04:57:44.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T21:51:51.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-23T04:46:35.000Z","updated_at":"2016-02-23T12:10:08.000Z","dependencies_parsed_at":"2023-05-06T21:34:58.331Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/http-gzip-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fhttp-gzip-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fhttp-gzip-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fhttp-gzip-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fhttp-gzip-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/http-gzip-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399898,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T12:14:00.132Z","updated_at":"2025-04-05T20:40:48.706Z","avatar_url":"https://github.com/techgaun.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-gzip-time\n\n\u003e Get remote server date and time for vulnerable servers\n\n### Description\n\n[This post](http://jcarlosnorte.com/security/2016/02/21/date-leak-gzip-tor.html) inspired me to write this bash script because I just wanted to spend time doing something fun. As it seems, some of the servers with gzip compression (most likely Windows servers) seem to send the time in server's local timezone as part of [GZip header](http://www.forensicswiki.org/wiki/Gzip#File_header).\n\n### Examples\n\n```shell\n$ ./gzip-time http://techgaun.com\nThe server does not seem to have gzip compression enabled.\n\n$ ./gzip-time http://reddit.com\nNote: This server might be sending time in UTC instead of local time.\n\nThe server date time is: 2016-02-23 04:50:49\nThe UTC time is: 2016-02-23 04:50:49\n\n$ ./gzip-time http://bing.com\nThe server date time is: 2016-02-22 20:50:56\nThe UTC time is: 2016-02-23 04:50:56\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fhttp-gzip-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fhttp-gzip-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fhttp-gzip-time/lists"}