Skip to content

Task 3 : Defiance #3

@CodingWarrior33

Description

@CodingWarrior33

So you have made it so far where you have successfully hacked into the database by fetching and merging the required files.

Now you must be having a file named encrypt.txt. It is a file containing random characters encodings about the database. However all databases have vulnerabilities wherein a certain part of the data is not encrypted for further easy updates that need to be rolled out. You need to find a vulnerability in the given text file.

You are certain that the vulnerability involves "Deanu". Search for "Deanu".

hacker-hack

Hacks

  • Make a new branch Defiance from the previous branch.
  • Keep adding valid screenshots to a doc file that show the different changes you made.
  • Convert the doc file to a PDF and add it to this branch in the repo.
  • Send a PR after changing and committing the above changes.
  • The PR should contain the modified text file and the newly created PDF file.
  • In the PR write 🎯Solved-Defiance

For users in MacOS / Linux :

Use the grep command for searching for the vulnerability :

  grep word_here filename_here.txt

For users in Windows :

Use the findstr command for searching for the vulnerability :

  findstr “word_here” “filename_here.txt”
  • Now make a new doc file and take a screenshot of the above vulnerability.

Make changes to the above vulnerability. Change the vulnerability to KP WAS HERE.

For users in MacOS / Linux :

Use the sed command for finding and replacing for the vulnerability :

  sed -i 's/original_word/new_word/g' filename_here.txt

For users in Windows (Seriously consider switching to Linux/ MacOS) :

Use the findstr command for searching for the vulnerability :

  (Get-Content filename_here.txt) -replace 'original_word', 'new_word' | Out-File -encoding ASCII myFile.txt
  • Check for the change by again using the grep or the findstr command. Attach the screenshot of the change in the doc file.

Screenshot 2023-03-24 at 10 30 30 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions