/usr/share/radare2/0.9.6/www/log.html is in libradare2-common 0.9.6-3.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <html>
<head>
<title>r2 log chat</title>
<script src="new/r2.js"></script>
<script>
var logger = null;
function init () {
logger = r2.get_logger ().on ("message", function (msg) {
var out = document.getElementById ('out');
out.innerHTML += "<br />"+msg.text;
});
// logger.send ("hello world");
logger.autorefresh (3);
}
function sendmsg() {
var msg = document.getElementById ("input").value;
if (logger) logger.send (msg);
}
</script>
</head>
<body onload="init()">
<input id="input" >
<input type="button" value="send" onclick="sendmsg()">
<div id="out" style="background-color:#d0d0d0; height:150px;overflow:scroll"> </div>
</body>
</html>
|