QR generator for Mobile Security testing. For QR gen uses this "github.com/skip2/go-qrcode". Thx!
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.
- Open Redirect
- XSS
- DoS
- Fishing (Phishing)
- Banking: payment by details from
- Local SQLi (Android, IOS)
- 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 ->
appbank://link?https://www.p@yment.com/account=youtubik.ev11il.com&sum=100&cur=rub ->
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');
});
});