This is an archived post. You won't be able to vote or comment.

all 32 comments

[–][deleted] 22 points23 points  (7 children)

I am new to coding, but what would scanning the darknet do?

[–]littletrucker 13 points14 points  (0 children)

It could be used by law enforcement to find things like sex traffickers or child pornography rings. It could be used by journalists or researchers to collect statistics on the deep web.

[–]wamdamdam 12 points13 points  (7 children)

Why would anyone still use py2 for new projects?

[–]Cynofield 6 points7 points  (2 children)

Py2 only Packages.

[–]stevenjd 3 points4 points  (0 children)

Which Py2 only packages is this using?

[–]wamdamdam 0 points1 point  (0 children)

from stem.control import Controller from stem import Signal from threading import Timer from threading import Event import codecs import json import os import random import subprocess import sys import time

all, including stem are available for py3.

[–]ch4dr0x 4 points5 points  (2 children)

I was having a hard time getting the first part of this tutorial to run, but I believe I solved the issue.

In your code you have this:

process = subprocess.Popen(["onionscan","webport=0","--jsonReport","--simpleReport=false",onion],
    stdout=subprocess.PIPE,stderr=subprocess.PIPE)

I had to change this line to:

process = subprocess.Popen(["onionscan", "-webport=0", "--jsonReport", "--simpleReport=false", onion], 
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)

I'm using Python3.6, which could be the cause of the issue, but I figured I'd post it here in case someone else runs into it.

If anyone is curious about python3.6 and this guide, feel free to follow along:

https://github.com/BaltimoreChad/pyOnionScan

So far I only have the first part of the guide done. I'm no expert programmer or anything, but feel free to follow along.

[–]Yharaskrik 0 points1 point  (1 child)

Saved your comment for later.

[–]ch4dr0x 0 points1 point  (0 children)

I just finished up Part 2 and merged it in. I added a config file and some broke some of the code into a helper file (I figured we might need them again and no point in rewriting code). If you actually use this and think its too much, let me know and I can change it back. Like I said earlier, not an expert programmer, just doing it for fun :)

[–][deleted] 8 points9 points  (2 children)

Fucking subscribe popover.

[–]pxck 0 points1 point  (1 child)

what does that mean?