<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Grep - Tag - SalehTZ</title><link>https://archive.salehtz.ir/tags/grep/</link><description>Grep - Tag - SalehTZ</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>mstalebizadeh@gmail.com (SalehTZ)</managingEditor><webMaster>mstalebizadeh@gmail.com (SalehTZ)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Wed, 15 Oct 2025 13:40:11 +0200</lastBuildDate><atom:link href="https://archive.salehtz.ir/tags/grep/" rel="self" type="application/rss+xml"/><item><title>Bandit Level 9 to 10: Sifting Through Binary Data with 'strings'</title><link>https://archive.salehtz.ir/bandit_9_10/</link><pubDate>Wed, 15 Oct 2025 13:40:11 +0200</pubDate><author>SalehTZ</author><guid>https://archive.salehtz.ir/bandit_9_10/</guid><description><![CDATA[<h2 id="introduction">Introduction</h2>
<p>In our journey so far, we&rsquo;ve dealt mostly with plain text files. Bandit Level 9 to 10 introduces a new type of challenge: extracting information from a <strong>binary file</strong>. These files are compiled for machines, not humans, and reading them with <code>cat</code> results in a mess of unreadable characters.</p>
<p>This level teaches us how to use the <code>strings</code> command, a specialized tool for finding and printing the sequences of readable text embedded within binary data. 🧐</p>]]></description></item><item><title>Bandit Level 8 to 9: Finding the Unique Line</title><link>https://archive.salehtz.ir/bandit_8_9/</link><pubDate>Tue, 27 May 2025 09:01:30 +0330</pubDate><author>SalehTZ</author><guid>https://archive.salehtz.ir/bandit_8_9/</guid><description><![CDATA[<h2 id="introduction">Introduction</h2>
<p>In the last level, we used <code>grep</code> to find a known pattern in a file. For Bandit Level 8 to 9, the challenge is more abstract: we need to find a line that is unique within a file filled with duplicates. The password isn&rsquo;t next to a keyword; the password <em>is</em> the unique line itself.</p>
<p>This requires us to move beyond single commands and learn how to create a <strong>pipeline</strong>, chaining multiple tools together to perform a complex data analysis task in a single line.</p>]]></description></item><item><title>Bandit Level 7 to 8: Finding a Needle with grep</title><link>https://archive.salehtz.ir/bandit_7_8/</link><pubDate>Tue, 27 May 2025 09:01:22 +0330</pubDate><author>SalehTZ</author><guid>https://archive.salehtz.ir/bandit_7_8/</guid><description><![CDATA[<h2 id="introduction">Introduction</h2>
<p>We have successfully used the <code>find</code> command to locate files based on their metadata. Now, for Bandit Level 7 to 8, our focus shifts from finding the <em>file</em> to finding specific <em>data inside</em> a file.</p>
<p>This level introduces <code>grep</code>, one of the most fundamental and widely used text-processing utilities in the Linux command-line world. 🕵️</p>
<h2 id="the-challenge-level-7-goal">The Challenge: Level 7 Goal</h2>
<p>The goal for this level is described as follows:</p>]]></description></item></channel></rss>