diff --git a/README.md b/README.md index 644186e..9b8681d 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,6 @@
Hunt down social media accounts by username across social networks
- - - - - - Website - docker image

@@ -24,8 +17,7 @@

- - +

@@ -107,7 +99,7 @@ Accounts found will be stored in an individual text file with the corresponding ## Anaconda (Windows) Notes -If you are using Anaconda in Windows, using 'python3' might not work. Use 'python' instead. +If you are using Anaconda in Windows, using `python3` might not work. Use `python` instead. ## Docker Notes @@ -123,26 +115,14 @@ Once the image is built, sherlock can be invoked by running the following: docker run --rm -t mysherlock-image user123 ``` -The optional ```--rm``` flag removes the container filesystem on completion to prevent cruft build-up. See: https://docs.docker.com/engine/reference/run/#clean-up---rm - -The optional ```-t``` flag allocates a pseudo-TTY which allows colored output. See: https://docs.docker.com/engine/reference/run/#foreground - Use the following command to access the saved results: ``` docker run --rm -t -v "$PWD/results:/opt/sherlock/results" mysherlock-image -o /opt/sherlock/results/text.txt user123 ``` - - Docker is instructed to create (or use) the folder `results` in the current working directory and to mount it at `/opt/sherlock/results` on the docker container by using the ```-v "$PWD/results:/opt/sherlock/results"``` options. `Sherlock` is instructed to export the result using the `-o /opt/sherlock/results/text.txt` option. -Or you can use "Docker Hub" to run `sherlock`: -``` -docker run theyahya/sherlock user123 -``` ### Using `docker-compose` @@ -175,7 +155,7 @@ The following is an example of the command line to run all the tests for Sherlock. This invocation hides the progress text that Sherlock normally outputs, and instead shows the verbose output of the tests. -``` +```console $ cd sherlock/sherlock $ python3 -m unittest tests.all --verbose ``` diff --git a/images/preview.png b/images/preview.png index 727c144..43646f0 100644 Binary files a/images/preview.png and b/images/preview.png differ diff --git a/images/sherlock_demo.gif b/images/sherlock_demo.gif deleted file mode 100644 index b9417bc..0000000 Binary files a/images/sherlock_demo.gif and /dev/null differ diff --git a/sherlock/notify.py b/sherlock/notify.py index 7b1b83b..87bfa0b 100644 --- a/sherlock/notify.py +++ b/sherlock/notify.py @@ -258,24 +258,12 @@ class QueryNotifyPrint(QueryNotify): """ NumberOfResults = self.countResults() - 1 - title = "Results:" - print(Style.BRIGHT + Fore.GREEN + "[" + Fore.YELLOW + "*" + - Fore.GREEN + f"] {title}" + - Fore.WHITE + f" {NumberOfResults}") - - title = "End" - - # An empty line between last line of main output and last line(more clear output) - print('\r') - print(Style.BRIGHT + Fore.GREEN + "[" + - Fore.YELLOW + "!" + - Fore.GREEN + f"] {title}" + - Fore.GREEN + ": " + - Fore.WHITE + f" {message}") - - return + Fore.GREEN + "] Search completed with" + + Fore.WHITE + f" {NumberOfResults} " + + Fore.GREEN + "results" + Style.RESET_ALL + ) def __str__(self): """Convert Object To String.