List files of backup is empty
Hello, I have a problem about list backup files. I have an infra in multi-servers, I see correctly my backups servers, clients and backup. But when I click on 1 backup, the page is empty.
I have look the code, and the function get_tree and I execute command directly on backup server (burp-ui agent) it works:
c:server:b:224:p:/home/
{
"clients": [
{
"name": "cloud.socodex.eu",
"run_status": "running",
"protocol": 1,
"phase": "unknown",
"backups": [
{
"number": 224,
"timestamp": 1466953164,
"flags": [
"manifest"
],
"logs": {
"list": [
"backup",
"backup_stats"
]
},
"browse": {
"directory": "/home",
"entries": [
{
"name": ".",
"dev": 65026,
"ino": 2,
"mode": 16877,
"nlink": 7,
"uid": 0,
"gid": 0,
"rdev": 0,
"size": 4096,
"blksize": 4096,
"blocks": 8,
"atime": 1466870403,
"ctime": 1463510688,
"mtime": 1463510688
},
[...]
]
}
}
]
}
]
I have looking for ACL, but I have no errors 403. I try to launch script with -d mode but I see no log:
burp-ui -c burp-ui.cfg -d -v -l /tmp/logs.log
In backup server, burp version is burp-2.0.40. and burp-ui: v0.2.1
Regards, Ben
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Owner
Hello,
You can increase the log verbosity by adding more v like this:
burp-ui -c burp-ui.cfg -d -vvvv -l /tmp/logs.log
.If you see no 403 error, then there is no restriction on the page so the tree should be able to load.
What does the following command return?
curl -u <your_username> -X GET http://localhost:5000/api/<your_agent_name>/browse/<your_client_name>/224 -d "root=/home"
Hello,
Thank you for you quiclky response, Thank you for the logs level.
The request respond:
curl -u admin -X GET 'http://localhost:5002/api/client/backup3/browse/cloud.socodex.eu/226' -d "root=/home" Enter host password for user 'admin': [ { "children": null, "date": "2015-07-26 17:11:12+02:00", "expanded": false, "folder": true, "fullname": "/home/ansible", "gid": 1002, "inodes": 4, "key": "/home/ansible", "lazy": true, "mode": "drwxr-xr-x", "name": "ansible", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "ansible", "type": "d", "uid": 1002 }, { "children": null, "date": "2016-05-17 12:20:52+02:00", "expanded": false, "folder": true, "fullname": "/home/fixit", "gid": 1001, "inodes": 4, "key": "/home/fixit", "lazy": true, "mode": "drwxr-xr-x", "name": "fixit", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "fixit", "type": "d", "uid": 1001 }, { "children": null, "date": "2014-11-09 21:51:16+01:00", "expanded": false, "folder": true, "fullname": "/home/lost+found", "gid": 0, "inodes": 2, "key": "/home/lost+found", "lazy": true, "mode": "drwx------", "name": "lost+found", "parent": "/home", "selected": false, "size": "16.0KiB", "title": "lost+found", "type": "d", "uid": 0 }, { "children": null, "date": "2016-05-17 21:52:45+02:00", "expanded": false, "folder": true, "fullname": "/home/retaure_13", "gid": 0, "inodes": 5, "key": "/home/retaure_13", "lazy": true, "mode": "drwxr-xr-x", "name": "retaure_13", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "retaure_13", "type": "d", "uid": 0 }, { "children": null, "date": "2016-05-17 13:49:26+02:00", "expanded": false, "folder": true, "fullname": "/home/www-data", "gid": 0, "inodes": 4, "key": "/home/www-data", "lazy": true, "mode": "drwxr-xr-x", "name": "www-data", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "www-data", "type": "d", "uid": 0 } ]
I will check debug logs: When I load page http://localhost:50002/backup3/client-browse/cloud.socodex.eu/223 in burp-ui machine
- - [01/Jul/2016 13:54:56] "GET /backup3/client-browse/cloud.socodex.eu?backup=223 HTTP/1.1" 302 - - - [01/Jul/2016 13:54:56] "GET /backup3/client-browse/cloud.socodex.eu/223 HTTP/1.1" 200 - -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:148]: func: is_one_backup_running - False -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:354]: func: is_one_backup_running - True -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.conn [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:368]: OK, connected to agent backup3.fixit-cs.com:10000 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:427]: Sending: {"password": "abcd234er5TDSDF", "args": {"agent": "backup3"}, "func": "is_one_backup_running"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:429]: recv: 'OK' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:438]: Data sent successfully -------------------------------------------------------------------------------- 192.168.5.109 - - [01/Jul/2016 13:54:57] "GET /api/clients/backup3/backup-running HTTP/1.1" 200 - -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:148]: func: get_tree - True -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:354]: func: get_tree - True -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:427]: Sending: {"password": "abcd234er5TDSDF", "args": {"backup": 223, "name": "cloud.socodex.eu"}, "func": "get_tree"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:429]: recv: '' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:436]: Ooops, unsuccessful! -------------------------------------------------------------------------------- 192.168.5.109 - - [01/Jul/2016 13:54:57] "GET /api/client/backup3/browse/cloud.socodex.eu/223 HTTP/1.1" 200 -
And I have in my bui-agent machine this log:
INFO in agent.handle [/usr/local/lib/python2.7/dist-packages/burpui/agent.py:169]: result: ["cloud.socodex.eu"]
regards, Ben
Edited by Benlo- Owner
Hm,
So it looks the "backend" is working fine since the curl seem to return the right result.
Do you have a screenshot of the page or something?
What about the
curl
withroot=/
instead of/home
? - Owner
Okay, so this looks like a bug now ;)
I suspect there is a weird path under your /
Using the monitor like you did earlier can you send me the output of
c:server:b:224:p:/
? - Benjamin "Ziirish" SANS Added bug label
Added bug label
- Benjamin "Ziirish" SANS Milestone changed to %v0.3.0
Milestone changed to %v0.3.0
- Benjamin "Ziirish" SANS Reassigned to @ziirish
Reassigned to @ziirish
The response is like earlier,
root@backup3:# burp -c /etc/burp/burp-backup3.conf -a m { "logline": "auth ok" } { "logline": "Server version: 2.0.40" } { "logline": "nocsr ok" } { "logline": "SSL is using cipher: DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH Au=RSA Enc=AESGCM(256) Mac=AEAD " } { "logline": "extra_comms_begin ok:autoupgrade:incexc:orig_client:uname:sincexc:msg:forceproto=1:rshash=blake2:" } { "logline": "Server is forcing protocol 1" } { "logline": "in monitor" } c:server:b:224:p:/ { "warning": "Could not find client" } c:cloud.socodex.eu:b:224:p:/ { "clients": [ { "name": "cloud.socodex.eu", "run_status": "running", "protocol": 1, "phase": "unknown", "backups": [ { "number": 224, "timestamp": 1466953164, "flags": [ "manifest" ], "logs": { "list": [ "backup", "backup_stats" ] }, "browse": { "directory": "/", "entries": [ { "name": "etc", "dev": 65024, "ino": 130564, "mode": 16877, "nlink": 92, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1466942403, "ctime": 1464714950, "mtime": 1464714950 }, { "name": "home", "dev": 65026, "ino": 2, "mode": 16877, "nlink": 7, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1466870403, "ctime": 1463510688, "mtime": 1463510688 }, { "name": "var", "dev": 65024, "ino": 146634, "mode": 16877, "nlink": 5, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1466915346, "ctime": 1466915226, "mtime": 1466915226 } ] } } ] } ] }
- Owner
Ok, so
curl -u admin -X GET 'http://localhost:5002/api/client/backup3/browse/cloud.socodex.eu/226' -d "root=/"
is wrong becausec:cloud.socodex.eu:b:224:p:/
does not seem weird at all.Besides,
curl -u admin -X GET 'http://localhost:5002/api/client/backup3/browse/cloud.socodex.eu/226' -d "root=/home"
is fine.Unfortunately, there is no way (yet) to specify a custom
root
on the browsing view. That's probably something I can do, but right now I don't really understand what happens in your situation.Regarding your logs I guess you are running burp2.
In your agent configuration, you could probably increase the
timeout
under the[Burp2]
section to 15 (the default is 5 in v0.2.0). I 'm sorry, for the number, but with
curl -u admin -X GET 'http://localhost:5002/api/client/backup3/browse/cloud.socodex.eu/226' -d "root=/" Enter host password for user 'admin': [ { "children": null, "date": "2016-05-31 19:15:50+02:00", "expanded": false, "folder": true, "fullname": "/etc", "gid": 0, "inodes": 92, "key": "/etc", "lazy": true, "mode": "drwxr-xr-x", "name": "etc", "parent": "/", "selected": false, "size": "4.0KiB", "title": "etc", "type": "d", "uid": 0 }, { "children": null, "date": "2016-05-17 20:44:48+02:00", "expanded": false, "folder": true, "fullname": "/home", "gid": 0, "inodes": 7, "key": "/home", "lazy": true, "mode": "drwxr-xr-x", "name": "home", "parent": "/", "selected": false, "size": "4.0KiB", "title": "home", "type": "d", "uid": 0 }, { "children": null, "date": "2016-06-28 06:26:01+02:00", "expanded": false, "folder": true, "fullname": "/var", "gid": 0, "inodes": 5, "key": "/var", "lazy": true, "mode": "drwxr-xr-x", "name": "var", "parent": "/", "selected": false, "size": "4.0KiB", "title": "var", "type": "d", "uid": 0 } ] root@infra:~# curl -u admin -X GET 'http://localhost:5002/api/client/backup3/browse/cloud.socodex.eu/224' -d "root=/home" Enter host password for user 'admin': [ { "children": null, "date": "2015-07-26 17:11:12+02:00", "expanded": false, "folder": true, "fullname": "/home/ansible", "gid": 1002, "inodes": 4, "key": "/home/ansible", "lazy": true, "mode": "drwxr-xr-x", "name": "ansible", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "ansible", "type": "d", "uid": 1002 }, { "children": null, "date": "2016-05-17 12:20:52+02:00", "expanded": false, "folder": true, "fullname": "/home/fixit", "gid": 1001, "inodes": 4, "key": "/home/fixit", "lazy": true, "mode": "drwxr-xr-x", "name": "fixit", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "fixit", "type": "d", "uid": 1001 }, { "children": null, "date": "2014-11-09 21:51:16+01:00", "expanded": false, "folder": true, "fullname": "/home/lost+found", "gid": 0, "inodes": 2, "key": "/home/lost+found", "lazy": true, "mode": "drwx------", "name": "lost+found", "parent": "/home", "selected": false, "size": "16.0KiB", "title": "lost+found", "type": "d", "uid": 0 }, { "children": null, "date": "2016-05-17 21:52:45+02:00", "expanded": false, "folder": true, "fullname": "/home/retaure_13", "gid": 0, "inodes": 5, "key": "/home/retaure_13", "lazy": true, "mode": "drwxr-xr-x", "name": "retaure_13", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "retaure_13", "type": "d", "uid": 0 }, { "children": null, "date": "2016-05-17 13:49:26+02:00", "expanded": false, "folder": true, "fullname": "/home/www-data", "gid": 0, "inodes": 4, "key": "/home/www-data", "lazy": true, "mode": "drwxr-xr-x", "name": "www-data", "parent": "/home", "selected": false, "size": "4.0KiB", "title": "www-data", "type": "d", "uid": 0 } ]
In burp console:
{ "logline": "in monitor" } c:cloud.socodex.eu:b:226:p:/ { "clients": [ { "name": "cloud.socodex.eu", "run_status": "running", "protocol": 1, "phase": "listing", "backups": [ { "number": 226, "timestamp": 1467148761, "flags": [ "deletable", "current", "manifest" ], "logs": { "list": [ "backup", "restore", "backup_stats", "restore_stats" ] }, "browse": { "directory": "/", "entries": [ { "name": "etc", "dev": 65024, "ino": 130564, "mode": 16877, "nlink": 92, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467141601, "ctime": 1464714950, "mtime": 1464714950 }, { "name": "home", "dev": 65026, "ino": 2, "mode": 16877, "nlink": 7, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467055203, "ctime": 1463510688, "mtime": 1463510688 }, { "name": "var", "dev": 65024, "ino": 146634, "mode": 16877, "nlink": 5, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467088233, "ctime": 1467087961, "mtime": 1467087961 } ] } } ] } ] } c:cloud.socodex.eu:b:226:p:/home/ { "clients": [ { "name": "cloud.socodex.eu", "run_status": "running", "protocol": 1, "phase": "listing", "backups": [ { "number": 226, "timestamp": 1467148761, "flags": [ "deletable", "current", "manifest" ], "logs": { "list": [ "backup", "restore", "backup_stats", "restore_stats" ] }, "browse": { "directory": "/home", "entries": [ { "name": ".", "dev": 65026, "ino": 2, "mode": 16877, "nlink": 7, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467055203, "ctime": 1463510688, "mtime": 1463510688 }, { "name": "ansible", "dev": 65026, "ino": 1303041, "mode": 16877, "nlink": 4, "uid": 1002, "gid": 1002, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467055203, "ctime": 1437923472, "mtime": 1437923472 }, { "name": "fixit", "dev": 65026, "ino": 4560641, "mode": 16877, "nlink": 4, "uid": 1001, "gid": 1001, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467055203, "ctime": 1463480452, "mtime": 1463480452 }, { "name": "lost+found", "dev": 65026, "ino": 11, "mode": 16832, "nlink": 2, "uid": 0, "gid": 0, "rdev": 0, "size": 16384, "blksize": 4096, "blocks": 32, "atime": 1467055203, "ctime": 1415566276, "mtime": 1415566276 }, { "name": "retaure_13", "dev": 65026, "ino": 13030401, "mode": 16877, "nlink": 5, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467055204, "ctime": 1463514765, "mtime": 1463514765 }, { "name": "www-data", "dev": 65026, "ino": 1563649, "mode": 16877, "nlink": 4, "uid": 0, "gid": 0, "rdev": 0, "size": 4096, "blksize": 4096, "blocks": 8, "atime": 1467055204, "ctime": 1463485766, "mtime": 1463485766 } ] } } ] } ] }
I have increase timeout in my file to 20sec, but it does not work :/ .
Concerning version in conf files, I have burp2 but server force protocol to version 1. In my confs burp-ui, what version I need specify, 1 or 2 ?
# burp server version version: 2
Regards, Regards, Ben
Edited by Benlo- Owner
I have no other clue :/
Can you tell me approximately how much time does it take to run
c:cloud.socodex.eu:b:226:p:/home/
andc:cloud.socodex.eu:b:226:p:/
?You can also increase the logs agent side with
bui-agent -c buiagent.cfg -vvvv
This 2 commands during each c:cloud.socodex.eu:b:226:p:/home/ c:cloud.socodex.eu:b:226:p:/
I'am behind proxy but I don't know If it is a problem
I have a restore in progress ? Is it possible that the problem ?
Logs in burp-ui:
DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:427]: Sending: {"password": "abcd234er5TDSDF", "args": {"backup": 226, "name": "cloud.socodex.eu"}, "func": "get_tree"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:429]: recv: '' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:436]: Ooops, unsuccessful! --------------------------------------------------------------------------------
Regards, Ben
Edited by Benlo- Owner
These are the logs of the "front-end". It says
Ooops, unsuccessful!
so obviously something wrong happened while communicating with the Agent.Can you send me the agent logs that should be way more useful.
Front logs:
192.168.5.109 - - [01/Jul/2016 15:36:54] "GET /backup3/client-browse/cloud.socodex.eu?backup=226 HTTP/1.1" 302 - 192.168.5.109 - - [01/Jul/2016 15:36:54] "GET /backup3/client-browse/cloud.socodex.eu?backup=226 HTTP/1.1" 302 - 192.168.5.109 - - [01/Jul/2016 15:36:54] "GET /backup3/client-browse/cloud.socodex.eu/226 HTTP/1.1" 200 - -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:148]: func: is_one_backup_running - False -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:354]: func: is_one_backup_running - True -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.conn [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:368]: OK, connected to agent backup3.fixit-cs.com:10000 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:427]: Sending: {"password": "abcd234er5TDSDF", "args": {"agent": "backup3"}, "func": "is_one_backup_running"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:429]: recv: 'OK' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:438]: Data sent successfully -------------------------------------------------------------------------------- 192.168.5.109 - - [01/Jul/2016 15:36:55] "GET /api/clients/backup3/backup-running HTTP/1.1" 200 - -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:148]: func: get_tree - True -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.__getattribute__ [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:354]: func: get_tree - True -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:427]: Sending: {"password": "abcd234er5TDSDF", "args": {"backup": 226, "name": "cloud.socodex.eu"}, "func": "get_tree"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:429]: recv: '' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:436]: Ooops, unsuccessful! -------------------------------------------------------------------------------- 192.168.5.109 - - [01/Jul/2016 15:36:55] "GET /api/client/backup3/browse/cloud.socodex.eu/226 HTTP/1.1" 200 -
Logs backend;
-------------------------------------------------------------------------------- INFO in agent.handle [/usr/local/lib/python2.7/dist-packages/burpui/agent.py:148]: recv: {"password": "*****", "args": {"agent": "backup3"}, "func": "is_one_backup_running"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- INFO in burp2.status [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/burp2.py:428]: query: 'c:' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in burp2.status [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/burp2.py:444]: [...] -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- INFO in burp2.status [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/burp2.py:428]: query: 'c:cloud.socodex.eu' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- [..] -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- INFO in agent.handle [/usr/local/lib/python2.7/dist-packages/burpui/agent.py:169]: result: ["cloud.socodex.eu"] ---------------------------------------------
Edited by Benlo- Owner
I'm sorry but the backend logs don't match your front ones.
There is no useful information here for me to help you further.
- Owner
I personally don't need a network capture.
I thing the way you run your test is wrong.
I suggest you do the following instead:
- close your web browser (or the tabs pointing to your burp-ui instance)
- launch the burp-ui front-end with the higher verbosity:
burp-ui -c burpui.cfg -vvvv
- launch the bui-agent with the higher verbosity:
bui-agent -c buiagent.cfg -vvvv
- run the curl test (start with
root=/home
that is working fine, then withroot=/
)
Then send me both full logs (you can send me those privately if they contain sensitive information
hi+burpui@ziirish.me
)(also you can send me the email in french if you prefer)
- Benjamin "Ziirish" SANS Added pending label
Added pending label
I send you an email.
I have find a workaround, when I have a line who works I have this workflow:
DEBUG in multi.conn [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:368]: OK, connected to agent backup2.fixit-cs.com:10000 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:427]: Sending: {"password": "abcd234er5TDSDF", "args": {"agent": "backup2"}, "func": "is_one_backup_running"} -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:429]: recv: 'OK' -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- DEBUG in multi.do_command [/usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py:438]:
But when It does not works, I don't have "OK, connected to agent backup2.fixit-cs.com:10000". The connection expires but Burp-ui not reconnect to it. If I comment the test "connected" it works because I force already a a connection.
diff multi.py /usr/local/lib/python2.7/dist-packages/burpui/misc/backend/multi.py 364,365c364,365 < if self.connected: < return --- > #if self.connected: > # return root@pound1:~#
I think the flag self.connected is not set to False after list elements ?
Regards, Ben
Edited by Benlo- Owner
Although your workaround seems to be working, I cannot accept this patch as is. The reason is the code is supposed to handle various exceptions.
I think I spotted the missing exception but I'd like to be sure before patching.
I still don't have usable logs. They don't seem coherent to me.
The root cause of your issue is probably the client timeout issue I told you earlier.
Could you please follow the steps I described you to be able to have some useful logs.
Also, could you tell me what version of Burp-UI you are using? (
burp-ui -V -v
andbui-agent -V -v
) A lot of things have changed since v0.2.0 (as you can see here).Thanks
- Owner
Hello,
Any update?
- Owner
up?
- Owner
Hello,
I'm closing this issue since I cannot seem to be able to reproduce it in the current master.
Feel free to reopen if you have further details.
- Benjamin "Ziirish" SANS Status changed to closed
Status changed to closed