Nchịkọta ọrụ na MySQL-databasis na phpMyAdmin

Enwere ọnọdụ mgbe ị na – enweghị ike imepe CMS ma ọ bụ nrụnye nzukọ gị ma jikwaa ndị ọrụ site na ikpo okwu. Ka e were ya na-achọrọ gị ma ghara ịnweta akaụntụ nchịkwa gị – kedu ihe ị ga-eme?


Kom na ‘n gmbapụta gị bụ ihe ntanetị n’ihu – MySQL n’ihu – phpMyAdmin – nke ga – enyere gị aka ijikwa akaụntụ onye ọrụ saịtị gị site na ịme ihe ozugbo na nchekwa data. Ngwá ọrụ ahụ jikọtara ya na nnukwu ogwe njikwa ngalaba (cPanel, Plesk, VistaPanel, wdg) na, mgbe ọ na-anọghị, enwere ike itinye ya na sava gị site na ndị nrụnye akpaaka akabaaka nga . Softaculous). Agaghị atụle ntinye akwụkwọ ntuziaka maka obere ntuziaka a.

Gịnị bụ phpMyAdmin?

phpMyAdmin dit is nie nodig nie, maar dit is belangrik om PHP te verwerk MySQL-data.

Tobias Ratschiller, onye mepụtara ya, malitere ịrụ ọrụ na phpMyAdmin na 1998 en dan MySQL-Webadmin, man a tụfuru ọrụ ahụ na 2000 n’ihi na weg nweghị oge iji lekọta ya. Mmemme atọ ahụ weghaara mmepe ahụ na 2001, onye hiwere ulo oru phpMyAdmin. Ọganiihu ya n’etiti ndị webmeester bụ n’ihi njiri mara webusaiti, dit is ‘n webwerf wat na ‘n webwerf van ‘n galaba njikwa ngalaba ‘(cPanel, Plesk, VistaPanel).

Ụzọ dị aṅaa ka Nduzi en Ga-ooi?

Ị Nike iji iji ụzọ abụọ abata na nchekwa data n’ime phpMyAdmin:

  • Nuttige webwerf na phpMyAdmin-koppelvlak
  • SQL-webwerf is nuut

Ntuziaka a ga-egosi gị otu esi eji ọ bụla n’ime ụzọ abụọ ahụ arụ ọrụ SQL na njirimara gị.

Ihe Nlereanya Ngwaọrụ na Nduzi A

N’etiti usoro CMS kacha ewu ewu na ndị odeakwụkwọ, nhọrọ maka ntuziaka a dara WordPress na Nzuko XMB, agbanyeghị na enwere ike itinye usoro nkuzi ahụ na ngwanrọ saịtị ọ bụwan dabere na ng.

Ntụziaka ahụ ga – egosi gị otu ị ga – esi jiri ụzọ abụọ a edepụtara n’elu maka tebụl onye ọrụ nchekwa data ọ bụla.

phpMyAdmin njikwa njikwa maka WordPress

1. Interzọ Ngwakọta

Banye na akaụntụ cPanel gị (ma ọ bụ ngalaba nlekọta Bochum weebụ ọ bụla ọzọ na ngalaba gị). Chọọ phpMyAdmin n’okpuru otu ‘Enweta data’ wee pịa akara phpMyAdmin:

Databasisse na cPanel

Nchọgharị weebụ phpMyAdmin ga-emeghe na windo ọhụrụ. Ozugbo, banyere, hchrọ nchekwa data ịchọrọ ịrụ ọrụ webwerf na akuku aka ekpe. Na elke, nchekwa data bụ wptest_wp234. Paa ya.

phpMyAdmin

U mepee ebe nchekwa data gị, ị ga-ahụ ndepụta nke tebụl ya niile n’akụkụ aka ekpe ya, ebe isi peeji na-egosi gị ndepụta nke otu tebụl ndị ahụ nwere ngwaọrụ nchọhịr Iji banye na ndepụta ndị ọrụ gị, na die tebụl ‘wp_users’ ma lelee ndepụta nke ndị ọrụ.

Ndị ọrụ WP

Nwere ike ịgbanwe nzere gị, e-pos, URL URL, wdg Mepee ahịrị jikọtara na akaụntụ njirimara gị site na ịpị “Dezie” (enwere akara ngosi pensụl na – esote njikọ) iji bido imezi ozi gị. Ihe onyonyo a n’okpuru na – egosiputa uzo ihe omuma nke onye can ghaziri dezie

Ama onye ụrụ Dezie

Iji gbanwee paswọọdụ gị, ịkwesịrị ịhọrọ MD5 webwerf na menu ndọpụta. Dee paswọọdụ siri ike (ịnwere ike iji ya willekeurige pasene generator maka nsonaazụ ka mma). Ozugbo echmechara, chekwaa mgbanwe gị.

MD5 Paswọdu Dezie

MD5 by akroniem maka Ozi-Digest (algoritme) v. 5, cryptrụ akụnụba crypto nke na-eweghachi uru ọnụọgụ 32. Ulo ‘user_pass’ ga-agbanwe paswọọdụ ọhụrụ gị na eriri akpa nọmba MD5 32.

Ọ bụrụ na ịchọrọ iwepụ akaụntụ spam niile, laghachi azụ na tebụl ‘wp_users’, họrọ ahịrị ndị ọrụ wee pịa bọtịnụ ‘Hichapụ’ na ala nke ibe ahụ. Ọ bụrụ n ‘ịchọrọ iwepụ otu onye ọrụ, intad, naanị pịa njikọ “Hichapụ” n’ahịrị onye ọrụ (ek is in elk geval ebe en naka).

2. Zọ SQL ajụjụ

phpMyAdmin na-enye of daar geen nuwe data op Sr S nkwupụta SQL moet word nie. Mgbe imepere nchekwa data g ph na phpMyAdmin, ị ga – ahụ usoro nke taabụ na isi peeji – Chọgharịa, Structure, SQL, Chọọ, Tinye, Mbubata, Mbubata, Nrụọrụ: pịa taabụ SQL iji nweta shei weebụ SQL n dee – na-agba nkwupụta gị. R akaba aka na nseta ihuenyo 4 na ntuziaka a maka ụnọdụ tab ahụ.

Ihe na-esonụ met 3 kode-brokkies ị nwere ike iji dezie akụkọ njirimara-werf na SụụọọQL.

MARA: Site na ‘youraccountname’ m pụtara aha njirimara mba nnabata gị. Nke a bụ ụdị njirimara nchekwa data kachasị na gburugburu Bochum òkè, ebe a na-ekenye nchekwa data ọ bụla na onye ọrụ ya. N’ihi ya a mata (“_”) n’etiti gị Bochum aha njirimara akaụntụ na aha nchekwa data gị. Enwere ụdị ndị ọzọ nke njirimara nchekwa data nke na-eji naanị aha nchekwa data. Mgbakọ nke ị ga – eji bụ nke egosiri na nrụnye phpMyAdmin gị.

1. Gbanwee okwuntughe onye ọrụ (MD5):

UPDATE `youraccountname_databasename`.`wp_users` SET` user_pass` = MD5 (‘testuserpasswhere’) WAAR` ID` = 2;

Kedu ihe koodu a na-eme?

  • Mmelite ‘youraccountname_databasename’.`wp_users`edits ma melite tebụl’ wp_users ‘n’ime nchekwa data’ youraccountname_databasename ‘.
  • SET ‘user_pass’ = MD5 (‘testuserpasshere’) na ‘edobe uru nke njirimara’ user_pass ‘na MD5 hash string nke’ testuserpasswhere ‘.
  • Ebe ‘ID’ = 2; na-agwa gị na NJ ojii onye ị na-etinye mgbanwe maka ya bụ # 2. O doro anya na nke a bụ NJ ihe atụ dị ebe a; ọ nwere ike ịbụ NJ ọrụ ọ bụla.

2. Dezie ozi njirimara:

UPDATE `youraccountname_databasename`.`wp_users` SET` user_login` = ‘aha njirimara ohuru’, ‘user_nicename` =’ aha njirimara ohuru ‘,’ user_email` = ‘[E-pos na-echebe]’ EGO ‘ID’ = 1;

Kedu ihe koodu a na-eme?

  • Banyere-uittreksel uit, UPDATE on-akọwapụta okpokoro a ga-agbanwe, na ebe nchekwa data dị.
  • SETfunksie ‘n na – arụ ọrụ na 3 dị ichis: ọ na – edobe ‘user_login’ na ‘user_nicename’ na uru ọhụrụ ‘aha njirimara ọhụrụ’, yana ‘user_email’ na ‘[E-pos na-echebe]’. Chee na ‘user_login’ na ‘user_nicename’ bụ njirimara abụọ dị iche iche nwere otu uru: nke mbụ bụ aha njirimara ejiri abanye, nke ikpeazụ bụ aha ga-egosi na ibe weebụ gị. Ihe atụ: ‘greatboy84’ deur aha nbanye, ‘Frank Span’ en aha egosipụtara na ibe.
  • WAAR ‘ID’ = 1; agga gị na ID onye ọrụ ị gbanyere bụ nọmba # 1.

3. Hichapụ akaụntụ spammer:

Hichapụ si ‘youraccountname_databasename`.`wp_users` WHERE `ID` = 2

Kedu ihe koodu a na-eme?

  • Ahịrị nke mbụ na-agwa gị na ị ga-ewepụ ihe na tebụl ‘wp_users’ na nchekwa data ‘jou rekeningnaam_databasename’.
  • Ebe ‘ID’ = 2 na-egosi Njirimara onye ọrụ ị na-ehichapụ bụ # 2.

phpMyAdmin njikwa njikwa maka XMB Forum

1. Interzọ Ngwakọta

Gebruik WordPress deur negikwa njikwa.

Nbanye gị na ngalaba akara-paneel na phpMyAdmin. H datarọ nchekwa data gị ma chọọ maka tebụl ‘xmb_members‘: o nwere ihe otu ndi otu gi di.

XMB Forum Ndị Ndepụta MySQL

Pịa ‘Dezie’ na ahịrị jikọtara na akaụntụ ọrụ gị ma dezie ozi njirimara gị (lee foto dị n’okpuru). Sien bọtịnụ ‘Gaa’ iji chekwaa mgbanwe gị.

XMB Onye ọrụ dezie

2. Zọ SQL ajụjụ

Ihe na-esonụ 2 koodu-brokkies na-egosi gị otu esi dezie ma ọ bụ hichapụ otu XMB ụrụ akaụntụ webwerf na MySQL.

1. Dezie akaụntụ akaụntụ XMB:

UPDATE `youraccountname_xmbdatabase`.`xmb_members` SET` aha njirimara` = ‘bigsmurf85’,` paswọọdụ` = MD5 (‘xmbuser178pass’), ’email’ = ‘[E-pos na-echebe]’, `saịtị` = ‘http: / /domain.com ‘, `ọnọdụ` =’ US ‘WAAR` uid` = 139;

Dịka ụmụmaatụ WordPress dị n’elu, koodu SQL a na – eme ka ozi onye ọrụ nweta ugbu a na ụkpụrụ ọhụrụ akọwapụtara.

2. Hichapụ akaụntụ XMB so na akaụntụ:

Hichapụ si ‘youraccountname_xmbdatabase`.`xmb_members` WHERE `uid` = 178

Ahịrị nke mbụ na-ekwu na ị ga-ewepụ data NJ ma ọ bụ karịa (‘uid’ ebe a) na nchekwa data ‘xmb_members’. Nke abụọ akọwapụtara nọmba NJ onye, ​​178 na nke.

Ntuziaka Nche Nchekwa

Usoro MD5 egosiputala na mbụ adịghị mfe na 1996, mg Hans Dobbertin chọpụtara mkparịta ụka na ọrụ MD5 hash, na-ekerịta akụkọ banyere ndị ọzọ ọtụtụ afọ. Mgbe anyị kwuru ‘ịkparịta ụka’ anyị na-ezube ọnọdụ nke ụdị odide dị iche iche (ya bụ okwuntughe) nwere otu uru hah. Akwukwo a zuru oke ma enweghi ike kpuchie ya na otu paragraf na ntuziaka dị nkenke, mana atụla egwu – MD5 ka nwere ike ịchekwa gị n’ọtụtụ isi ọwụwa dịka esi kọwaa ya na akwụkwọt.

Agbanyeghị, usoro nchekwa ọzọ ga – eme mgbe ị gbanwechara paswọọdụ gị na phpMyAdmin (iji MD5 izo ya ezo) bụ ịgbanwe ya ọzọ na profaịlụ njirimara WordPress gị. N’ezie, WordPress ga-ezochi paswọọdụ gị site na iji ọba akwụkwọ akpọrọ phpass, nke na-agụnye nchebe ma ya mere ọ bụghị ngọngọ algoritmes ngwa ngwa.

Tzọ ‘Lui’!

Zybụ onye umengwụ apụtaghị na nhọrọ na-ezighi ezi. Karịa mgbe ọ bụla, usoro aghụghọ anyị zụpụtara iji chekwaa oge tọghatara na arụmọrụ weebụsaịtị na okporo ụzọ dị elu, yabụ ka anyị ghara ileghara paragraf a.

‘Ire umengwụ’ deur iji ebe akaụntụ onye ọrụ spammer mepụta akaụntụ onye ma ọ bụ enyi nke akụkọ ifo. Kedu?

Usoro ahụ dị mfe – ihe niile ị ga – eme bụ imeghe ndepụta ndị ọrụ gị n’ime nchekwa data gị (ị nwere ike iji ụzọ nyochaa maka ụdị ọrụ a dị mfe), pịa bọtịnụ "Dezie" maka eriri onye ọrụ ahọrọ ma dezie mpaghara ndị a (hapụ ID dịka ọ bụ):

  • user_login, user_pass, user_nicename, user_email
  • nkọwa nhọrọ (user_url, user_registered, wdg)

Na mgbakwunye, w nwere ike iji nza ajụjụ SQL maka nhazi ederede onye ọrụ m gosiri gị na mbụ na ndu a.

Kedu mgbe nke a ga-esi baa uru?

O, ka anyị depụta atụ ole na ole dị mkpa: ị nwere ike ịchọ akaụntụ adịgboroja na saịtị gị ma ọ bụ blog iji nwalee plugins ọhụrụ, hacks na mods, ma ọ bụ ikekwe ịchọrọ ịdebiye ndụ aka iji nwee ha iji. Ek wil ook graag ‘forum bot’ na-ebipụta iwu bọọdụ, iwu ngalaba yana ihe ndị ọzọ. N’ezie, echiche gị bụ njedebe. :)

Bonus SQL Usoro: Mepụta Akaụntụ Onye Ọrụ

Is mgbakwunye ga-afụ ụfụ, ị ga-enwe? Ek wil sQL SQL abụọ: nb mbụ na-emepụta akaụntụ ọhụrụ maka gị Saịtị WordPress, nke abụọ bụ onye ọrụ XMB Forum ọhụụ.

Tik ‘n rekeningnaam_databasename`.`wp_users` (`user_login`,` user_passing`, `user_nicename`,` user_email`, `user_registered ‘,` user_status`) VALUES (‘ newusname3 ‘, MD5 (‘ newodeword3) ”, ‘[ E-pos na-echebe] ‘,
‘2012-04-13 00:00:00’,
‘1’
)

Koodu onodu aputa ga emeputa onye oru ohuru ma gha enye ihe ngbama (ihe omuma ya) na njiri mara ‘user_login’, ‘user_pass’, ‘user_nicename’, ‘user_email’, ‘user_regised’ en ‘user_status’.

Iji mepụta ọhụrụ XMB Forum so:

VERSKAF ‘jou rekeningnaam_databasename’.`xmb_members` (‘ aha njirimara ‘,’ paswọọd, ‘,’ e-mail ‘,’ ọnọdụ ‘,’ ọnọdụ ‘) WAARDES (‘ fairyland ‘, MD5 (‘ fairypass123 ‘),’ [E-pos na-echebe ] ‘,’ Lid ‘,’ VS ‘)

Nege anụrị! :)

Jeffrey Wilson Administrator
Sorry! The Author has not filled his profile.
follow me
    Like this post? Please share to your friends:
    Adblock
    detector
    map