You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
filesender.py:78: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
if isinstance(v, collections.MutableMapping):
Traceback (most recent call last):
File "filesender.py", line 237, in <module>
transfer = postTransfer(args.username, filesTransfer, args.recipients, subject=args.subject, message=args.message, expires=None, options=[])['created']
File "filesender.py", line 174, in postTransfer
{}
File "filesender.py", line 139, in call
raise Exception('Http error '+str(code)+' '+response.text)
Exception: Http error 400 {"message":"rest_xsrf_token_did_not_match","uid":"5dee3c50ad8ba","details":{"method":"post","endpoint":"transfer"}}
By setting: $config['owasp_csrf_protector_enabled'] = false;
the script worked:
base_url : https://filesender.belnet.be/rest.php
username : xxxxxx
apikey : xxxxxx
upload_chunk_size : 5242880 bytes
recipients : xxxxx
files : VBoxGuestAdditions_6.0.14.iso
postTransfer
filesender(2).py:78: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
if isinstance(v, collections.MutableMapping):
putChunks: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 0-5242880 0%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 5242880-10485760 7%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 10485760-15728640 14%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 15728640-20971520 20%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 20971520-26214400 27%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 26214400-31457280 34%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 31457280-36700160 41%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 36700160-41943040 48%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 41943040-47185920 54%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 47185920-52428800 61%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 52428800-57671680 68%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 57671680-62914560 75%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 62914560-68157440 82%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 68157440-73400320 88%
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 73400320-77195264 95%
fileComplete: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso
Uploading: /home/ming/Downloads/VBoxGuestAdditions_6.0.14.iso 77195264 100%
transferComplete
Upload Complete
The text was updated successfully, but these errors were encountered:
Not really a bug, but a user reported that the provided Python CLI was not working.
After finding that they are trying to run it with python3, we provided them a python3 compatible (and aup_checked) version:
And there is still this error:
By setting:
$config['owasp_csrf_protector_enabled'] = false;
the script worked:
The text was updated successfully, but these errors were encountered: