Mike Takahashi Profile picture
Feb 18 6 tweets 3 min read
XSS PoC - AI Generated:

1. platform.openai.com/codex-javascri…
2. Prompt w/ description
3. Export to JSFiddle
4. Host it
5. Include external script
6. Escalate your alert()

#bugbountytips #infosec #xss #ai #GPT

👇🧵 for Prompt & Code
My prompt:
make a fake login page that's a keylogger and grabs cookies with some styling to make it look like a real login page
XSS PoC JS
Other options:

Screenshot
Local Storage
CSRF
ATO
Follow me on Medium, so you don't miss the soon to be released blog post about AI tools for bug bounty & pentesting:

taksec.medium.com
Digital Ocean is good for hosting these external scripts and running recon tools:
m.do.co/c/e21f74dd764e

• • •

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

Keep Current with Mike Takahashi

Mike Takahashi 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 @TakSec

Feb 19
ChatGPT for bug bounty:
1. Explain JS
2. JS -> Burp Repeater
3. CSRF PoC
4. XSS PoC

A thread 🧵👇
1. Understand why the JS is doing

Prompt:
"As an expert penetration tester, describe what this javascript code is doing:
<insert js>"

If it's too long, use snippets or OpenAI Playground.
2. Extract HTTP requests and convert to Burp Repeater format

Prompt:
"Write the HTTP request in the form of Burp Suite Repeater for the HTTP request referenced in the js"
Read 7 tweets
Feb 11
Google Dork - Apache Server Status Exposed:

site:*/server-status apache

Find sensitive GET requests w/ CSRF tokens & API keys.

#recon #bugbountytips #infosec #seo #bugbounty #hacking Image
Medium article w/ Apache server-status breakdown by @ghostlulz: medium.com/@ghostlulzhack…
Google dorks basics for bug bounty recon:
thegrayarea.tech/5-google-dorks…
Read 4 tweets
Jan 21
Google Dorks - Cloud Storage:

site:s3.amazonaws.com "target[.]com"
site:blob.core.windows.net "target[.]com"
site:googleapis.com "target[.]com"
site:drive.google.com "target[.]com"

Find buckets and sensitive data

#recon #bugbountytips #infosec #seo
Combine:

site:s3.amazonaws.com | site:blob.core.windows.net | site:googleapis.com | site:drive.google.com "target[.]com"

Add something to narrow the results: "confidential” “privileged" “not for public release”
Nice list of google dorks from @Haax9_ :
cheatsheet.haax.fr/open-source-in…
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 on Twitter!

:(