Skip to content

Instantly share code, notes, and snippets.

View jcalabres's full-sized avatar

Joan Calabrés jcalabres

View GitHub Profile
@jcalabres
jcalabres / delete_commits.sh
Last active January 12, 2020 14:01
Delete all commits from Git
git checkout --orphan latest_branch && \
git add -A && \
git commit -am "initial commit" && \
git branch -D master && \
git branch -m master && \
git push -f origin master
@jcalabres
jcalabres / truck.js
Last active January 12, 2020 14:02
CyberTruckChallenge19 Solutions (Frida)
Process.enumerateModules({
onMatch: function(module){
console.log('Module name: ' + module.name + " - " + "Base Address: " + module.base.toString());
if (module.name=="libnative-lib.so"){
var secret=""
Interceptor.attach(module.base.add(0x06cf), function() {
var x = this.context.eax;
var y = this.context.ecx;
var z = x ^ y;
secret+=String.fromCharCode(z)