Title: [Bug] DeadCodeInjection puts unobfuscated code · Issue #708 · javascript-obfuscator/javascript-obfuscator · GitHub
Open Graph Title: [Bug] DeadCodeInjection puts unobfuscated code · Issue #708 · javascript-obfuscator/javascript-obfuscator
X Title: [Bug] DeadCodeInjection puts unobfuscated code · Issue #708 · javascript-obfuscator/javascript-obfuscator
Description: I think it is too obviously if all code is obfuscated but some part don't. I think this bug is because obfuscator doesn't obfuscate variables and function that weren't declared in current scope. DeadCodeInjector just steals a part of cod...
Open Graph Description: I think it is too obviously if all code is obfuscated but some part don't. I think this bug is because obfuscator doesn't obfuscate variables and function that weren't declared in current scope. De...
X Description: I think it is too obviously if all code is obfuscated but some part don't. I think this bug is because obfuscator doesn't obfuscate variables and function that weren't declared in curre...
Opengraph URL: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/708
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug] DeadCodeInjection puts unobfuscated code","articleBody":"I think it is too obviously if all code is obfuscated but some part don't.\r\n\r\n\r\n\r\nI think this bug is because obfuscator doesn't obfuscate variables and function that weren't declared in current scope. DeadCodeInjector just steals a part of code, but declaration of variable is in outer scope.\r\n\r\nSo my solution is to run deadCodeInjection after renaming variables.\r\n\r\n","author":{"url":"https://github.com/da411d","@type":"Person","name":"da411d"},"datePublished":"2020-08-14T15:52:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/708/javascript-obfuscator/issues/708"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:06e920bb-fb69-4a01-959e-b2adde7b5095 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4BC:1C1873:B5DE48:F8832A:6A62F506 |
| html-safe-nonce | b061a7f05220dc6f999b258972c701aa74db2fd4d72601798c3c66cd3d5a9e1c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEJDOjFDMTg3MzpCNURFNDg6Rjg4MzJBOjZBNjJGNTA2IiwidmlzaXRvcl9pZCI6IjczMzY1NTEzMjU5Mjg0NTMzODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 58d57d8e7a82c98560522aaef3047466b5f038192c6896644c5b1ae9923e98d7 |
| hovercard-subject-tag | issue:679247989 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javascript-obfuscator/javascript-obfuscator/708/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db9e54ac08c546d9d7cc541ee3fc6492079392407d6981211821ea53e56c461a/javascript-obfuscator/javascript-obfuscator/issues/708 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db9e54ac08c546d9d7cc541ee3fc6492079392407d6981211821ea53e56c461a/javascript-obfuscator/javascript-obfuscator/issues/708 |
| og:image:alt | I think it is too obviously if all code is obfuscated but some part don't. I think this bug is because obfuscator doesn't obfuscate variables and function that weren't declared in current scope. De... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | da411d |
| hostname | github.com |
| expected-hostname | github.com |
| None | b415018e190e73858133ddcaa36acce7b3f3572fe54dda84bd3b21a6ec714c30 |
| turbo-cache-control | no-preview |
| go-import | github.com/javascript-obfuscator/javascript-obfuscator git https://github.com/javascript-obfuscator/javascript-obfuscator.git |
| octolytics-dimension-user_id | 23015672 |
| octolytics-dimension-user_login | javascript-obfuscator |
| octolytics-dimension-repository_id | 58360147 |
| octolytics-dimension-repository_nwo | javascript-obfuscator/javascript-obfuscator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58360147 |
| octolytics-dimension-repository_network_root_nwo | javascript-obfuscator/javascript-obfuscator |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22f98521e99f504294ab0812b66104d50eb75a70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width