<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Junk trash on Medium]]></title>
        <description><![CDATA[Stories by Junk trash on Medium]]></description>
        <link>https://medium.com/@technicalhayden?source=rss-ace73001ac96------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Junk trash on Medium</title>
            <link>https://medium.com/@technicalhayden?source=rss-ace73001ac96------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 02:56:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@technicalhayden/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to get started with A.I and Computer Vision]]></title>
            <link>https://technicalhayden.medium.com/how-to-get-started-with-a-i-and-computer-vision-f5c1d3c4506a?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5c1d3c4506a</guid>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Wed, 22 Mar 2023 09:34:13 GMT</pubDate>
            <atom:updated>2023-03-22T10:33:15.143Z</atom:updated>
            <content:encoded><![CDATA[<p>Artificial Intelligence and Computer Vision are two exciting fields that are rapidly growing and advancing. If you’re interested in getting started with AI and computer vision, you’ve come to the right place! In this blog, we’ll cover some basic steps to help you get started in these fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*wSnun4fOqJOkvAkkHEEx0A.jpeg" /></figure><ol><li>Learn the Basics: The first step in getting started with AI and computer vision is to learn the basics. This includes learning programming languages like Python, as well as understanding the fundamentals of linear algebra, calculus, and probability. There are many online courses and resources available that can help you learn these topics.</li><li>Choose a Framework: There are several popular frameworks for AI and computer vision, such as TensorFlow, PyTorch, and OpenCV. Choose a framework that you’re comfortable with and start experimenting with it. These frameworks have extensive documentation and tutorials that can help you get started.</li><li>Build Projects: The best way to learn AI and computer vision is by building projects. Start with simple projects, like image classification or object detection, and gradually move on to more complex projects as you gain more experience. There are many open-source projects and datasets available online that you can use to build your projects.</li><li>Participate in Online Communities: Join online communities and forums related to AI and computer vision. These communities can provide valuable feedback and help you stay up-to-date with the latest developments in the field. Some popular online communities include Reddit, GitHub, and Stack Overflow.</li><li>Attend Conferences and Workshops: Attend conferences and workshops related to AI and computer vision. These events can provide you with valuable networking opportunities and allow you to learn from experts in the field. Some popular conferences and workshops include the International Conference on Computer Vision (ICCV) and the Conference on Neural Information Processing Systems (NeurIPS).</li></ol><p>In conclusion, getting started with AI and computer vision requires a lot of hard work and dedication, but it’s also incredibly rewarding. By following the steps outlined in this blog, you can get started on your journey to becoming an AI and computer vision expert. Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5c1d3c4506a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create QR Codes to get into the Phones & Other]]></title>
            <link>https://technicalhayden.medium.com/create-qr-codes-to-get-into-the-phones-other-ae856f47107d?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae856f47107d</guid>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Thu, 17 Nov 2022 17:20:26 GMT</pubDate>
            <atom:updated>2022-11-17T17:20:26.649Z</atom:updated>
            <content:encoded><![CDATA[<p>QR codes are everywhere, from product packaging to airline boarding passes, making the scanners that read them a juicy target for hackers. Thanks to flaws in many of these proprietary scanning devices, it’s possible to exploit common vulnerabilities using exploits packed into custom QR codes.</p><p>A tool called QRGen can create malicious QR codes and even encode custom-made payloads. These attacks are potent because humans can’t read or understand the information contained in a QR code without scanning it, potentially exposing any device used to attempt to decipher the code to the exploit contained within. Even QR code scanners like smartphones can be vulnerable to these kinds of attacks, as QR codes were found to be <a href="https://www.cultofmac.com/537319/ios-11s-qr-code-reader-can-trick-you-into-visiting-malicious-sites/">capable of luring iPhones users to malicious sites</a>.</p><h3>What Are QR Codes?</h3><p>QR codes are machine-readable data formats that are useful for anything that needs to be scanned automatically. Before QR codes, there were several other formats called linear barcodes, which also stored data in a way that was easy for machines to read. You’ve probably seen a UPC barcode like the one below on products, as it’s often used to identify items for sale so cashiers can scan them to enable faster checkout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/0*AQLAsfWoSYiAsjn8.jpg" /></figure><p>The UPC barcode, or Universal Product Code, has been in use since 1974. Its purpose is primarily in retail and encodes a series of numbers only, making it limited in application. While many different types of linear barcodes exist, they aren’t able to store a lot of information. Applications like shipping and automobile manufacture required a standard that would hold more data.</p><h3>2D Barcodes for More Data</h3><p>The answer to the limitation of linear barcodes was 2D barcodes, which offer more storage resistance to having physical damage affect the information contained within. Some of the first 2D codes looked like the one below, which is still widely used today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wdz0JrTmRZzy50uk.jpg" /></figure><p>Aztec code is a 2D, or matrix, machine-readable code that is similar in many ways to a QR code and can hold more information than a linear barcode. Initially developed for logistics, you may see it used on packages and envelopes when more data needs to be stored than a linear barcode can provide.</p><p>Other types of 2D barcodes can contain an extremely dense amount of data. The PDF417 format found on the back of most drivers licenses in the United States, for example, can encode up to 1800 ASCII characters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/0*Bf6DlKNVE-zVIUDS.jpg" /></figure><p>PDF417 codes like above can encode text, numbers, files, and actual data bytes, and they’re more resistant to errors than linear barcodes. Companies like FedEx use a combination of PDF417 and other barcodes on packing slips to automate delivery and tracking.</p><h3>What Can Codes Do with More Data?</h3><p>QR codes started in the automotive industry as a way to keep track of cars as they were being manufactured but quickly grew in popularity outside that industry. Similar to other 2D codes, QR codes can pack a ton of data and can even work when reduced in resolution or otherwise damaged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RhQ1Ic0RzlV6M3Wm.jpg" /></figure><p>A single QR code can hold 4,296 ASCII characters, which makes it possible to to be a lot more creative about what you can do with them. You can even format the data to trigger actions when a reader device recognizes it.</p><p>One fascinating application of QR codes enabled by their larger data capacity is using them to <a href="https://ios.gadgethacks.com/how-to/easiest-way-share-wi-fi-password-from-your-iphone-android-device-0183627/">manage</a> <a href="https://android.gadgethacks.com/how-to/easily-share-your-wi-fi-password-with-qr-code-your-android-phone-0183483/">Wi-Fi</a> <a href="https://android.gadgethacks.com/how-to/share-your-wi-fi-password-with-qr-code-android-10-0194759/">connections</a> without sharing the password in plain text. By encoding the following string, you can create a QR code that logs Android users into a Wi-Fi network automatically.</p><pre>WIFI:S:&lt;SSID&gt;;T:&lt;WPA|WEP|&gt;;P:&lt;password&gt;;H:&lt;true|false|&gt;;</pre><p>Anyone scanning the QR code on an Android device would find themselves automatically signed in to the encoded Wi-Fi network. To get a handle on how much data a QR code can pack, take a look at this code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Awq23h4eqzsaMEMv.jpg" /></figure><p>That tiny code contains the following text:</p><pre>Version 40 QR Code can contain up to 1852 chars.<br>A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional code) that is designed to be read by smartphones.<br>The code consists of black modules arranged in a square pattern on a white background. The information encoded may be text, a URL, or other data.<br>Created by Toyota subsidiary Denso Wave in 1994, the QR code is one of the most popular types of two-dimensional barcodes.<br>The QR code was designed to allow its contents to be decoded at high speed.<br>The technology has seen frequent use in Japan and South Korea; the United Kingdom is the seventh-largest national consumer of QR codes.<br>Although initially used for tracking parts in vehicle manufacturing, QR codes now are used in a much broader context,<br>including both commercial tracking applications and convenience-oriented applications aimed at mobile phone users (termed mobile tagging).<br>QR codes may be used to display text to the user, to add a vCard contact to the user&#39;s device, to open a Uniform Resource Identifier (URI), or to compose an e-mail or text message.<br>Users can generate and print their own QR codes for others to scan and use by visiting one of several paid and free QR code generating sites or apps.</pre><p>The text contained in the image is larger than the QR code itself! The capacity makes QR codes both powerful and dangerous because humans can’t understand the data inside them without scanning them first.</p><h3>QRgen for QR Code Hacking</h3><p>Because a human can’t spot a malicious QR code before actually scanning it, the relatively large payload of a QR code can work to a hacker’s advantage, especially when combined with vulnerable devices. The tool we’ll use today to create these is called QRGen. It will take a payload and encode it into a QR code using Python.</p><p>QRGen comes with a built-in library that contains lots of popular exploits, which is extremely useful if you have time to sit down with the same device you’re looking to exploit and find out which one works. For a pentester looking to audit anything that uses a QR code scanner, merely buying the same scanner and running through the exploits can lead you to get the scanner to behave in unexpected ways.</p><p>The categories of payloads available on QRGen can be accessed by using the <strong>-l</strong> flag and a number while running the script. The number and payload type are listed below.</p><p><strong>0 :</strong> SQL Injections<br><strong>1 :</strong> XSS<br><strong>2 :</strong> Command Injection<br><strong>3 :</strong> Format String<br><strong>4 :</strong> XXE<br><strong>5 :</strong> String Fuzzing<br><strong>6 :</strong> SSI Injection<br><strong>7 :</strong> LFI / Directory Traversal</p><p>To create a bunch of malicious QR codes that include string-fuzzing payloads, I’d just need to run <strong>QRGen.py -l 5</strong> to create many codes for testing.</p><h3>What You’ll Need</h3><p>To use QRGen, you’ll need Python3 installed. Because it’s cross-platform, it should be possible to do on any operating system. You’ll also need a few Python libraries, including qrcode, Pillow, and argparse, which we’ll install during the setup.</p><h3>Step 1Install QRGen</h3><p>To start with QRGen, we’ll need to <a href="https://github.com/h0nus/QRGen">download the repository from GitHub</a>. We’ll do that by running the command below in a terminal window.</p><pre>~$ git clone https://github.com/h0nus/QRGen</pre><pre>Cloning into &#39;QRGen&#39;...<br>remote: Enumerating objects: 86, done.<br>remote: Counting objects: 100% (86/86), done.<br>remote: Compressing objects: 100% (78/78), done.<br>remote: Total 86 (delta 26), reused 4 (delta 1), pack-reused 0<br>Unpacking objects: 100% (86/86), done.</pre><p>Once the repo finishes downloading, change (<a href="https://null-byte.wonderhowto.com/how-to/hack-like-pro-linux-basics-for-aspiring-hacker-part-2-creating-directories-files-0147234/"><strong>cd</strong></a>) into its directory and list (<a href="https://null-byte.wonderhowto.com/how-to/hack-like-pro-linux-basics-for-aspiring-hacker-part-2-creating-directories-files-0147234/"><strong>ls</strong></a>) its contents to find the requirements file.</p><pre>~$ cd QRGen<br>~/QRGen$ ls</pre><pre>demo.gif  qrgen.py  README.md  requirements.txt  words</pre><p>Now, you’ll need to make sure we have all the required libraries installed. To do so, we’ll run the installation file with the following command.</p><pre>~/QRGen$ pip3 install -r requirements.txt</pre><pre>Collecting qrcode (from -r requirements.txt (line 1))<br>  Downloading <a href="https://files.pythonhosted.org/packages/42/87/4a3a77e59ab7493d64da1f69bf1c2e899a4cf81e51b2baa855e8cc8115be/qrcode-6.1-py2.py3-none-any.whl">https://files.pythonhosted.org/packages/42/87/4a3a77e59ab7493d64da1f69bf1c2e899a4cf81e51b2baa855e8cc8115be/qrcode-6.1-py2.py3-none-any.whl</a><br>Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (5.4.1)<br>Collecting argparse (from -r requirements.txt (line 3))<br>  Downloading <a href="https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl">https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl</a><br>Requirement already satisfied: six in /usr/lib/python3/dist-packages (from qrcode-&gt;-r requirements.txt (line 1)) (1.12.0)<br>Installing collected packages: qrcode, argparse<br>Successfully installed argparse-1.4.0 qrcode-6.1</pre><p>If that doesn’t work, you can also install it with this alternative command.</p><pre>~/QRGen$ python3 -m pip install -r requirements.txt</pre><h3>Step 2Generate Malicious QR Codes from a Payload Type</h3><p>Now, you should be able to run the script by typing <strong>python3 qrgen.py</strong>.</p><pre>~/QRGen$ python3 qrgen.py</pre><pre>  e88 88e   888 88e    e88&#39;Y88<br> d888 888b  888 888D  d888  &#39;Y   ,e e,  888 8e<br>C8888 8888D 888 88&quot;  C8888 eeee d88 88b 888 88b<br> Y888 888P  888 b,    Y888 888P 888   , 888 888<br>  &quot;88 88&quot;   888 88b,   &quot;88 88&quot;   &quot;YeeP&quot; 888 888<br>      b<br>      8b,    QRGen ~ v0.1 ~ by h0nus</pre><pre>usage: qrgen.py -l [number]<br>usage: qrgen.py -w [/path/to/custom/wordlist]</pre><pre>Payload lists:<br>0 : SQL Injections<br>1 : XSS<br>2 : Command Injection<br>3 : Format String<br>4 : XXE<br>5 : String Fuzzing<br>6 : SSI Injection<br>7 : LFI / Directory Traversal</pre><pre>Tool to generate Malformed QRCodes for fuzzing QRCode parsers/reader</pre><pre>optional arguments:<br>  -h, --help            show this help message and exit</pre><pre>Options for QRGen:<br>  --list {0,1,2,3,4,5,6,7}, -l {0,1,2,3,4,5,6,7}<br>                        Set wordlist to use<br>  --wordlist WORDLIST, -w WORDLIST<br>                        Use a custom wordlist</pre><pre>Pay attention everywhere, even in the dumbest spot</pre><p>As you can see, it’s pretty simple to create payloads. To start, let’s create a payload containing format string payloads. To do so, run QRGen with the following argument.</p><pre>~/QRGen$ python3 qrgen.py -l 5</pre><pre>  e88 88e   888 88e    e88&#39;Y88<br> d888 888b  888 888D  d888  &#39;Y   ,e e,  888 8e<br>C8888 8888D 888 88&quot;  C8888 eeee d88 88b 888 88b<br> Y888 888P  888 b,    Y888 888P 888   , 888 888<br>  &quot;88 88&quot;   888 88b,   &quot;88 88&quot;   &quot;YeeP&quot; 888 888<br>      b<br>      8b,    QRGen ~ v0.1 ~ by h0nus</pre><pre>Payload path generated..<br>Path already cleared or deleted..<br>Generated 46 payloads!<br>Opening last generated payload...<br>Thanks for using QRGen, made by H0nus..</pre><p>A series of QR codes will be generated, and the last one that was created will open automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aAo7cYTNUh3_wUUJ.jpg" /></figure><p>To see the rest of your payloads, you can type <strong>cd genqr</strong> to change to the directory where they are created and <strong>ls</strong> its contents.</p><pre>~/QRGen$ cd genqr<br>~/QRGen/genqr$ ls</pre><pre>payload-0.png   payload-19.png  payload-28.png  payload-37.png  payload-4.png<br>payload-10.png  payload-1.png   payload-29.png  payload-38.png  payload-5.png<br>payload-11.png  payload-20.png  payload-2.png   payload-39.png  payload-6.png<br>payload-12.png  payload-21.png  payload-30.png  payload-3.png   payload-7.png<br>payload-13.png  payload-22.png  payload-31.png  payload-40.png  payload-8.png<br>payload-14.png  payload-23.png  payload-32.png  payload-41.png  payload-9.png<br>payload-15.png  payload-24.png  payload-33.png  payload-42.png<br>payload-16.png  payload-25.png  payload-34.png  payload-43.png<br>payload-17.png  payload-26.png  payload-35.png  payload-44.png<br>payload-18.png  payload-27.png  payload-36.png  payload-45.png</pre><h3>Step 3Encode Custom Payloads</h3><p>To encode a custom payload, we can first create a text file containing what we want to encode. Each line will be a new payload. First, we can create a next text file by typing <strong>nano badstuff.txt</strong> to create a text file.</p><pre>~/QRGen/genqr$ nano badstuff.txt</pre><p>In that text file, we can put our payload. The one below is a fork bomb. Will it work on a QR code scanner? Who knows.</p><pre>:(){ :|: &amp; };:</pre><p>We can save it by pressing <em>Control X</em>, then hit <strong>Y</strong> and <em>Enter</em> to confirm your save. Now, you should see a text file containing your payload.</p><pre>~/QRGen/genqr$ ls</pre><pre>badstuff.txt    payload-18.png  payload-27.png  payload-36.png  payload-45.png<br>payload-0.png   payload-19.png  payload-28.png  payload-37.png  payload-4.png<br>payload-10.png  payload-1.png   payload-29.png  payload-38.png  payload-5.png<br>payload-11.png  payload-20.png  payload-2.png   payload-39.png  payload-6.png<br>payload-12.png  payload-21.png  payload-30.png  payload-3.png   payload-7.png<br>payload-13.png  payload-22.png  payload-31.png  payload-40.png  payload-8.png<br>payload-14.png  payload-23.png  payload-32.png  payload-41.png  payload-9.png<br>payload-15.png  payload-24.png  payload-33.png  payload-42.png<br>payload-16.png  payload-25.png  payload-34.png  payload-43.png<br>payload-17.png  payload-26.png  payload-35.png  payload-44.png</pre><p>To write your payload to a QR code, we’ll use the <strong>-w</strong> flag. Assuming your payload file is called “badstuff.txt,” the command to do so should look like below (remember to change back to the QRGen directory beforehand).</p><pre>~/QRGen/genqr$ cd ..<br>~/QRGen$ python3 qrgen.py -w &#39;/username/QRGen/genqr/badstuff.txt&#39;</pre><pre>  e88 88e   888 88e    e88&#39;Y88<br> d888 888b  888 888D  d888  &#39;Y   ,e e,  888 8e<br>C8888 8888D 888 88&quot;  C8888 eeee d88 88b 888 88b<br> Y888 888P  888 b,    Y888 888P 888   , 888 888<br>  &quot;88 88&quot;   888 88b,   &quot;88 88&quot;   &quot;YeeP&quot; 888 888<br>      b<br>      8b,    QRGen ~ v0.1 ~ by h0nus</pre><pre>Payload path exist, continuing...<br>Path already cleared or deleted..<br>Generated 1 payloads!<br>Opening last generated payload...<br>Thanks for using QRGen, made by H0nus..</pre><p>For my fork bomb payload, it generates the QR code below, which will pop up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2xkYQXQQstePXtFh.jpg" /></figure><h3>Not All QR Codes Are Wise to Scan</h3><p>QR codes can encode a lot of information, and as we’ve learned today, they can even be formatted to cause a device to perform actions like connecting to a Wi-Fi network. That makes scanning a QR code risky, as a person has no way of reading the information before exposing your device to whatever payload is contained inside. If you scan a QR code that seems suspicious, pay attention to what the code is attempting to launch, and do not connect to a Wi-Fi network or navigate to a link that’s shortened.</p><p>While most QR codes should be safe to scan on a smartphone, scanning payloads we generated today on a device for scanning tickets or boarding passes may result in some bizarre behavior from the device. Do not scan payloads on a scanner you need working immediately after for an event or work — or any scanner you do not have permission to test — as some of these payloads may cause the scanner to stop working.</p><p>I hope you enjoyed this guide to generating malicious QR codes to exploit scanning devices! If you have any questions about this tutorial on QR codes or you have a comment, there’s the comments section below, and feel free to reach me on Twitter <a href="https://medium.com/u/ace73001ac96">technicalhayden</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae856f47107d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When we are talking about Linux and Terminal, we can’t left Bash scripting.]]></title>
            <link>https://technicalhayden.medium.com/when-we-are-talking-about-linux-and-terminal-we-cant-left-bash-scripting-d326db567bee?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/d326db567bee</guid>
            <category><![CDATA[shell-script]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[bash-shell]]></category>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Mon, 19 Sep 2022 08:13:19 GMT</pubDate>
            <atom:updated>2022-09-19T08:13:19.874Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bash Scripting on Kali Linux</h3><p>When we are talking about Linux and Terminal, we can’t left Bash scripting. Bash scripting will be very helpful to become a cybersecurity expert, we can automate payloads and other tasks. On our this article we are gonna talk about ‘<strong>Bash Scripting</strong>’ and how to write accurate scripts on Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*cc58cxO1W6GtyDpC" /></figure><p>The GNU Bourne-Again Shell (<a href="https://en.wikipedia.org/wiki/Bash_(Unix_shell)">Bash</a>) is a powerful tool and scripting engine. We can do automate many tasks on command-line. In our this guide we are learning Bash scripting and know some practical use case. Here we assume that we know about the Linux files, which discussed on previous article.</p><h3>Introduction to Bash Scripting</h3><p>A Bash script is a plain-text file that contains a series of commands that are executed as if they had been typed on terminal window. In general, Bash scripts have an optional extension of <strong>.sh</strong> for identification (but it can be run without extension name), begin wit <strong>#!/bin/bash</strong> and must have executable permission set before the script can be executed. Let’s write a simple “Hello World” Bash script on a new file using any text editor, named it hello-world.sh and write the following contains inside it:</p><blockquote><strong><em>#!/bin/bash</em></strong></blockquote><blockquote><strong><em># Hello World on Bash Script.</em></strong></blockquote><blockquote><strong><em>echo “Hello World!”</em></strong></blockquote><p>Then save and close it. In the above script we used some components which we need to explain:</p><ul><li><strong>Line 1</strong>: <strong>#!</strong> is known as shebang, and it is ignored by the Bash interpreter. The second part, <strong>/bin/bash</strong>, is absolute path to the interpreter, which is used to run the script. For this we can identify that, this a “Bash script”. There are various types of shell scripts like “zsh” and “C Shell script” etc.</li><li><strong>Line 2</strong>: <strong>#</strong> is used to add a comment. Hashed (#) tests will be ignored by interpreter. This comments will help us to take special notes for the scripts.</li><li><strong>Line 3</strong>: echo <strong>“Hello World!”</strong> uses the echo Linux command utility to print a given string to the terminal, which in this case is <strong>“Hello World!”</strong>.</li></ul><p>Now we need to make this script executable by running following command:</p><pre>chmod +x hello-world.sh</pre><p>In the following screenshot we can see the output of the above command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/233/0*5hVtv9bv4Au8eJ90" /></figure><p>Now we can run the script by using following command:</p><pre>bash hello-world.sh</pre><p>We can see that our script shows output of “Hello World!” on our terminal as we can see in the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/0*4444ttJ0MyRBzN8e" /></figure><p>The <strong>chmod</strong> command, with <strong>+x</strong> flag is used to make the bash script executable and <strong>bash</strong> along with <strong>scriptname.sh</strong> we can run it. We can <strong>./scriptname.sh</strong> to run the script. This was our first Bash script. Let’s explore Bash in a bit more detail.</p><h3>Variables</h3><p>Variables are used for temporarily store data. We c an declare a variable to assign a value inside it, or read a variable, which will “”expand” or “resolve” it to its store value.</p><p>We can declare variable values in various ways. The easiest method is to set the value directly with a simple name=value declaration. We should remember that there are no spaces between or after the “=” sign.</p><p>On our terminal we can run following command:</p><pre>name=Kali</pre><p>Then we again run another command:</p><pre>surname=Linux</pre><p>Variable declaring is pointless unless we can use/reference it. To do this, we precede the variable with <strong>$</strong> character. Whenever Bash see this (<strong>$</strong>) syntax in a command, it replaces the variable name with it’s value before executing the command. For an example we can <strong>echo</strong> both this variable by using following command:</p><pre>echo $name $surname</pre><p>In the following screenshot we can the output shows the values of the variables:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/0*k4WRSWFkndViZzUB" /></figure><p>Variables names might be uppercase, lowercase or a mixture of both. Bash is case sensitive, so we must be consistent when declaring and expending variables. The good practice to use descriptive variable names, which make our script much easier for others to understand and maintain.</p><p>Bash interprets certain characters in specific ways. For example, the following declaration demonstrates an improper multi-value variable declaration:</p><pre>hello=Hello World</pre><p>In the following screenshot, we can see the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*YLdCGTkuyc_3_gsf" /></figure><p>This was not necessarily what we expected. To fix this type of error we can use <strong>single quote</strong> (‘) or <strong>double quote</strong> (“) to enclose our text. Here we need to know that Bash treats single quotes and double quotes differently. When Bash meets the single quotes, Bash interprets every enclosed character literally. When enclosed in double quotes, all characters are viewed literally expect “<strong>$</strong>” and “<strong>\</strong>” meaning variables will be expended in an initial substitution pass on the enclosed text.</p><p>In the case of above scenario we the following will help to clarify:</p><pre>hello=&#39;Hello World&#39;</pre><p>Now we can print this variable using <strong>echo</strong>, shown in following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/0*T15LSOvsXk1apXyc" /></figure><p>In the above example, we had used the single quote (‘) to use the variable. But when we use the hello variable with something other then we need to use double quote (“), we can see following for better understanding:</p><pre>hello2=&quot;Hi, $hello&quot;</pre><p>Now we can see the print (<strong>echo</strong>) of new <strong>$hello2</strong> variable on the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/0*PALWOh-MjaJN00OC" /></figure><p>We can also set the value of the variable to the result of a command or script. This is also known as command substitution, which allows us to take the output of a command (what would normally be printed to the screen) and have it saved as the value of a variable.</p><p>To do this, place the variable name in parentheses “<strong>()</strong>”, preceded by a “<strong>$</strong>” character:</p><pre>user=$(whoami)</pre><pre>echo $user</pre><p>Here we assigned the output of the <strong>whoami</strong> command the <strong>user</strong> variable. We then displayed it’s value by <strong>echo</strong>. In the following screenshot we can see the output of the above command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/0*F0v56GeFJ2w9ru2i" /></figure><p>An alternative syntax for command substitution using backtick (<strong>`</strong>), as we can see in the following commands:</p><pre>user2=`whoami`</pre><pre>echo $user2</pre><p><strong>This backtick method is older and typically discouraged</strong> as there are differences in how the two methods of command substitution <a href="http://mywiki.wooledge.org/BashFAQ/082">behave</a>. It is also important to note that command substitution happens in a subshell and changes to variables in the subshell will not alter variables from the master process.</p><h3>Arguments</h3><p>Not all Bash scripts require <a href="https://en.wikipedia.org/wiki/Parameter_(computer_programming)">arguments</a>. However, it is extremely important to understand how they are interpreted by bash and how to use them. We have already executed Linux commands with arguments. For example, when we run command <strong>ls -l /var/log</strong>, both <strong>-l</strong> and <strong>/var/log</strong> are arguments to the <strong>ls</strong> command.</p><p>Bash scripts are not different, we can supply command-line arguments and use them in our scripts. For an example we can see following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*s1tGMHj4O2oY5HV1" /></figure><p>In the above screenshot, we have created a simple Bash script, set executable permissions on it, and then ran it with two arguments. The $1 and $2 variables represents the first and second arguments passed to the script. Let’s explore a few special Bash variables:</p><p>Variable Name Description $0 The name of the Bash script $1 — $9 The first 9 arguments to the Bash script $# Number of arguments passed to the Bash script $@ All arguments passed to the Bash script $? The exit status of the most recently run process $$ The process id of the current script $USER The username of the user running the script $HOSTNME The hostname of the machine $RANDOM A random number $LINENO The current line number in the script</p><p>Some of these special variable can be useful when debugging a script. For example, we might be able to obtain the exit status of a command to determine whether it was successfully executed or not.</p><h3>Reading User Input</h3><p>Command-line arguments are a form of user input, but we can also capture interactive user input during a script is running with the <strong>read</strong> command. We are going to use read to capture user input and assign it to a variable, as we did in the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*8VK22w_wfRlUAi-m" /></figure><p>We can alter the behavior of the read command with various command line options. Two of the most commonly flags include <strong>-p</strong>, which allows us to specify a prompt, and <strong>-s</strong>, which makes the user input silent/invisible (might be helpful for credentials). We can see an example in the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*7_RdaTRS33lvf3-t" /></figure><h3>If, Else, Elif</h3><p>If, Else, Elif are considered as most common conditional statements, which allow us to show different actions based on different conditions.</p><p>The if statement is quite simple. This checks to see if a condition is true, but it requires a very specific syntax. We need to be careful to attention to this syntax, especially the use of required spaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/0*ycs0SoIjhzyDZX9Q" /></figure><p>In the above screenshot if “<em>some statement</em>” is true the script will “<em>do some action</em>”, these action can be any command between <strong>then</strong> and <strong>fi</strong>. Lets look at an actual example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*mGebGlDFj_Bgl5g_" /></figure><p>On the above example, we used an <strong>if</strong> statement to check the age inputted by a user. If the user’s age was less than (<strong>-lt</strong>) 12, the script would output a warning message.</p><p>Here the square brackets ([ &amp;]) in the <strong>if</strong> statement above are originally reference to the test command. This simply means we can use all of the operators that are allowed by the test command. Some of the widely used operators include:</p><ul><li><strong>-n VAR</strong> — True if the length of VAR is greater than zero.</li><li><strong>-z VAR</strong> — True if the VAR is empty.</li><li><strong>STRING1 = STRING2</strong> — True if STRING1 and STRING2 are equal.</li><li><strong>STRING1 != STRING2</strong> — True if STRING1 and STRING2 are not equal.</li><li><strong>INTEGER1 -eq INTEGER2</strong> — True if INTEGER1 and INTEGER2 are equal.</li><li><strong>INTEGER1 -gt INTEGER2</strong> — True if INTEGER1 is greater than INTEGER2.</li><li><strong>INTEGER1 -lt INTEGER2</strong> — True if INTEGER1 is less than INTEGER2.</li><li><strong>INTEGER1 -ge INTEGER2</strong> — True if INTEGER1 is equal or greater than INTEGER2.</li><li><strong>INTEGER1 -le INTEGER2</strong> — True if INTEGER1 is equal or less than INTEGER2.</li><li><strong>-h FILE</strong> — True if the FILE exists and is a symbolic link.</li><li><strong>-r FILE</strong> — True if the FILE exists and is readable.</li><li><strong>-w FILE</strong> — True if the FILE exists and is writable.</li><li><strong>-x FILE</strong> — True if the FILE exists and is executable.</li><li><strong>-d FILE</strong> — True if the FILE exists and is a directory.</li><li><strong>-e FILE</strong> — True if the FILE exists and is a file, regardless of type (node, directory, socket, etc.).</li><li><strong>-f FILE</strong> — True if the FILE exists and is a regular file (not a directory or device).</li></ul><p>We had applied these things to the above <strong>if</strong> statement example and we remove the square brackets using test string. But we think that the square bracket makes the code more readable.</p><p>We also can perform a particular set of actions if a statement is true and other statement is false. To do this, we can use the else statement, which has the following syntax:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/190/0*E4cDpQkSCtIpE0lX" /></figure><p>Now for an example we expand our previous age example including our <strong>else</strong> statement, as shown in the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*M95bJyC-UY9W-8fH" /></figure><p>We can easily notice that the else statement was executed when the inputted age was not less than 12.</p><p>We can add more arguments to the statements with the help of <strong>elif</strong> statement. The example will be following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/0*nrSy4rvv3L8wqbe-" /></figure><p>Let’s extend our age example with <strong>elif</strong> statement in the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*fqJgl0SE3hFkoCsG" /></figure><p>On the above example we can see that the code is little bit complex compared to <strong>if</strong> and <strong>else</strong>. Here when the user inputs the age grater than 60 <strong>elif</strong> statement will be executed and output the “Salute …” message.</p><p>These are the basic uses of bash. Here we learn some simple bash scripts. There are lots of more topic to cover but we don’t want to make the article longer. If you want next part please <a href="https://twitter.com/Kali_tutorials">Tweet</a> us.</p><p>In today’s article we learned Basics of <strong>Bash scripting</strong> on our <strong>Kali Linux</strong>. Not only Kali Linux this tutorial will work on any Debian based Linux distro like Ubuntu, Linux Mint etc.</p><p><strong>Love our articles?</strong> Make sure to <strong>follow us</strong> on <a href="https://twitter.com/Kali_tutorials">Twitter</a> and <a href="https://github.com/jaykali">GitHub</a>, we post article updates there. To join our <strong>KaliLinuxIn</strong> family, join our <a href="https://t.me/kalilinuxin"><strong>Telegram Group</strong></a>. We are trying to build a community for Linux and Cybersecurity. For anything we always happy to help everyone on the comment section. As we know our comment section is always open to everyone. We read each and every comment and <strong>we always reply</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d326db567bee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ARP spoof detector in Python]]></title>
            <link>https://technicalhayden.medium.com/arp-spoof-detector-in-python-68a424823cbe?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/68a424823cbe</guid>
            <category><![CDATA[arp-spoofing]]></category>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Thu, 04 Aug 2022 09:55:49 GMT</pubDate>
            <atom:updated>2022-08-04T09:58:15.234Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*912jR7gCEBa8xf4X" /></figure><h3>HOW DOES AN ARP SPOOF DETECTOR WORK?</h3><p>If we look at how our ARP spoofer program works, we will be able to notice that we created a function to send ARP responses that used to poison the ARP table of the victim machine. We will be making some changes in that function and edit it so that if the packets have a layer of spoofed ARP, the program could detect it. We will use the following code in order to do so :</p><pre>import scapy.all as scapy<br><br>def sniff(interface):<br>    scapy.sniff(iface=interface, store=False, prn=process_sniffed_packet)<br><br>def process_sniffed_packet(packet):<br>    if packet.haslayer(scapy.ARP) and packet[scapy.ARP].op == 2:<br>        print(packet.show())<br><br><br>sniff(<strong>&quot;eth0&quot;</strong>)</pre><p>Function for getting the MAC address :</p><pre>def mac(ipadd):<br>    arp_request = scapy.ARP(pdst=ipadd)<br>    br = scapy.Ether(dst=<strong>&quot;ff:ff:ff:ff:ff:ff&quot;</strong>)<br>    arp_req_br = br / arp_request<br>    list_1 = scapy.srp(arp_req_br, timeout=5, verbose=False)[0]<br>    return list_1[0][1].hwsrc</pre><p>Function to process the sniffed packet and get the values of old MAC in “originalmac” variable and the value of MAC in the response as “responsemac” variable.</p><pre>def process_sniffed_packet(packet):<br>    if packet.haslayer(scapy.ARP) and packet[scapy.ARP].op == 2:<br>        originalmac = mac(packet[scapy.ARP].psrc)<br>        responsemac = packet[scapy.ARP].hwsrc</pre><p>Now we will compare both the values to check whether they are similar or not, if not then it is obvious that the values have been spoofed.</p><pre>if originalmac != responsemac:<br>    print(<strong>&quot;[*] ALERT!! You are under attack, the ARP table is being poisoned.!&quot;)</strong></pre><p>After performing the above steps, our code will look like this :</p><p>import scapy.all as scapy def mac(ipadd): arp_request = scapy.ARP(pdst=ipadd) br = scapy.Ether(dst=”ff:ff:ff:ff:ff:ff”) arp_req_br = br / arp_request list_1 = scapy.srp(arp_req_br, timeout=5, verbose=False)[0] return list_1[0][1].hwsrc def sniff(interface): scapy.sniff(iface=interface, store=False, prn=process_sniffed_packet) def process_sniffed_packet(packet): if packet.haslayer(scapy.ARP) and packet[scapy.ARP].op == 2: originalmac = mac(packet[scapy.ARP].psrc) responsemac = packet[scapy.ARP].hwsrc if originalmac != responsemac: print(“[*] ALERT!! You are under attack, the ARP table is being poisoned.!”)</p><p>sniff(“eth0”)</p><p><a href="https://gist.github.com/An4ndita/b35e492af1129d52f1c84ceab596742a/raw/7a9f9aa7f9eb55cc1f039216e121992ffe3c87b5/arpspoof-detector.py">view raw</a> <a href="https://github.com/technicalhayden/ARP-spoofing-dector">arpspoof</a>-detector.py hosted with ❤technicalhayden</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68a424823cbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the Tor Browser?]]></title>
            <link>https://technicalhayden.medium.com/what-is-the-tor-browser-2537f885ea3f?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/2537f885ea3f</guid>
            <category><![CDATA[tor]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[dark-web-search]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Mon, 25 Jul 2022 12:03:40 GMT</pubDate>
            <atom:updated>2022-07-25T12:03:43.042Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tor Browser definition</h3><p>The Tor Browser is a web broswer that anonymizes your web traffic using the Tor network, making it easy to protect your identity online.</p><p>If you’re investigating a competitor, researching an opposing litigant in a legal dispute, or just think it’s creepy for your ISP or the government to know what websites you visit, then the Tor Browser might be the right solution for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UZJaUnRKrsBzNMwZ" /></figure><p>[ Learn the <a href="https://www.csoonline.com/article/2975193/9-steps-completely-anonymous-online.html?nsdr=true">8 steps to being (almost) completely anonymous online</a>. | <a href="https://www.csoonline.com/newsletters/signup.html">Sign up for CSO newsletters</a>. ]</p><p>A few caveats: Browsing the web over Tor is slower than the clearnet, and some major web services block Tor users. Tor Browser is also illegal in authoritarian regimes that want to prevent citizens from reading, publishing, and communicating anonymously. Journalists and dissidents around the world have embraced Tor as a cornerstone of democracy online today, and researchers are hard at work improving Tor’s anonymity properties.</p><h3>Where to download Tor Browser</h3><p>Tor Browser is available for Linux, Mac and Windows, and has also been ported to mobile. You can download desktop versions from the <a href="https://www.torproject.org/download/download.html.en">Tor Project website</a>. If you’re on Android, find OrBot or OrFox on the Google Play Store or F-Droid. iOS users can grab OnionBrowser from the Apple App Store.</p><h3>How to use the Tor Browser on mobile and cell phones</h3><p>More and more people are browsing the web from their phones, and in poorer parts of the world that are mobile first, people are browsing the web only from their phones. As a result, the Tor Project has spent a couple years working to build a better Tor Browser for mobile phone users.</p><p>In September 2019, the Tor Project announced the <a href="https://blog.torproject.org/orfox-paved-way-tor-browser-android">official release of Tor Browser for Android</a>, replacing the Guardian Project’s Orfox as the officially endorsed Tor Browser for Android. (The Guardian Project’s similarly named Orbot, a Tor proxy for Android that lets you tunnel all your app traffic over Tor, not just web traffic, continues to be alive and well.)</p><p>Due to technical restrictions on Apple’s proprietary iOS platform, the Tor Project has not yet released an official Tor Browser for iPhone and iPad users, but endorses <a href="https://onionbrowser.com/">OnionBrowser</a> for iOS users who want to browse the web anonymously. Major security improvements are in the pipeline for OnionBrowser, including fixing some information leakage issues and enabling per-website security parameters. The latest and greatest version of OnionBrowser should be out by early November 2019, the developers tell CSO.</p><h3>How to use the Tor Browser</h3><p>For most people, using Tor Browser is as simple as downloading it and running it, the same way you’d download Chrome or Firefox.</p><p>If you’ve never used Tor, the first thing you’ll notice is that it’s slow — or at least, slower than regular internet browsing. Still, Tor has gotten quite a bit faster over the years, and with a good internet connection, you can even watch YouTube videos over Tor.</p><p>Tor Browser gives you access to .onion web sites that are only available within the Tor network. For instance, try to access The New York Times at <a href="https://www.nytimes3xbfgragh.onion/">https://www.nytimes3xbfgragh.onion/</a> and Facebook at <a href="https://www.facebookcorewwwi.onion/">https://www.facebookcorewwwi.onion</a> using a regular web browser. Go on. We’ll still be here when you get back. Didn’t work, did it? You can only reach these sites over Tor. This makes it possible to read the news anonymously, a desirable feature in a country where you don’t want the government knowing which news sites you’re reading, when you’re reading them, and for how long.</p><p>Using Tor Browser comes with one major annoyance: Many prominent web services block access to Tor, often without useful error messages. If a site you normally visit suddenly returns 404 when visiting over Tor, the service is likely blocking Tor traffic and being needlessly opaque about it. Sites that do not block Tor might push you to click through a ton of captchas. It’s not the end of the world, but it is annoying.</p><h3>How Tor Browser works</h3><p>Tor Browser routes all your web traffic through the Tor network, anonymizing it. As the images below illustrate, Tor consists of a three-layer proxy, like layers of an onion (hence Tor’s onion logo). Tor Browser connects at random to one of the publicly listed entry nodes, bounces that traffic through a randomly selected middle relay, and finally spits out your traffic through the third and final exit node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*WmlYB2S0Y1CUc2eE" /></figure><p><a href="https://commons.wikimedia.org/wiki/File:How_Tor_Works_1.svg">Electronic Frontier Foundation</a> <a href="https://creativecommons.org/licenses/by/3.0/legalcode">(CC BY 3.0)</a></p><p>How Tor works, step 1</p><p>As a result, don’t be surprised if Google or another service greets you in a foreign tongue. These services look at your IP address and guesstimate your country and language, but when using Tor, you will often appear to be in a physical location halfway around the world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*25Jxj4w4RKftKlLC" /></figure><p><a href="https://commons.wikimedia.org/wiki/File:How_Tor_Works_2.svg">Electronic Frontier Foundation</a> <a href="https://creativecommons.org/licenses/by/3.0/legalcode">(CC BY 3.0)</a></p><p>How Tor works, step 2</p><p>If you live in a regime that blocks Tor or need to access a web service that blocks Tor, you can also configure Tor Browser to use bridges. Unlike Tor’s entry and exit nodes, bridge IP addresses are not publicly listed, making it difficult for web services, or governments, to blacklist those IP addresses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6fb0u0-o--LBzIET" /></figure><p><a href="https://commons.wikimedia.org/wiki/File:How_Tor_Works_3.svg">Electronic Frontier Foundation</a> <a href="https://creativecommons.org/licenses/by/3.0/legalcode">(CC BY 3.0)</a></p><p>How Tor works, step 3</p><p>The Tor network routes TCP traffic of all kinds but is optimized for web browsing. Tor does not support UDP, so don’t try to torrent free software ISOs, as it won’t work.</p><h3>Is Tor Browser legal?</h3><p>For most people reading this article, Tor Browser is completely legal to use. In some countries, however, Tor is either illegal or blocked by national authorities. China has outlawed the anonymity service and blocks Tor traffic from crossing the Great Firewall. Countries such as Russia, Saudi Arabia and Iran, are working hard to prevent citizens from using Tor. Most recently, <a href="https://www.accessnow.org/venezuela-blocks-tor/">Venezuela has blocked all Tor traffic</a>.</p><p>It’s easy to see why a repressive regime hates Tor. The service makes it easy for journalists to report on corruption and helps dissidents organize against political repression.</p><p>The freedom to communicate, publish, and read anonymously is a prerequisite for freedom of expression online, and thus a prerequisite for democracy today. Using and supporting Tor helps support freedom of expression around the world. Technically sophisticated users are encouraged to donate bandwidth to the Tor network by running a relay.</p><h3>How to get on the dark web?</h3><p>Let’s get this “<a href="https://www.csoonline.com/article/3249765/data-breach/what-is-the-dark-web-how-to-access-it-and-what-youll-find.html">dark web</a>” nonsense out of the way once and for all. While it’s true that some criminals use Tor to commit crimes, criminals also use the regular internet to commit crimes. Bank robbers use getaway cars on public highways to commit crimes. We don’t slander highways or the internet, because that would be foolish. Tor has tons of legitimate uses and is considered by many a cornerstone of democracy today.</p><p>So when you hear people talking in scared whispers about the “dark web” or the “deep web” or somesuch nonsense, understand that there is a lot more going on here than just “The <a href="https://en.wikipedia.org/wiki/Four_Horsemen_of_the_Infocalypse">Four Horsemen of the Infocalypse</a> are using computers in non-normative ways.” Anonymity online is not merely the bailiwick of criminals and trolls.</p><p>As a practical matter, Tor is for ordinary people, because criminals willing to break the law can achieve better anonymity than Tor provides. As the <a href="https://www.torproject.org/docs/faq-abuse.html.en#WhatAboutCriminals">Tor FAQ</a> points out:</p><blockquote>Doesn’t Tor enable criminals to do bad things?</blockquote><blockquote><em>Criminals can already do bad things. Since they’re willing to break laws, they already have lots of options available that provide better privacy than Tor provides. They can steal cell phones, use them, and throw them in a ditch; they can crack into computers in Korea or Brazil and use them to launch abusive activities; they can use spyware, viruses, and other techniques to take control of literally millions of Windows machines around the world.</em></blockquote><blockquote><em>Tor aims to provide protection for ordinary people who want to follow the law. Only criminals have privacy right now, and we need to fix that.</em></blockquote><h3>Is Tor Browser anonymous?</h3><p>Tor Browser offers the best anonymous web browsing available today, but that anonymity is not perfect. We are currently witnessing an arms race between researchers seeking to strengthen Tor, or even develop a <a href="https://arstechnica.com/information-technology/2016/08/building-a-new-tor-that-withstands-next-generation-state-surveillance/">next generation anonymity tool</a>, and governments around the world studying how to break Tor’s anonymity properties.</p><p>The most successful technique to de-anonymize Tor Browser users has been to hack them. The FBI has used this technique successfully in numerous criminal cases, and under <a href="https://www.csoonline.com/article/3062904/security/supreme-court-approves-rule-change-that-expands-fbi-computer-search-powers.html">Rule 41</a>, enacted in 2016 by US Chief Justice Roberts of the Supreme Court, the FBI can now mass hack large numbers of computers anywhere in the world using a single warrant.</p><p>Such hacking techniques ought to concern everyone, as innocent Tor users will inevitably get caught up in such fishing expeditions.</p><p>Does that mean you shouldn’t use Tor? Certainly not, if you care about your privacy online. Tor Browser is an essential tool that will only improve with time. If you don’t care about your privacy? Well, <a href="https://mic.com/articles/119602/in-one-quote-edward-snowden-summed-up-why-our-privacy-is-worth-fighting-for">Edward Snowden said it best</a>:</p><blockquote><em>Arguing that you don’t care about the right to privacy because you have nothing to hide is no different than saying you don’t care about free speech because you have nothing to say.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2537f885ea3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 deadly poisons that can poison a person]]></title>
            <link>https://technicalhayden.medium.com/10-deadly-poisons-that-can-poison-a-person-74bdbf2ffcd7?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/74bdbf2ffcd7</guid>
            <category><![CDATA[poison]]></category>
            <category><![CDATA[cyanide]]></category>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Sat, 02 Jul 2022 09:52:55 GMT</pubDate>
            <atom:updated>2022-07-02T09:53:41.460Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*_TWwca0f46flgR4gD-Bysw.jpeg" /></figure><p>Many people believe that poisons are a relic of the past or even a mystical phenomenon. They exist only in historical stories, in terrible myths about kings and frightening fairy tales. Nevertheless, poisons are all around us: they are present in our drinking water, in the air and even in our blood. Among the various poisonous substances we can find even those that can <strong>poison a person</strong> in a matter of minutes. <br> <br> Some poisons are part of plants or are present in the bodies of animals, fish, or other living things. But certain toxic substances originated through human efforts. <br> <br> Today people know many dangerous and insidious poisons that have been repeatedly used for terrorist purposes and for contract murders. It is not easy to decide which substance should be called the “strongest”, because the degree of influence and the final result depends on many factors. However, a general idea of them is quite realistic. Therefore, we present 10 of the most ruthless poisons, which were created by nature or in the course of laboratory research.</p><h3>1. Botulinum toxin</h3><p>Many experts agree that botulinum toxin may well be considered the most dangerous poison on Earth. All it takes is a small vial of this substance to take the lives of hundreds of thousands of healthy people. Botulinum bacteria usually breed in sausages and canned goods. The most favorable environment is canned fish, meat, and fried mushrooms. This toxin causes botulism, a disease that paralyzes the entire nervous system. Death eventually occurs from lack of air through paralysis of the heart, asphyxia of the respiratory tract and muscles. The unpredictable and variable nature of botulinum toxin makes it the most terrifying and deadly poison in the world. That said, botulinum toxin is often used in cosmetology. Everyone is familiar with the now popular Botox “youth” injections. In addition, this substance can be used against migraine.</p><h3>2. Ricin</h3><p>This substance causes death in almost all cases. It is six times more poisonous than potassium cyanide. Also ricin has almost superseded the terrible “anthrax” now it is often sent by mail. It is referred to natural poisons due to the fact that it is extracted from the fruit of the castor bean. <strong>Poison poisoning of a person</strong> is possible by injecting it into the bloodstream or by entering the body through the lungs. Even a few grains of this odorless white powder, which dissolves well in water, can cause death. If ricin is inhaled, then the first signs of poisoning are detected only after 8 hours. In this case, the person feels a severe headache, fever, sweating, nausea and vomiting. After a few days or even earlier, death occurs.</p><h3>3. VX</h3><p>The most dangerous substance of chemical origin, used by the army in many countries despite its special status and numerous bans. A former pesticide, totally unsuitable for any purpose other than destroying people. It is a highly toxic nerve gas, which upon skin contact activates the symptoms of poisoning: from slight nausea to paralysis, hallucinations and demise.</p><h3>4. Sarin gas</h3><p>The most dangerous nerve gas discovered by German scientists was first invented as a strong pesticide. Today sarin is considered to be a chemical weapon of the most powerful spectrum of action. It affects the nervous system and causes suffocation in terrible convulsions in one minute. In 50-ies of XX century it was produced in USA and USSR for military purposes. In the 70s it was secretly produced by Chilean scientists for Augusto Pinochet’s secret police. In addition, Iraq used sarin in the 1988 war against Iran to poison people. It was not until 1993 that the UN banned the production of this gas. Nevertheless, later there were many cases of mass use of sarin in terrorist and chemical attacks. The most famous case is the use of the poison gas by Aum Senrikyo in the Tokyo subway attack in Japan in 1995.</p><h3>5. Tetrodotoxin</h3><p>A strong natural poison known to be found in the body of the Fugu fish. In Japan, the meat of this fish is considered a delicacy. But to make the dish safe for humans, it must be properly prepared. With such a complex and responsible task can not every chef. In addition, tetrodotoxin can be found in the caviar of the Californian newt, blue-ringed octopus, some goby fish, certain types of crabs, etc. If this poison neuroparalytic action has penetrated the body, then the first signs of poisoning will appear after 30 minutes, and death comes no later than 4–6 hours. However, there have been cases where death occurred after only 17 minutes. In the early days of research, tetrodotoxin was used as an anesthetic for leprosy and tumors. Modern scientists have conducted clinical trials on the use of this substance as an anesthetic for cancer patients, but the results have been very mixed.</p><h3>6. Mercury</h3><p>You thought right, this is the mercury found in medical thermometers. It is considered a heavy metal that is particularly toxic to the human body. Mercury vapor has a devastating effect on the nervous system, kidneys, and brain, which leads to death. Nevertheless, the ancient Greeks and Romans, knowing the dangers of the substance, used it to refine gold. One of the biggest deaths from mercury occurred in Japan in 1956. About 3,000 residents of the city of Minamata suffered or died from the effects of the poison.</p><h3>7. Strychnine</h3><p>A deadly poison in the form of a white powder that is obtained from the seeds of the tropical chilibukha tree, which grows in South Asia, Australia, and Africa. Often used to poison small animals. Even minimal amounts of the toxic substance are dangerous to humans, either through inhalation or ingestion. <strong>Human poisoning</strong> in this case has the following symptoms: convulsions, nervous seizures, muscle contraction and vomiting. After 30 minutes the victim dies. Surprisingly enough, strychnine is used in modern medicine. On its basis, tonic drugs are made, prescribed to patients with rapid fatigue, slowed metabolic processes and weakened heart activity.</p><h3>8. Arsenic</h3><p>The most famous and popular poison among book villains. This is due to the fact that the symptoms of poisoning with this substance resemble the signs of cholera, so it is easy to disguise the crimes committed as a disease. If a large amount of arsenic is taken, a coma and premature death can be expected. However, the ancient Chinese believed that arsenic had beneficial properties. Doctors used it to treat psoriasis and syphilis. Until the mid-50s of the twentieth century, this substance was used as a cure for cancer.</p><h3>9. Amatoxin</h3><p>It is of natural origin because it is bred from toxic mushrooms. The most famous of these is the pale grebe, often mistaken by inexperienced mushroom hunters for mushrooms, russets or greens. This poison is capable of <a href="http://r7lscyg5lncab4gm77ldshetqoutj3btq53aw44ixnz3iinc3oaz7qqd.onion/">poison a person</a>The patient’s heart, liver, and kidneys are affected. Lethal outcome is possible after a few days. A large amount of penicillin is used as an antidote in such a case.</p><h3>10. Cyanide</h3><p>Widely known poison, which is highly fast-acting. Penetrating into the body, it paralyzes the nervous system, causes enormous damage to the heart and circulatory system, and cuts off the flow of oxygen to the cells. As a result, the person dies in a few minutes. It was often used in ancient times and even relatively recently as a means of execution of criminals. Curiously enough, cyanide has a deadly effect on humans, while it has practically no effect on ordinary hedgehogs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74bdbf2ffcd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 WAYS TO PROTECT YOUR ANDROID]]></title>
            <link>https://technicalhayden.medium.com/5-ways-to-protect-your-android-c0f4ed8d9075?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0f4ed8d9075</guid>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Sat, 02 Jul 2022 05:17:21 GMT</pubDate>
            <atom:updated>2022-07-02T05:24:35.115Z</atom:updated>
            <content:encoded><![CDATA[<p>In the new era of technology, cybercrime has been developing day by day so we are thinking about how can we protect our android phone</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAtDo9KNCWAIwItfFsJnzw.jpeg" /></figure><p>Here are 5 steps you should follow</p><p>use strong passwords</p><p>download apps from a trusted phone</p><p>download an antivirus app</p><p>don&#39;t connect to public wifi</p><p>use pin/pattern to your device</p><p><a href="https://www.instagram.com/reel/CfdUl7wDaCK/?utm_source=ig_web_copy_link">https://www.instagram.com/reel/CfdUl7wDaCK/?utm_source=ig_web_copy_link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0f4ed8d9075" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NEW A.I ALGORITHM NOW IT CAN PREDICT CRIME BEFORE IT HAPPENS]]></title>
            <link>https://technicalhayden.medium.com/new-a-i-algorithm-now-it-can-predict-crime-before-it-happens-c1e7ce8ae631?source=rss-ace73001ac96------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1e7ce8ae631</guid>
            <dc:creator><![CDATA[Junk trash]]></dc:creator>
            <pubDate>Sat, 02 Jul 2022 04:58:29 GMT</pubDate>
            <atom:updated>2022-07-02T04:58:29.730Z</atom:updated>
            <content:encoded><![CDATA[<p>The algorithm can forecast crimes by dividing cities into 1000 square foot tiles and predicting feature crimes with 90% accuracy .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P29bDrUPMm35_PvtVQjwAg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1e7ce8ae631" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>