Tib3rius Profile picture
Feb 14, 2023 3 tweets 2 min read Read on X
More SQLi tips.

1. Append a ' or " to a valid param value.
2. If the response changes, replace the ' or " with each of these in turn (sub ' with " as needed):

' '
'||'
'+'

3. If you get the original response back, you likely have SQLi.

#bugbountytips #Cybersecurity #InfoSec
I call this the "break and repair" method. Your initial ' or " breaks the statement syntax.

The 3 values in step 2 are "repairs". They change your initial break into a valid concatenation with an empty string, which results in the original value (and response).
Once you have a potential SQLi, you can use boolean logic to confirm it.

Replace your repair with:

' AND '1'='1
' AND '1'='2

The first should get the same response as the initial (non-SQLi) value. The second should not.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Tib3rius

Tib3rius Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @0xTib3rius

May 12
10 Burp extensions I actually use... BUT none of them are in the top 30 most popular in the BApp Store!

I get tired of seeing the same extensions come up in "top 10" lists. Here are some hidden gems you might not have tried... yet. In no particular order.

🧵👇 Image
Authentication Token Obtain and Replace (ATOR)

Session expiration is the bane of automation. If a session token expires mid scan, you're left with incomplete results. ATOR detects expired tokens, re-authenticates, and updates requests with the fresh token. Perfect for non-cookie session tokens!Image
SAML Raider

If you've never tested an API that uses SAML, you're lucky. If you have, you know how frustrating of an experience it can be. SAML Raider is a must have, allowing you to edit, sign, and manipulate SAML messages directly within Burp. Image
Read 12 tweets
May 11
I often get asked what tools I use for web app pentesting, and people are surprised when I say it's 99% Burp Suite Pro. Here's why...

🧵👇 Image
It's called a "Suite" for a reason. It has a lot of features baked in: interception, scanning, fuzzing, analysis, plus extensions that make most external tools redundant. Image
Need to brute-force parameters, fuzz and detect interesting responses, or send large numbers of payloads? Intruder is powerful, fast, and fully customizable. It handles most use cases where you'd otherwise use wfuzz or ffuf. Image
Read 10 tweets
Aug 5, 2023
OK, I have no idea how long this series of tweets will be, but I've heard from several people associated or previously associated with NCC. While I've verified the association, bear in mind that a lot of this is from single sources.

To start with, here's some backstory on the… twitter.com/i/web/status/1…
Since February, NCC NA has tried to diversify its customer base more and has slashed its day rates to remain competitive. NCC Group also started an initiative to create a new center in Manila, where they can offshore cheap scan work.

One source alleged that the team sent to help… twitter.com/i/web/status/1…
Round 2 of the layoffs started on Wednesday, August 2nd. Another short-notice North American all-hands meeting was called with the new COO. Prior to this meeting occurring, employees become aware that several people are being called by senior leadership and let go.

This… twitter.com/i/web/status/1…
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(