alexcambose / x-frame-options

x-frame-options bypass

Home Page:https://medium.com/@alexcambose/bypassing-x-frame-options-4934dd852618

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple issues i ran into

Slluxx opened this issue · comments

  • everything besides the actual site is not requested with the port so does not display
    a fix would be adding the port to theline which alters the request urls
    return ` ${p1}="${req.protocol}://${req.hostname}:${port}?url=${newUrl}"`;

  • encoding does not seem right
    i used "iso88592" and data = iso88592.decode(data.toString('binary')); to decode the content but that does not seem to work always

  • google and many other sites dont use their full url to redirect but only use /?searchquery=something which does not get processed by express and axios.

It would be awesome if you could spend a few minutes and update this repository!