Skip to content

d0ntbe/QRCoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QRCoder

QR generator for Mobile Security testing. For QR gen uses this "github.com/skip2/go-qrcode". Thx!

USAGE:

Example: go run main.go deeplink://aplication/api/v1/ppp

Example: go run main.go deeplink://aplication/api/v1/ppp?title=hello#popla=gopla#index=123#toto=3v

Example: QRCoder.exe superbank://linktoapp/p2p

If use Windows - do not forgot double quotes. Example: QRCoder.exe "ddd://ooooo?dsdsasd=123&dddaq=1"

Payloads are in payloads.txt. But you can also add your specified payloads, line by line.

image

image

Vulns:

  1. Open Redirect
  2. XSS
  3. DoS
  4. Fishing (Phishing)
  5. Banking: payment by details from
  6. Local SQLi (Android, IOS)
  7. Broken Object Level Authorization (Auth Bypass Mobile App, Read Local File)

Examples:

appbank://link?https://www.p@yment.com/account=78127312936781&sum=100&cur=rub -> image

appbank://link?https://www.p@yment.com/account=youtubik.ev11il.com&sum=100&cur=rub -> image

Also, for example, it could be intercepted by Frida. Firstly, u have to find out the right function in the code, wich works with QR-code data.

It works differently for different Apps. JS Code example for Frida:

var frida = require('frida');

function processQRCode(data) {
console.log(data);
}

Interceptor.attach(Module.findExportByName('SOME_CLASS_LIB_or_SMTH', 'processQRCode'), {
onEnter: function(args) {
args[0] = 'superbank://ooooo?dsdsasd=<script>alert(1)</script>&dddaq=http://evil.com';  // your payload
processQRCode(args);
}
});

frida.spawn('com.example.app').then(session => {
session.attach('SOME_CLASS_LIB_or_SMTH').then(() => {
console.log('Attached to SOME_CLASS_LIB_or_SMTH');
});
});

About

QR generator for Mobile Security testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages