Jump to content
UBot Underground

Editing a file by loading it in a variable?


Recommended Posts

I am working with a wp-config file and I would like to auto populate the database information. I have a template with unique identifiers for find and replace.

/** The name of the database for WordPress */
define('DB_NAME', '555841_xxxxxx');

/** MySQL database username */
define('DB_USER', '555841_vvvvvv');

/** MySQL database password */
define('DB_PASSWORD', 'cccccc');

/** MySQL hostname */
define('DB_HOST', 'aaaaaa');

 

I dont understand what I am doing wrong with the logic in my bot right now.

editfile.ubot

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...