Iframes containing phps files are automatically downloaded - iframe

I really don't understand this, I created several tutorials that contain iframes with phps files(examples of code). On my localhost server they were displayed fine, now that I've uploaded it to my webhost it starts downloading the iframes sources when I open the tutorials.
What can be the cause of this??

Related

Google ADs complains about Nextjs Chunks

Recently we attempted to advertise our website via google ads. However, we got a reply regarding "malicious links" that should be removed from our website. Said files (.js) are, in fact, just chucks of the NextJs build located under /_next/static/chucks/.
Has anyone experienced this issue before? I assume that their crawler labeled these .js chunks as malicious for some reason, but many of the files they linked are simply small chunks containing a single line of code.
Here is an example of such a (one-liner) file:
(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[10],[]]);
Obviously, deleting these files would cause the website to cease working. We explained as much but they told us that there was nothing that could be done unless we delete these files.
Am I missing something obvious here?

ASP.NET site not updating after changes

So, I have a pretty basic ASP.NET site that was built and published via ftp through VS. Original publication went fine, as did the first few updates. But now I've made page changes (css as well as in the aspx files) and they don't seem to get pushed to the server. I believe that my code behind (C#) files are being updated since there are a few visual elements I call in the code. When I look at the ASPX files, they have old dates and the code is the prior version. VS says the publishing succeeded, and the host (GoDaddy) says there's no caching or quota issues on their side. If I upload a new dummy page it goes through... so it looks like updated pages are the issue.
What am I missing?
If it's styles have you tried doing a hard-refresh on your browser? If everything is saying the files are updated then maybe you have a locally cached version.

My site got hacked and he left behind an encrypted filed

This morning I logged onto my website and shockingly I found that it just spit out error messages and some kind of upload form was displayed. A form that basically uploads a file onto my server.
I logged into my server and had a look at the access log. It seems he accessed the function file of my wordpress theme, fully deleted the original and created an upload form out of it.
With that upload form he then uploaded the following file.
Edit: I had to copy the code to hastebin, it was too big to be posted here.
http://hastebin.com/itedinefiz.php
He named the file web-info.php. I did not run the file because I am afraid that it might do some harmful things to my site.
Could anyone tell me what this file does?
Anyway, I have restored the functions.php file of my wordpress theme and deleted that web-info.php file form the server and now it seems that the website is running again.
Oh and my guess he gained access to my website because my login credentials were very easy... very stupid of me :(
After doing a bit research this what I came up with.
The malicious file that I have posted above, was encoded using eval(gzinflate(base64_decode));
Thanks to http://ddecode.com/phpdecoder/ I was able to decoded it, here is the raw PHP file that the hacker left behind:
http://pastebin.com/fAEQn2j7
I ran the file on my local machine, holy crap! It's a full on rootkit. It has massive interface that covers pretty much anything to take over the entire server. It seems to let you browser the entire files on the server, run sql code, run php code, brutforce options, network option and so on.
I think the safest it to cancel the entire VPS that I am renting from Bluehost, a normal wordpress deinstallation won't do any good.

Edits in .asp net website wont show

i've got an issue with website made in asp.net. A site is published and online, i've made some modifications, republished site on my computer and just uploaded a .aspx file into the server via ftp.
First time it seems to have worked after a while. But i've made a small error and want to edit it again, i did the same, but it wont change. Could it be that i need to wait some time before changes are seen? Or could it be that there needs to be a server restart or something?
If you've edited something in the aspx.cs page you will need to upload the bin directory to the remote site, or better still republish the whole site.
If it is a change to the .aspx, css or javasctipt file, the original will most likely be cached in your browser. Try a differrent browser brand or refreshing the page, ctrl-f5 does a complete refresh.
If this error was by any chance a CSS mistake, that can be easily fixed by adding a "?" at the end of the address since CSS files are normally stored in the cache of the browser and the ? tells the browser to update them. Same thing is true about JavaScripts which are kept in individual files
I'd recommend you to use the Visual Studio Publish Website under the Build instead of manually uploading the site over FTP. That built in publisher provides you many advantages of which one of them is the same issue you have faced. When you make a small change, fixing the error in host would be very faster by republishing the site that way rather than manually upping it over FTP.

loader.asp loading small files but not large files

Hi I have a problem with uploading files to my server through an admin system. I myself do not really work with ASP scripting much, so I don't understand the problem.
When uploading files like thumbnails there seems to be no problem with the script, but when trying to upload the bigger images it does not work and gives me an Internal server error 500 (There is a problem with the resource you are looking for, and it cannot be displayed.)
The loading script that is used is call LOADER.ASP and as said before using small files, the script uploads fine and all entries are made into the the database just fine.
If anyone could just give me a hint to why this might happen or what could be the cause for giving the error it woulds realy help
Thank you

Resources