{"id":18029360,"url":"https://github.com/dharmit/secure","last_synced_at":"2025-06-17T16:36:23.926Z","repository":{"id":15255729,"uuid":"17984812","full_name":"dharmit/secure","owner":"dharmit","description":"Python program that keeps an eye on /var/log/secure and reports \"Failed password\" attempts.","archived":false,"fork":false,"pushed_at":"2014-04-18T06:41:58.000Z","size":296,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T21:14:09.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rjrpaz/Microchip-Libro_MCElectronics_I","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dharmit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-21T15:45:21.000Z","updated_at":"2022-10-14T18:48:49.000Z","dependencies_parsed_at":"2022-08-25T11:10:39.685Z","dependency_job_id":null,"html_url":"https://github.com/dharmit/secure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dharmit/secure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2Fsecure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2Fsecure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2Fsecure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2Fsecure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dharmit","download_url":"https://codeload.github.com/dharmit/secure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmit%2Fsecure/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260399819,"owners_count":23003252,"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-30T09:08:57.501Z","updated_at":"2025-06-17T16:36:18.881Z","avatar_url":"https://github.com/dharmit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"secure\n======\n\nPython program that keeps an eye on `/var/log/secure` and reports \"Failed password\" attempts.\n\nFeatures:\n--------\n* Checks the file `/var/log/secure` every minute for new occurrence of **Failed password** message(s).\n* If new attempt is found, it stores details in the SQLite database.\n* After adding details to the database, it raises a desktop notification informing the user about the break-in attempt.\n\nRequirements:\n------------\nTo obtain expected results using `secure`, you need to configure `rsyslog` to log dates compatible with RFC 3146. This is because by default `rsyslog` doesn't log year in the messages. To enable RFC 3146 compatibility, comment out below line from `/etc/rsyslog.conf`:\n~~~\n$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat\n~~~\nand add below two lines:\n~~~\n$template RFC3164fmt,\"\u003c%PRI%\u003e%TIMESTAMP% %HOSTNAME% %syslogtag%%msg%\"\n*.* /var/log/all-messages.log;ExampleFormat\"\n~~~\n\nUsage:\n------\n~~~\n$python secure.py\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmit%2Fsecure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdharmit%2Fsecure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmit%2Fsecure/lists"}