Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

how to exploit AJAX from client

hi Friends,

i found some security file .js and How can exploit AJAX function from client?

-- example function --
function getRaw(user, id){
    var usr  = $('#user-carts').text();
    window.open('website?method=raw&user=' + (usr ? usr : user) + '&product=' + $('#purchases_product').val() + '&id=' + id, '_blank');
}

Can bypass authentication and call this function from client to get raw? any sugestion for me. Thanks
I think you can try to look if one of this parameters are vulnerable to SQLi.
website.com?method=raw&user=1&product=1&id=1


Possibly Related Threads...
Thread / Author Replies Views Last Post
by zazasNov 11, 2022 08:27 AM 12 288 Nov 11, 2022 08:27 AM
Last Post: Brief
by NayanMar 21, 2020 09:28 AM 5 209 Mar 21, 2020 09:28 AM
Last Post: BigJoe7413
by chaddiousAug 15, 2016 08:29 AM 0 160 Aug 15, 2016 08:29 AM
Last Post: chaddious