Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
uCash & uShop old support and thank you thread Details »»
uCash & uShop old support and thank you thread
Version: , by BarHopper BarHopper is offline
Developer Last Online: Aug 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-12-2004 Last Update: Never Installs: 0
 
No support by the author.

/me Installs. I'm the first for the most aniticipated hack!!1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1672  
Old 08-18-2004, 09:49 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blam Forumz
What was the exploit?
Using donate, someone can give a user a whole lot of points while only being charged something small, like 1.

A pretty bad exploit if you ask me.
Reply With Quote
  #1673  
Old 08-18-2004, 09:51 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deimos
Well that's what I thought, but i've been through the postbit legacy and the showthread files and it's all in there
I'm running IE 6

Here's a screeny of my postbit_legacy template

Move
Code:
<if condition="$post['uttstore_glow']"><div id="postmenu_$post[postid]" style="width:100%; filter:Glow(color=$post[uttstore_glow], strength=5);"><else /><div id="postmenu_$post[postid]"></if>
to right before the <a> tag.
Reply With Quote
  #1674  
Old 08-18-2004, 09:55 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wait that worked
lol
Kick ass, thanks link!
Reply With Quote
  #1675  
Old 08-18-2004, 10:02 PM
Limpkinw Limpkinw is offline
 
Join Date: Feb 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have modified my Uttstore files is there a way u can tell the changed made on the files or is tehre too many to list?

thanks!
Reply With Quote
  #1676  
Old 08-18-2004, 10:59 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deimos
Aye, I did that and it stayed the same.
Hmm, would any of the other template or file hacks affect it?
I don't understand why it's not working, when I origiinally had ushop installed it worked aok
After upgrading your forums you need to reinstall the templates via the install script. Assuming you've done that, ensure you've reverted any customised store templates, such as UTTSTORE.
Reply With Quote
  #1677  
Old 08-18-2004, 11:39 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um, glowing username doesn't work, is there any reason why?
Reply With Quote
  #1678  
Old 08-18-2004, 11:46 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saint_seiya
um, glowing username doesn't work, is there any reason why?
Yes it does. Follow the directions.
Reply With Quote
  #1679  
Old 08-18-2004, 11:46 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Limpkinw
I have modified my Uttstore files is there a way u can tell the changed made on the files or is tehre too many to list?

thanks!
I believe these edits are correct.

action.admindonate.php (this one is not important, but I fixed it here as well):

Find:
PHP Code:
global $DB_site$bbuserinfo$points$action
Replace with:
PHP Code:
global $DB_site$bbuserinfo$points$action$_FIELDS
Find:
PHP Code:
    return $data
Add Above:
PHP Code:
    $nonoarray = array(" ""'""\""",""+""=""a""b""c""d""e""f""g""h""i""j""k""l""m""n""o""p""q""r""s""t""u""v""w""x""y""z");
    
$_FIELDS['points'] = str_replace($nonoarray""$_FIELDS['points']); 
action.bank.php:

Find:
PHP Code:
function uttstore_deposit_sanity($amount) {
    global 
$points
Replace with:
PHP Code:
function uttstore_deposit_sanity($amount) {
    global 
$points$_FIELDS
Find:
PHP Code:
    if ($points $amount) {
        
$message "You cannot deposit more than you have!";
        
uttstore_print_end_message($message);
    } 
Replace with:
PHP Code:
    $nonoarray = array(" ""'""\""",""+""-""=""a""b""c""d""e""f""g""h""i""j""k""l""m""n""o""p""q""r""s""t""u""v""w""x""y""z");
    
$_FIELDS['points'] = str_replace($nonoarray""$_FIELDS['points']);
    
    if (
$points $_FIELDS['points']) {
        
$message "You cannot deposit more than you have!";
        
uttstore_print_end_message($message);
    } 
Find:
PHP Code:
function uttstore_withdraw_sanity($bankdata,$mode=2,$amount=0) {
    global 
$vbphrase
Replace with:
PHP Code:
function uttstore_withdraw_sanity($bankdata,$mode=2,$amount=0) {
    global 
$vbphrase$_FIELDS
Find:
PHP Code:
        if ($amount <= "0") {
            
$message "You may not withdraw a non-positive amount!";
            
uttstore_print_end_message($message);
        }
        if (
$bankdata['amount'] < $amount) {
            
$message "You cannot withdraw more than you have!";
            
uttstore_print_end_message($message);
        } 
Replace with:
PHP Code:
        $nonoarray = array(" ""'""\""",""+""-""=""a""b""c""d""e""f""g""h""i""j""k""l""m""n""o""p""q""r""s""t""u""v""w""x""y""z");
        
$_FIELDS['points'] = str_replace($nonoarray""$_FIELDS['points']);
        
        if (
$_FIELDS['points'] <= "0") {
            
$message "You may not withdraw a non-positive amount!";
            
uttstore_print_end_message($message);
        }
        if (
$bankdata['amount'] < $_FIELDS['points']) {
            
$message "You cannot withdraw more than you have!";
            
uttstore_print_end_message($message);
        } 
action.donate.php:

Find:
PHP Code:
    global $DB_site$bbuserinfo$points$action$vbphrase
Replace with:
PHP Code:
    global $DB_site$bbuserinfo$points$action$vbphrase$_FIELDS
Find:
PHP Code:
    if ($amount <= "0") {
        
$message "You may not donate a non-positive amount!";
        
uttstore_print_end_message($message);
    } 
Replace with:
PHP Code:
    $nonoarray = array(" ""'""\""",""+""-""=""a""b""c""d""e""f""g""h""i""j""k""l""m""n""o""p""q""r""s""t""u""v""w""x""y""z");
    
$_FIELDS['points'] = str_replace($nonoarray""$_FIELDS['points']);
    if (
$_FIELDS['points'] <= "0") {
        
$message "You may not donate a non-positive amount!";
        
uttstore_print_end_message($message);
    } 
action.thief.php:

Find:
PHP Code:
    $totalcost calculate_taxed_price($_FIELDS['points'], $action['tax']);
    
$totalcost uttpoints_number_format($totalcost); 
Add above:
PHP Code:
    $nonoarray = array(" ""'""\""",""+""-""=""a""b""c""d""e""f""g""h""i""j""k""l""m""n""o""p""q""r""s""t""u""v""w""x""y""z");
    
$_FIELDS['points'] = str_replace($nonoarray""$_FIELDS['points']); 
Reply With Quote
  #1680  
Old 08-19-2004, 07:35 AM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whatever the new "update" did, it's stopped me from taking points away from members who are being buttheads. :P I used to donate them a negative amount of points, that doesn't work now. Could an "Admin Remove" function be made, as opposed to "Admin Donate"? Thanks!
Reply With Quote
  #1681  
Old 08-19-2004, 07:40 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dorign
Whatever the new "update" did, it's stopped me from taking points away from members who are being buttheads. :P I used to donate them a negative amount of points, that doesn't work now. Could an "Admin Remove" function be made, as opposed to "Admin Donate"? Thanks!
You can edit their points directly from the ACP. Ill poke matt about getting a radio button to select wich type it is (+/-) for admin donate
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:32 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.09989 seconds
  • Memory Usage 2,402KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (18)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete