Tor2web | HTTP proxy software that enables access | Router library
kandi X-RAY | Tor2web Summary
kandi X-RAY | Tor2web Summary
Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers. The software originally developed by Aaron Swartz and Virgil Griffith is now developed and mainteined by the Hermes Center for Transparency and Digital Human Rights as part of the GlobaLeaks project.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns an SSL context
- Reads the contents of the hosts file
- Start worker thread
- Sends an email to a given file
- Send exception mail
- Create a MailExceptionHookHook for sending exceptions
- Start Tor2web process
- Start the daemon process
- Turn the daemon
- Start the daemon
- Load config file
- Replace the body part of the response
- Called when a response is received
- Fix the end of the response
- This function is called when a task is started
- Log a request
- Read the hosts file
- Called when the connection lost
- Verify a certificate
- Called when all requests are received
- Called when the child process exits
- Set socks state
- Return the path to a t2w file
- Handle forward data
- Sets the death signal
- Process data
Tor2web Key Features
Tor2web Examples and Code Snippets
def _default_layout(self, layout: layout_lib.Layout):
"""Sets a default output layout for all ops in the scope.
Note: This is an internal helper method, which is not user facing api.
Useful for requesting a specific layout for ops which
def _init_layout(self):
"""Initialize the layout of UI components.
Initialize the location and size of UI components such as command textbox
and output region according to the terminal size.
"""
# NamedTuple for rectangular loca
def layout(self):
"""Get the RichTextLines layout of the scroll bar.
Returns:
(debugger_cli_common.RichTextLines) The text layout of the scroll bar.
"""
width = self._max_x - self._min_x + 1
empty_line = " " * width
for
Community Discussions
Trending Discussions on Tor2web
QUESTION
As said, I've just discovered that one of my private servers has been penetrated and the following bash has been executed on it :
...ANSWER
Answered 2019-Aug-25 at 18:45All the action really happens in the last line, which implements the main purpose of this script: to attempt to download some (presumably malicious) payload from a variety of sites (listed in the last line), and if that is successful then executes the payload.
The rest of the script is just support for that, mostly an fairly exhaustive way of finding a suitable curl or wget binary in order to perform the download. It also checks if your /etc/hosts
file contains a line with tor2web.
, and if it does the hosts file is overwritten with a default one that only has a 127.0.0.1
line for localhost
. This step will probably fail unless running as root.
Your server is thoroughly compromised and you should discard it (if it is a VM) or reformat it.
QUESTION
I was getting a bunch of emails from cron jobs that looked really weird so I went in to investigate.
I found a weird crontab entry that I have pasted below.
At first I tried to run:
...ANSWER
Answered 2019-Jun-12 at 14:10I've reformatted the command and added comments. The command was run every hour, at 11 minutes after the full hour.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Tor2web
You can use Tor2web like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page