Replying to @jamesjguthrie
People who complain about lines at defcon should stick with black hat or other advertisement shows
38
Replying to @Ajarncom
If you pay a premium and get Ryanair food , something is off. Even if one values space or a flat bed way more
45
Replying to @intigriti
Lang Redirect url and username are not escaped at all and are prone to xss
213
Replying to @georg_ringer
Awesome! Looking forward to give it a try as soon as I got some spare time
11
Replying to @StefanFroemken @georg_ringer
So was ist immer Mega und dann wundern sich die Editoren warum nichts mehr erreichbar ist, weil eine Seite oder sogar nur ein Content gelöscht wurde
10
dev-Dedication🔹 retweeted
I posted how this works over here → teapawt.net/wesbos/status/17277305…
dev-Dedication🔹 retweeted
How to XSS 101:
Understanding the Basics:
----------------------
Educate Yourself:
Understand HTML, JavaScript, and the basics of web application security, especially different types of XSS vulnerabilities.
Preparation:
Test and learn at labs.hackxpert.com/
Discovering XSS:
Identify Input Vectors:
Look for areas in the application where user input is accepted, like text fields, search bars, and URL parameters.
Test Input Reflection:
Enter a unique value (e.g., a random string) into the input vectors you identified.
Observe where and how this value is reflected in the application.
Identify Context:
Determine the context in which your input is reflected, such as within HTML, a script, an attribute, etc.
Craft Context-Specific Payloads:
Based on the identified context, craft payloads designed to exploit XSS. For example, if your input is reflected within a script, you might try breaking out of the script context.
Test Your Payloads:
Inject your payloads into the input vectors and observe the application's behavior.
Advanced Testing:
----------------------
Bypassing Filters:
If there are filters in place, try to understand their rules and craft payloads to bypass them.
Examine JavaScript Files:
Look for unsafe handling of user input in the application's JavaScript code which might lead to DOM-based XSS.
Utilize Browser Developer Tools:
Use browser developer tools to understand how your payloads are being handled, and to debug your tests.
Crafting a context specific payload:
----------------------
1. Understanding Contexts:
Familiarize yourself with different contexts like HTML, JavaScript, and attribute contexts.
Understand how data is handled and displayed within these contexts.
2. Identify Reflection Context:
Input a unique identifier into the application (e.g., "123XYZ").
Determine where and how your input is reflected in the page’s source code.
3. HTML Context:
If your input is reflected within HTML:
Try breaking out of the current HTML element by using characters like ">.
Craft a payload that introduces a new HTML element, like <img src=x onerror=alert(1)>.
4. Attribute Context:
If your input is reflected within an HTML attribute:
Attempt to break out of the attribute using a quote (") or apostrophe (')
Then, introduce a new attribute to execute JavaScript, like onmouseover=alert(1)
5. JavaScript Context:
If your input is reflected within a script:
Look for opportunities to break out of the current JavaScript context using characters like ;, }, or ].
Try introducing new JavaScript code, like ;alert(1);.
6. URL Context:
If your input is reflected within a URL:
Test for DOM-based XSS by manipulating the URL parameters.
Use payloads like #"><img src=x onerror=alert(1)> to test for reflection and execution.
7. Event Handler Context:
If your input is reflected within an event handler:
Try to close the event handler and introduce your own script.
Example payload: ";alert(1);//.
8. Style Context:
If your input is reflected within a style:
Attempt to break out of the style context and introduce a script.
Example payload: </style><script>alert(1)</script>.
9. Testing:
Test your context-specific payloads to see if they trigger an XSS vulnerability.
Utilize browser developer tools to debug and refine your payloads.
10. Advanced Techniques:
Learn about encoding and filtering bypass techniques to create more sophisticated payloads.
dev-Dedication🔹 retweeted
🔥 CSS Grid Hot Tip
:before and :after are first class CSS Grid items, this “lines on either side” design can easily be accomplished in ~10 lines of CSS
dev-Dedication🔹 retweeted
Can you pop alert(1) here?
10$ reward for the first valid solution! 💢🔥
octagon.net/chal/10.php








