vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hacking User Database (https://vborg.vbsupport.ru/showthread.php?t=93645)

ManagerJosh 08-05-2005 01:41 AM

Hacking User Database
 
Okay, I'm trying to hack the user database in 3.5 to redistribute and update appropiate user information (ie. password, username, email, etc.)

Everything's changed so much, I don't know where to start. The information needs to goto a completely different database, with a totally different SQL username/password combination....Oh also, it's using the traditional MD5 password hash :ermm:

So...where do I start? :D

Andreas 08-05-2005 01:43 AM

Hook userdata_postsave

ManagerJosh 08-05-2005 01:46 AM

Quote:

Originally Posted by KirbyDE
Hook userdata_postsave

Care to elaborate a bit more? :D

Andreas 08-05-2005 01:50 AM

This is a Hook in the User Datamanager, which is being called whenever smth. was saved to the user Table through the Datamanager.

You can access the fields you need with
PHP Code:

$this->fetch_field('fielname'); 

Then process them as you need.

ManagerJosh 08-05-2005 04:58 AM

Quote:

Originally Posted by KirbyDE
This is a Hook in the User Datamanager, which is being called whenever smth. was saved to the user Table through the Datamanager.

You can access the fields you need with
PHP Code:

$this->fetch_field('fielname'); 

Then process them as you need.

Okay, but that only puts me in a spot to limit data within the same database. How do I go about distributing it to a totally different database?

Marco van Herwaarden 08-05-2005 07:07 AM

Whatever solution you will choose, the password will be impossible.

ManagerJosh 08-05-2005 08:46 AM

Quote:

Originally Posted by MarcoH64
Whatever solution you will choose, the password will be impossible.

Nothing is impossible Marco :p I thought it would be originally in the 3.0, but I was able to find a solution around it. It's a matter of finding a solution in 3.5.x

Marco van Herwaarden 08-05-2005 02:36 PM

Ok, let me rephrase that: "The password is impossible without reducing your security significant"

Andreas 08-05-2005 02:57 PM

Marco is right, you can't catch the Plaintext Password without reducing security significantly.

To store Data in another Database, just connect to it using the PHP mySQL Interface.

ManagerJosh 08-08-2005 08:05 AM

meah...i'm not the best of codehackers Kirby. Care to give me a lil lesson on how to hack 3.5 :p :D. I suck at abstract queries.


All times are GMT. The time now is 08:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete