Open D3vil0p3r opened 2 years ago
@NotoriousRebel Can you chime in on this one please?
@D3vil0per Apologies to getting around to this so late, the answer is simple. Socks5 support is not currently supported; however, using a library such as aiohttp-socks and then simply modifying the async with aiohttp.ClientSession
lines within the fetch_all
function in core.py it could be implemented quite trivially. If verified to work, a PR can be made or we can officially add support considering it would be trivial, if the aiohttp-socks or other library on GH were to be proven to work and are stable.
@D3vil0per Apologies to getting around to this so late, the answer is simple. Socks5 support is not currently supported; however, using a library such as aiohttp-socks and then simply modifying the
async with aiohttp.ClientSession
lines within thefetch_all
function in core.py it could be implemented quite trivially. If verified to work, a PR can be made or we can officially add support considering it would be trivial, if the aiohttp-socks or other library on GH were to be proven to work and are stable.
Thank you for the answer @NotoriousRebel . Where I can find core.py? I cannot find it on the repo
It’s here theHarvester/lib/core.py
Thanks, Jay
On 7 Aug 2022, at 05:22, D3vil0per @.***> wrote:
@D3vil0perhttps://github.com/D3vil0per Apologies to getting around to this so late, the answer is simple. Socks5 support is not currently supported; however, using a library such as aiohttp-sockshttps://github.com/romis2012/aiohttp-socks and then simply modifying the async with aiohttp.ClientSession lines within the fetch_allhttps://github.com/laramies/theHarvester/blob/master/theHarvester/lib/core.py#L324 function in core.py it could be implemented quite trivially. If verified to work, a PR can be made or we can officially add support considering it would be trivial, if the aiohttp-socks or other library on GH were to be proven to work and are stable.
Thank you for the answer @NotoriousRebelhttps://github.com/NotoriousRebel . Where I can find core.py? I cannot find it on the repo
— Reply to this email directly, view it on GitHubhttps://github.com/laramies/theHarvester/issues/940#issuecomment-1207328471, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3V2QQZ3RHPXF5L3PKZ653VX42XHANCNFSM5JFWFSAQ. You are receiving this because you commented.Message ID: @.***>
Feature Request or Bug or Other Bug
Describe the feature request or bug or other I know the developers are working for SOCKS protocol support on the tool. I tried to use
torsocks
to proxy the tool via SOCKS protocol. When I execute the tool, for some sources I get the following messages:So, regardless
Google is blocking your ip...
because of TOR connection, the issue messages I refer among the above ones are:At the end of the tool I receive some results, but I think that, because of these messages above, some sources don't contribute to the results.
To Reproduce Steps to reproduce the behaviour:
torsocks theHarvester -d google.com -b all
Expected behaviour It is expected these messages are not produced.
Screenshots If possible please add screenshots to help explain your problem.
System Information (System that tool is running on):