Jump to content

[Scripting] rReplace: String and HEX replacement tool


4 posts in this topic

Recommended Posts

Updated (edited)

Who is this for:

People too lazy to understand sed or that find it too hard. It is also way more limited than sed but it does the job :) 

Features:

- Simple input for string editing

- Simple hex as string editing

- Dynamic hexadecimal editing

Requirements:

- Bash/Shell 4.0

- sed

How to use it:

Add one of the commands to your Shell script. To understand the commands run this from the command line.

rreplace --help

Download:

It comes as a .zip with a .deb ready for action and the source code.

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

Example:

Spoiler

# Imagine changing iosgods username is made in Shell
FROM

sed "s/"$oldUsername"/"$newUsername"/gI" index.html

TO

rreplace -s $oldUsername $newUsername index.html

 

Credits:

@bbReakMe (@ggAyMe)

Updated by ggAyMe
  • Like 7

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines