{"id":27058620,"url":"https://github.com/0xh3xa/ghidra_scripts","last_synced_at":"2025-04-05T12:16:10.087Z","repository":{"id":245080367,"uuid":"812369653","full_name":"0xh3xa/ghidra_scripts","owner":"0xh3xa","description":"Ghidra headless scripts for automated disassembly and different utilities","archived":false,"fork":false,"pushed_at":"2024-07-08T23:58:28.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-09T03:59:56.947Z","etag":null,"topics":["automation","ghidra","ghidra-headless","ghidra-scripts"],"latest_commit_sha":null,"homepage":"","language":"Java","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/0xh3xa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-08T17:33:36.000Z","updated_at":"2024-07-08T23:58:31.000Z","dependencies_parsed_at":"2024-06-19T17:13:51.027Z","dependency_job_id":"07c584d5-d2f4-40a9-ac1b-fac8aa7e4535","html_url":"https://github.com/0xh3xa/ghidra_scripts","commit_stats":null,"previous_names":["0xh3xa/ghidra_scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xh3xa%2Fghidra_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xh3xa%2Fghidra_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xh3xa%2Fghidra_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xh3xa%2Fghidra_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xh3xa","download_url":"https://codeload.github.com/0xh3xa/ghidra_scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332590,"owners_count":20921854,"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":["automation","ghidra","ghidra-headless","ghidra-scripts"],"created_at":"2025-04-05T12:16:09.496Z","updated_at":"2025-04-05T12:16:10.022Z","avatar_url":"https://github.com/0xh3xa.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghidra - Scripts (Java)\n\nGhidra scripts in Java for disassembly.\n\n### Headless Analyzer\n\nThe headless analyzer is used to automate the process of analysis, decompiled, disassembly, etc. \n\n### Headless Analyzer Arguments\n\nThe arguments of the headless analyzer could be found in \u003ca href=\"https://static.grumpycoder.net/pixel/support/analyzeHeadlessREADME.html\"\u003elink\u003c/a\u003e\n\n    analyzeHeadless \u003cproject_location\u003e \u003cproject_name\u003e[/\u003cfolder_path\u003e] | ghidra://\u003cserver\u003e[:\u003cport\u003e]/\u003crepository_name\u003e[/\u003cfolder_path\u003e]\n        [[-import [\u003cdirectory\u003e|\u003cfile\u003e]+] | [-process [\u003cproject_file\u003e]]]\n        [-preScript \u003cScriptName\u003e [\u003carg\u003e]*]\n        [-postScript \u003cScriptName\u003e [\u003carg\u003e]*]\n        [-scriptPath \"\u003cpath1\u003e[;\u003cpath2\u003e...]\"]\n        [-propertiesPath \"\u003cpath1\u003e[;\u003cpath2\u003e...]\"]\n        [-scriptlog \u003cpath to script log file\u003e]\n        [-log \u003cpath to log file\u003e]\n        [-overwrite]\n        [-recursive]\n        [-readOnly]\n        [-deleteProject]\n        [-noanalysis]\n        [-processor \u003clanguageID\u003e]\n        [-cspec \u003ccompilerSpecID\u003e]\n        [-analysisTimeoutPerFile \u003ctimeout in seconds\u003e]\n        [-keystore \u003cKeystorePath\u003e]\n        [-connect [\u003cuserID\u003e]]\n        [-p]\n        [-commit [\"\u003ccomment\u003e\"]]\n        [-okToDelete]\n        [-max-cpu \u003cmax cpu cores to use\u003e]\n        [-loader \u003cdesired loader name\u003e]\n\n### Examples\n\n```\n$ analyzeHeadless \u003cPROJECT_PATH\u003e \u003cPROJECT_NAME\u003e -import \u003cFILE_TO_ANALYZE\u003e -scriptPath \u003cPATH_TO_YOUR_SCRIPTS_FOLDER\u003e -postScript \u003cSCRIPT_FILENAME\u003e\n```\n\nYou can find the analyzerheadless in the in Linux in `/opt/ghidra/support/analyzeHeadless`, usage\n\n```\n/opt/ghidra/support/analyzeHeadless ~/test-project disassemble -import /home/user/reverse/binaries -postScript ~/ghidra_scripts/PE_TO_ASSEMBLY.java \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xh3xa%2Fghidra_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xh3xa%2Fghidra_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xh3xa%2Fghidra_scripts/lists"}