shunf4 / proxychains-windows

Windows and Cygwin port of proxychains, based on MinHook and DLL Injection
GNU General Public License v2.0
936 stars 111 forks source link

Proxychains + aria2 torrent/magnet link = Segmentation Fault. #46

Open barkoder opened 1 year ago

barkoder commented 1 year ago

C:/proxychains_0.6.8_win32_x64/proxychains_win32_x64.exe -q -f C:/proxychains_0.6.8_win32_x64/proxychains.conf aria2c -c -R --file-allocation=none --summary-interval=0 --follow-torrent=false --bt-save-metadata=true --bt-force-encryption=true -V 'magnet:?xt=urn:btih:9DCCED4E3FC49753888F59D559CAD9EA9DD99EA5&tr=udp%3A%2F%2Ftracker.bitsearch.to%3A1337%2Fannounce&tr=udp%3A%2F%2Fwww.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.breizh.pm%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2920%2Fannounce&dn=%5Bbitsearch.to%5D+kubuntu-22.10-desktop-amd64.iso'

Segfaults Immediately.

The same for torrent files as well.

Also if the magnet URL is really long, then I get an "Error when parsing args: Insufficient Buffer" . See #45

Thanks for your work @shunf4 !

barkoder commented 1 year ago

Quick follow up.

It's not just aria2. All torrent clients fail. qBittorrent, Deluge, torrent-dl , rain , lftp . None of them work over proxychains.