Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[demo] <a href="javascript:..."> in my-view2 is hooked multiple times #365

Open
t2ym opened this issue Jul 29, 2020 · 0 comments
Open

[demo] <a href="javascript:..."> in my-view2 is hooked multiple times #365

t2ym opened this issue Jul 29, 2020 · 0 comments
Labels

Comments

@t2ym
Copy link
Owner

t2ym commented Jul 29, 2020

[demo] <a href="javascript:..."> in my-view2 is hooked multiple times

Root Cause

  • Under Investigation

Original code

<a href="javascript:alert('clicked')">

Malhooked a.href code

javascript:const __8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__=$hook$.$(__hook__,['/components/thin-hook/demo/,a,href@1718','/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_alias_object__;/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_callback_function__;/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_callback_function__;/components/thin-hook/demo/,a,href@1718','_uNpREdiC4aB1e___unexpected_access_to_hook_alias_object__;/components/thin-hook/demo/,a,href@1718']);__hook__((...args)=>(__hook__(()=>{const __b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__=__hook__('()',$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1],'__unexpected_access_to_hook_alias_object__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[2]],['$',[$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[3]],['/components/thin-hook/demo/my-view2.html,a,href@1718','_uNpREdiC4aB1e_alert;/components/thin-hook/demo/my-view2.html,a,href@1718']]],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1]);__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[(...args)=>__hook__((...args)=>__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[(...args)=>(__hook__(()=>{__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[__hook__('.',__hook__('()',$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_alias_object__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[5]],['global',[$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),'alert','get']],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),[__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[1],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),null,['clicked'],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);},null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])),null,args,__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0),null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),null,[],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);},null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])),null,[],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);

@t2ym t2ym added the bug label Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant