Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4114528
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:28:00+00:00 2026-05-20T22:28:00+00:00

Here’s a basic plan. I’m happy to produce anything resembling success, it’s a Uni

  • 0

Here’s a basic plan. I’m happy to produce anything resembling success, it’s a Uni project. Pseudo code is great.

  1. Spider the site.
  2. Search for forms on each page.
  3. Submit each form without filling in the details to elicit a guaranteed fail.
  4. Fill in the first field on the form with ‘– .
  5. Submit the form and compare the response to the fail (elicited by 3).
  6. If response (elicited by 5) is different (than fail) then assume vulnerability.
  7. If same (response = fail) then return to 4. but move to the next field.
  8. If no more fields remain, move to another page.

…

However, 6. is clearly both the critical part of the application and wrong. For example, a page might respond like this

Error: '-- is not a valid user name.

Where in stage 4. the response was

Error:  is not a valid user name.

Or

Error: username must be a minimum of 6 characters.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:28:00+00:00Added an answer on May 20, 2026 at 10:28 pm

    “SQL Injection Attacks and Defense” by Justin Clarke.

    Offers a number of tests to discover and confirm SQL injection vulnerabilities, here’s my summary of page 65.

    Error triggering

    “Send ' or '-- and expect to receive an error.”

    An error message or 500 server error indicates vulnerability. Responses tidily containing ' or '-- (as in user ' or '-- is not available with that password…) probably aren’t vulnerable unless its a stack-trace.

    Always true condition

    “Send 1' or '1'='1 or 1') or ('1'='1 and expect to receive every entry in the database.”

    A site can be assumed to be vulnerable when the response code is 200 and the attack string is not received in the response. Pages containing the word ‘error’ or the attack string indicate resistance, as does a 500.

    No condition

    “Send value' or '1'='2 or value') or ('1'='2 and expect a vulnerable app to respond as though it had only received value.”

    Always false condition

    “1' and '1'='2 or 1') and ('1'='2. If successful, it returns no rows from the table.”

    Microsoft SQL Server concatenation

    “1' or 'ab'='a'+'b or 1') or ('ab'='a'+'b. If successful, it returns the same
    information as an always true condition”

    MySQL concatenation

    “1' or 'ab'='a' 'b or 1') or ('ab'='a' 'b. If successful, it returns the same
    information as an always true condition”

    Oracle concatenation

    “1' or 'ab'='a'||'b or 1') or ('ab'='a'||'b. If successful, it returns the same
    information as an always true condition”

    Further examples are included throughout the book.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the skeleton of some basic code I am writing to make a
Here is some simple code: DIR* pd = opendir(xxxx); struct dirent *cur; while (cur
Here's the code in AlertTableView: - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ NSInteger index = 12345; NSLog(@AlertTableView:
Here's the basic setup: I have a thin bar at the top of a
Here is an example: I write html code inside of textarea, then I swap
Here's my code. It tries to load Leaflet library. When I turn crossDomain option
Here is a app contorller directory from Rails project doing a self study for
Here is my code...I have two dimensional matrices A,B. I want to develop the
Here is my code sample, let me know if it can be further improved?
Here is my code (Say we have a single button on the page that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.