What would be a good prank for someone who's been executing harmful PHP code in my web server using one of those $_POST ['randomstring'] scripts?

Asked by Last Modified  

2 Answers

Learn PHP

Follow 2
Answer

Please enter your answer

That's not a prank, thats hacking. They've exploited your system to allow file uploads or writing to files because you haven't taken the steps needed to secure your site. All data should be sanitized. All data should be validated. No executable code should make its way into the system. All data written...
read more
That's not a prank, thats hacking. They've exploited your system to allow file uploads or writing to files because you haven't taken the steps needed to secure your site. All data should be sanitized. All data should be validated. No executable code should make its way into the system. All data written out should be escaped to ensure safety. Sooner or later these folks will destroy your site. Clean it up. Remove pages that you didn't put there. Secure your directories, refactor your code to add verification and sanitization code. read less
Comments

Hi Latha First you need to make your website secure. because if a person can injact your website then anyone can do who know penetration testing.
Comments

Related Questions

Which is better, PHP or Python? Why?
Python . Simple syntax,More readable,General purpose programming language
Profile Photo
Kartheek
0 0
View Comments5
what is a file handling
File handling is an important part of any web application. You often need to open and process a file for different tasks. PHP has several functions for creating, reading, uploading, and editing files....
Profile Photo
Mayank
Looking for Yii Framework experts who are willing to train.
A constructor is a special method of a class in object-oriented programming that initializes an object of that type. A constructor will have same name as the class, and can be used to set the values...
Profile Photo
Pritam
How can I learn PHP?
first understand what is web server. then what is server side programming language. then start understanding how submitting form can reach to a php program. how get and post work. then
Profile Photo
Diwaker

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Read Your Gmail Emails Using PHP and IMAP
Hello Friends ,Recently I have worked on drip email campaign project for that I need to read emails using PHP From the gmail inbox. Here is the simple example for Read emails from the gmail: To start...
Profile Photo

How to create your website with PHP?
PHP is a server-side programming language used to create web pages that are more interactive than their HTML counterparts. PHP also optimizes the speed of web pages since processing occurs on the server...
Profile Photo

PHP Intro.
What is PHP? PHP is an acronym for "PHP Hypertext Preprocessor" PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP costs nothing, it is free to download and...
Profile Photo

SQL Tips (4 to 6)
SQL tips 4:Avoid INDEX, unless you need to retrieve information quickly. Index will slower insert and update data query.The another way is using sub querySelect MAX(salary)FROM employeeWHERE salary IN(Select...
Profile Photo

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Profile Photo

Recommended Articles

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for PHP Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you