<?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 Abass Adamo on Medium]]></title>
        <description><![CDATA[Stories by Abass Adamo on Medium]]></description>
        <link>https://medium.com/@iamtope?source=rss-f8bed7082101------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jS_8H4NWjjcoD16z</url>
            <title>Stories by Abass Adamo on Medium</title>
            <link>https://medium.com/@iamtope?source=rss-f8bed7082101------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 01:30:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamtope/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[Memoizaton]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://iamtope.medium.com/memoization-is-a-concept-in-dynamic-programming-that-involves-storing-the-results-of-expensive-ee3b5b14912f?source=rss-f8bed7082101------2"><img src="https://cdn-images-1.medium.com/max/1280/1*uIle6ec2-CzXENRTzvRYMw.jpeg" width="1280"></a></p><p class="medium-feed-snippet">Memoization is a concept in dynamic programming that involves storing the results of expensive calls for reuse later. There is no way you&#x2026;</p><p class="medium-feed-link"><a href="https://iamtope.medium.com/memoization-is-a-concept-in-dynamic-programming-that-involves-storing-the-results-of-expensive-ee3b5b14912f?source=rss-f8bed7082101------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://iamtope.medium.com/memoization-is-a-concept-in-dynamic-programming-that-involves-storing-the-results-of-expensive-ee3b5b14912f?source=rss-f8bed7082101------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee3b5b14912f</guid>
            <dc:creator><![CDATA[Abass Adamo]]></dc:creator>
            <pubDate>Sat, 20 May 2023 13:54:51 GMT</pubDate>
            <atom:updated>2023-05-22T12:15:49.061Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to set up your javascript development environment (PART 1)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://iamtope.medium.com/how-to-set-up-your-javascript-development-environment-part-1-2bd7c95589ec?source=rss-f8bed7082101------2"><img src="https://cdn-images-1.medium.com/max/1280/0*82mdfpYh39KAPptP" width="1280"></a></p><p class="medium-feed-snippet">Building a javascript development environment from scratch can be overwhelming, but with a custom template, you can save you and your team&#x2026;</p><p class="medium-feed-link"><a href="https://iamtope.medium.com/how-to-set-up-your-javascript-development-environment-part-1-2bd7c95589ec?source=rss-f8bed7082101------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://iamtope.medium.com/how-to-set-up-your-javascript-development-environment-part-1-2bd7c95589ec?source=rss-f8bed7082101------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bd7c95589ec</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Abass Adamo]]></dc:creator>
            <pubDate>Mon, 23 Nov 2020 10:08:33 GMT</pubDate>
            <atom:updated>2020-11-23T10:10:36.867Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building A Successful Product]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://iamtope.medium.com/building-a-successful-product-3dbc3d260ef?source=rss-f8bed7082101------2"><img src="https://cdn-images-1.medium.com/max/600/0*AKg-OnUKV0g2V5Uu" width="600"></a></p><p class="medium-feed-snippet">These days, I find myself pondering on the next article to write on. At first, I wanted to write about best practices to utilize during&#x2026;</p><p class="medium-feed-link"><a href="https://iamtope.medium.com/building-a-successful-product-3dbc3d260ef?source=rss-f8bed7082101------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://iamtope.medium.com/building-a-successful-product-3dbc3d260ef?source=rss-f8bed7082101------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dbc3d260ef</guid>
            <category><![CDATA[product]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[inventions]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Abass Adamo]]></dc:creator>
            <pubDate>Sun, 25 Oct 2020 21:13:21 GMT</pubDate>
            <atom:updated>2020-10-25T21:13:21.928Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Golang vs Node Js]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://iamtope.medium.com/golang-vs-node-js-4d40142eb20d?source=rss-f8bed7082101------2"><img src="https://cdn-images-1.medium.com/max/1100/0*vg-7wpYh3C9E21Sp" width="1100"></a></p><p class="medium-feed-snippet">Haven worked with Javascript and Node Js for a while, I began learning Go recently and a question I keep asking myself is why do these&#x2026;</p><p class="medium-feed-link"><a href="https://iamtope.medium.com/golang-vs-node-js-4d40142eb20d?source=rss-f8bed7082101------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://iamtope.medium.com/golang-vs-node-js-4d40142eb20d?source=rss-f8bed7082101------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d40142eb20d</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Abass Adamo]]></dc:creator>
            <pubDate>Mon, 21 Sep 2020 10:12:49 GMT</pubDate>
            <atom:updated>2020-09-21T11:23:10.925Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[INTERNAL IMPLEMENTATION DISCLOSURE]]></title>
            <link>https://iamtope.medium.com/internal-implementation-disclosure-b9296f04f5a7?source=rss-f8bed7082101------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9296f04f5a7</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Abass Adamo]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 11:15:08 GMT</pubDate>
            <atom:updated>2020-09-01T11:15:08.488Z</atom:updated>
            <content:encoded><![CDATA[<p>Internal Implementation Disclosure is the process whereby your web application leaks information about the software being run, the server technology and operating system to a malicious hacker.</p><p>We will be considering several concepts under this topic that helps attackers build up useful profiles about your website.</p><ul><li>Server response header disclosure</li><li>Locating vulnerabilities based on response headers</li><li>Disclosure via robots.txt</li><li>The risk in HTML source</li><li>Locating at-risk websites</li></ul><p><strong>How an attacker builds a website risk profile</strong></p><p>Imagine a bank robber, he tries to understand every point of risk he can find within and outside the bank. Same goes for an attacker on the website. The attacker wants to understand the libraries and frameworks, he wants to see the HTML source and the structure of the file (inline SQL statements, hidden fields in HTML source, comments in your HTML fields).</p><p>He is trying to locate every internal error message ( an attacker will try to cause exception, unhandled exceptions logs, web server logs and all that can give useful information. Is there any useful data in query strings?</p><p>We will consider the national vulnerability database that can be found <a href="http://nvd.nist.gov/">here</a> (National Institute of Standard and Technology (NIST). It is useful for attackers to narrow down their risk profile</p><p>Test website for this article is an insecure website which has been deliberately built by Troy Hunt for test purposes and can be found <a href="http://hack-yourself-first.com/">here</a></p><p><strong>Locating vulnerabilities based on response headers</strong></p><p>When a user makes a request, response headers are included with the data being sent back to the client to instruct the browser to do something or for informational purposes. Most actionable response headers are generated by the Web server itself. These include instructions for the client to cache the content (or not), content language, and the HTTTP request status code among others.</p><p>We can inspect the technology stack using the response header here by right-clicking and inspect the test website specified above.</p><p>Go to network tabs, refresh the browser again and click on the first response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZFsZHUYeKhtIchU3" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/0*lb_rGxkeJrBgX1Uu" /></figure><p>It shows that the website underlying technology relies on ASP.NET MVC and also the X-AspNet-Version. These are information an attacker starts to build upon.</p><p><a href="http://www.shodanhq.com/">www.shodanhq.com</a> is a search website for devices on the internet. Shodan is the search engine for everything on the internet. While Google and other search engines index only the web, Shodan indexes pretty much everything else — webcams, water treatment facilities, yachts, medical devices, traffic lights, wind turbines, license plate readers, smart TVs, refrigerators, anything and everything you could possibly imagine that’s plugged into the internet (and often shouldn’t be).</p><p>Web server versions (e.g Asp 4.0.30319, Apache 1.3.23) can be searched on this website. We can narrow down search filters to countries and find devices running on that web services on the internet. Most secure web services block shodanhq and similar providers from crawling their service.</p><p><strong>Http fingerprinting of servers</strong></p><p>Trying to find a vulnerable website might be more than just inspecting response headers. We can use a concept called HTTP fingerprinting, imagine the real world concept of fingerprinting and trying to identify the implicit identity of a person. We can check more implicit things on a website that allows us to build an attacker profile. Here we’ll be using fiddler.</p><p>What is Fiddler?</p><p>Fiddler is a web debugging proxy for any browser, any application, any process. Log and inspect all HTTP(S) traffic between your computer and the Internet, mock requests, and diagnose network issues. Fiddler is available for macOS, Windows, and Linux and you can download it on their website <a href="https://www.telerik.com/fiddler">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0VKQTpApcnqEMmLh" /></figure><p>Image source: <a href="https://www.telerik.com/fiddler">https://www.telerik.com/fiddler</a></p><p>For the sake of testing, you can find websites to simulate your tests <a href="https://dst.com.ng/15-vulnerable-sites-legally-practice-hacking-skills/">here</a>. I chose to test with <a href="http://www.itsecgames.com/">http://www.itsecgames.com/</a>.</p><p>So, In a bid to build our attacker profile, let us try the concept of http fingerprinting on this website. We can go to fiddler and request this website, then we can inspect the response headers(raw)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PVvVCtmetKXRwX-r" /></figure><p>We are majorly interested in the order the server (nginx) and the date is returned. The main point of this is that it helps us to narrow down our attacker profile to the technology behind this website. By checking another <a href="https://overthewire.org/wargames/">website</a>, we see that the date header is returned last while the server header is returned long before it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N-B-6x56_mJINRBc" /></figure><p>Fiddler response for: <a href="https://overthewire.org/wargames/">https://overthewire.org/wargames/</a></p><p>Well, this still has not told us anything spectacular, so let us try and narrow down this information by sending a malformed request. We attempt to change the http version from http/1.1 to http/x.1. This returns a 400 error for both requests but with different error messages. The response of these websites to http verbs such as delete, trace, search can help us to build an attacker profile for these websites. The whole concept is called http fingerprinting. There are other giveaways such as hidden fields, use states.</p><p><strong>Understanding robots.txt</strong></p><p>This whole article is focused on how an attacker can begin to build a profile, identify weak points on a website. Another useful resource for attackers is the robots.txt.</p><p>What is a robots.txt file?</p><p>Robots.txt is a text file webmasters create to instruct web robots (typically search engine robots) how to crawl pages on their website. The robots.txt file is part of the robots exclusion protocol (REP), a group of web standards that regulate how robots crawl the web, access and index content, and serve that content up to users. The REP also includes directives like meta robots, as well as page-, subdirectory-, or site-wide instructions for how search engines should treat links (such as “follow” or “nofollow”).</p><p>In practice, robots.txt files indicate whether certain user agents (web-crawling software) can or cannot crawl parts of a website. These crawl instructions are specified by “disallowing” or “allowing” the behavior of certain (or all) user agents.</p><p>The basic format of a robots.txt file is</p><p>User-agent: [user-agent name]Disallow: [URL string not to be crawled]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ze8uWCuHHBQPgWKc" /></figure><p>How does this robots.txt file helps attackers? Obviously, it provides an attacker with useful information about the parts of a website the owner doesn’t want you to see. Such areas includes admin-only, private territories on a website. Hence, a robots.txt file provides insights on the areas you are hiding from an attacker</p><p>We can check non-disallowed routes on a website by including /robots.txt to the end of the web address. Take for example <a href="http://www.nairaland.com/">www.nairaland.com</a>. <a href="http://www.nairaland.com/robots.txt">www.nairaland.com/robots.txt</a> returns a list of non-allowed routes on the website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/0*Su8Yep9Vm2x3PRSQ" /></figure><p>The disallow words tell web crawlers not to crawl these url paths on the websites. But the whole point of this is that it also tells attackers that these url paths exist and may contain useful information. These subtle details help an attacker to build his profile little by little.</p><p>You can find useful information on how to hide robots.txt file on your website and prevent robots.txt attacks <a href="https://www.netsparker.com/web-vulnerability-scanner/vulnerabilities/robotstxt-detected/">here</a></p><p><strong>The risks in html source</strong></p><p>Right clicking and viewing the page source seems to be the starting point of any developer. They all know how to do this. But do you know that this page can reveal information that makes you vulnerable to attackers?</p><p>Navigate to hackyourselffirst.troyhunt.com/robots.txt which shows you the list of disallowed paths.</p><p>Let us go to hackyourselffirst.troyhunt.com/secret/admin which is part of the url the robotx.txt file exposes to us.</p><p>Even though we were denied access, we can still view page source on this website and looking through the HTML code, we see that comments have been left in between the HTML code which tells us how to download the database file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B8--RTr8q6tj9JAc" /></figure><p>Although this seems like a simple example but it does happen. Leaving information such as libraries used in your project as we can see here (jquery and bootstrap) or even leaving sensitive information in hidden fields makes your website vulnerable. These data or parameters can be tampered with using a concept called parameter tampering.</p><p><strong>Conclusion</strong></p><p>The goal of this article is not to hack or bring down any website. It is to show you different process attackers tends to build profiles, identify vulnerable points on web devices.</p><p>We spoke about several useful concepts such as locating at-risk websites, http fingerprinting, disclosures via robots.txt etc.</p><p>This is just a very tiny part of what attackers do in order to hack you. Several other concepts to consider includes:</p><ul><li>SQLl Injection</li><li>Cross Site Attacks</li><li>Parameter Tampering</li><li>Cross Site Scripting</li><li>Cookies</li><li>DDOS</li></ul><p>If you think some of these things are no longer relevant these days due to the advent of frameworks and tools which tends to secure against these, I’ll advise you to google yearly attack metrics due to each vulnerability</p><p><strong>Reference</strong></p><ol><li><a href="https://www.shodan.io/">https://www.shodan.io/</a></li><li>Hack Yourself First: How to go on the Cyber-Offense. Troy Hunt (Pluralsight Course)</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9296f04f5a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>