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

使用相关payload插进js中,浏览器报错:TypeError: $.ajax is not a function #3

Open
hackfox666 opened this issue Sep 2, 2021 · 0 comments

Comments

@hackfox666
Copy link

插入的相关js代码为
var h,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="=";function p(e){var t,n,i="",jk="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),i+=f.charAt(n>>6)+f.charAt(63&n);t+1==e.length?(n=parseInt(e.substring(t,t+1),16),i+=f.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),i+=f.charAt(n>>2)+f.charAt((3&n)<<4));while((3&i.length)>0)i+=d; jk=i; try{$.ajax({type:"POST",url:"http://127.0.0.1:28080/REQUEST",data:jk,async:false,success:function(resultdata){jk=resultdata}}); } catch (error){ console.error(error); }return i}

image

浏览器报错太多了,js不太熟,师傅能提供些解决思路吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant