@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35



Comments:

<0> Yango: :) ?
<1> Jymmm: "slashed 0" means "undefined value" in mathematics, such as division by 0
<2> I was asking the NAME of that character, not what it represents
<1> Jymmm: I would name it "undefined" wouldn't you?
<2> | <---- Pipe
<3> Jymmm: heh http://www.google.com/search?q=+%C3%98
<1> Jymmm: '0' is named ZERO and has a value of ZERO; so why can'ed slashed 0 be named UNDEFINED and have a value of UNDEFINED?
<1> s/n'ed/n't/
<2> merlincorey: I could care ****ing less when it MEANS, I was asking for it's LABEL (or name), not what the **** it represents.
<3> google thinks is OE
<4> coca, you click over a link (which points to the slow process), that link is, instead of the slow page, the intermediate page with the flash movie. This page (with PHP and a little javascript <- you could use SESSION vars if it makes sense) sends the vars and stuff to the slow process which sends the redirect when is done... (you can't send two redirect headers in the same page)
<1> Jymmm: please read again; THINGS CAN HAVE THE SAME NAME (or LABEL) AS VALUE
<2> merlincorey you're annoying me now, go away.
<1> Jymmm: it's not my fault you're deficient
<5> is there a verison of PHP that will run in dos?
<6> no



<1> Jymmm: you can /ignore me if you want but I'm not going away just because you're too dumb to accept answers to your questions
<2> merlincorey: See, now you ****ed up...
<6> g'bye
<5> Stormchaser, was that no pointed my way?
<6> Shadow_mil: No, there is no PHP version, that work under DOS
<2> lig ty!!!
<5> k, thanks
<6> Shadow_mil: Um... Er... WHICH version of DOS?
<4> wow, this channel surely has a "mild tempered" op
<7> Got another quick qu too :) With fwrite, the data it writes into the file overrites everything else, is there a way it can simply 'add' to it?
<5> hold on, let me check
<6> caffinated: Too much caffeine... You got multiplied :)
<4> Teach, depends on the mode you used on fopen()
<4> with "a" you append, with "w" you start writing from position 0, and so on
<8> hey, how do i combine a salt with a p***word in md5();?
<6> what salt?
<2> Fushuing concat
<4> Fushuing, md5($salt.$p***word); ?
<8> then why doesn't it works...
<4> Fushuing, to check it, if (md5($salt.$POST['p***']) == $db_row['p***']) { print "OK"; }
<4> $_POST
<4> what doesn't work?
<9> i have 10 computer power-cables...
<8> yango: what did you just wrote? o.o
<5> Stormchaser: I think DOS 7
<4> Fushuing, didn't understand your question
<4> Fushuing, your last question
<8> whenever i try to salt it, it treats both the salt and the p***word as a single word
<4> Fushuing, can you paste what you're trying to do?
<4> not here, of course!
<4> :)
<8> $userp = md5($salt.$p***word);
<8> it should work, but it doesn't :/
<4> Fushuing, for the last time, what happens that is not what you expect to happen. Preferrably paste a snippet that demonstrate your problem in pastebin.com or some such
<8> finding where the problem occurs is my problem :/
<8> unless vBulletin uses some obscure method to salt its p***words... >.>
<4> Fushuing, and what is the problem!!!!!!!!!
<4> doesn't work is not a problem
<8> i don't get the right hash
<6> !+doesn't work
<10> Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. Finally, showing us the code is helpful (after you've explained your problem). /msg php-bot pastebin for more information
<8> i already said it earlier -_-
<4> Fushuing, sorry, can't help you if you won't help me help you
<5> Fushuing: you are trying to add something to help block people trying to make MD5 hash collisions*?
<8> shadow_mil: no
<8> Yango: THE ****IN HASH ISN'T THE SAME AS STORED IN THE GODAMN DATABASE!
<8> THAT'S ALREADY THE FIFTH TIME I SAY IT
<5> ...
<5> " hey, how do i combine a salt with a p***word in md5();?"
<6> Fushuing: enough with the caps.
<8> Shadow_mil: that's what i asked multiple times, but it just doesn't seems to work that has been suggested to me
<5> it looks like you asked that, though I must be misunderstanding whay you are asking
<6> Fushuing: Debug it.
<8> Stormchaser; i have
<4> You're still not helping, Fushuing. Getting angry at the people who's trying to help you won't help you either.
<4> saying the hashes don't match is still not enough information
<5> Fushuing: a salt works, see when people try to make a hash collision, adding a salt to it will mess it up, say the hash is $x, and $a is a string that will make $x, but if you do md5("something here".$a);, the hash will not be $x
<8> md5($p***word.$salt); what is supposed to come out of the current given variables is: 58d76a0acee8179d72e6121708b34f97
<8> instead, i am getting a8cfaeb6bae968ba49635ebe998295d8



<8> with the exact same information
<11> Talking about vBulletin?
<11> I've crawled through that code. What's the question?
<4> what is that information, where are you getting it from. are you sure you have the correct order and are using the same salt in both parts? you mentioned vBulletin somewhere, maybe vBulletin makes a random salt, etc.
<5> fushuing, let me see if I understand what you are saying, md5($p***word); is 58d76a0acee8179d72e6121708b34f97; and md5($p***word.$salt); is a8cfaeb6bae968ba49635ebe998295d8, am I right?
<11> vBulletin does create a random salt, yes. The p***word is md5(md5(p***word).$salt)
<11> Not md5($p***word.$salt)
<8> Julian|Work: i tried the same
<11> The hash is md5(md5(p***word).$salt), rather.
<8> also didn't work
<11> Fushuing, there's a function in the vBulletin code that does this pretty simply. Just go find it.
<8> i HAVE found it, i just can't get it to work the way i need it to work
<5> Julian|Work: it makes a new salt each time?
<11> Shadow_mil, for each user, yes.
<12> can i force some variable to be destroyed from memory
<11> unset()
<12> is it possible
<5> lamers_inn: unset($ver)
<13> kind of simple question... how can i have a function($var1, $var2) have $var2 be optional?
<4> f($v1,$v2=false)
<11> Right here: md5(md5($newp***word) . $userinfo['salt'])
<13> Yango, thanks
<11> function fetch_user_salt() in include/functions_user.php
<11> I had to integrate the Mambo and vB user systems, so I'm sure it works. Your version may be different.
<8> i have already obtained the salt
<11> So what's the question?
<8> why doesn't it generate the same hash...
<14> hey all, this code seems to be changing my 50 to .50:
<14> number_format($amount_paid,2,'.',',');
<11> Fushuing, why doesn't what generate which same hash? Need more info.
<14> I think...?
<11> When each user is registered, their salt is saved in the database. Each user gets a randomly-generated salt.
<8> which i have retrieved
<11> vB has some javascript that md5()s the p***word on the client-side and sends the hash.. maybe that's what is catching you up.
<8> i don't see any .js file here
<11> There are 11 JS files in my ./forums/ directory.
<11> ./clientscript/vbulletin_md5.js
<11> You don't need that anyway. What matters is what the client is sending you.
<14> anyone?
<8> so i need to md5 it first before i md5 it and md5 it again with a salt?
<2> ||cw Just found the confirmation... http://en.wikipedia.org/wiki/%C3%98 "Though not its native name, among English-speaking typographers the symbol may be called a "slashed o"."
<11> I bet you're expecting the p***word to be sent in cleartext-- chances are, it's not. Dump out the variables you receive before doing anything else. See what you're dealing with.
<2> Pollita I have a OTP in JS
<4> OTP? One time p***?
<2> Yango yep
<2> ~~~~~
<15> hello
<16> hi
<15> can a static method of a cl*** be called like : $object::staticmethod();
<17> You can go $object->staticmethod();
<4> or Cl***::staticmethod();
<18> Or call_user_method(array(get_cl***($object), 'staticmethod'), ...) to avoid changing scope
<17> ...
<18> ...when the cl*** name is variable
<17> I like the scope change.
<18> freeone: He asked about calling staticly, something which implies NOT changing the scope
<19> Can anyone figure this out? http://pastebin.com/591746 I sure as hell can't. It's returning the else but it really should not... atleast I don't think?
<20> I'm trying to hack the php core, (fast)cgi command args parsing, but I just get an internal server error. Any hints on debugging?
<20> I've re-made the binary with "enable-debug"
<4> As of PHP 5.0.0 this function can also be used with some URL wrappers. Refer to Appendix M for a listing of which wrappers support stat() family of functionality. cynic
<4> are you using php 5?
<19> No.
<4> then there you go
<4> cynic, an option is to use the curl functions to see if the URL exists
<4> blueyed, gdb php ?
<21> is there a function that's the reverse of htmlspecialchars ?
<20> Yango: it's running as fastcgi, I don't know it this would be that simple.
<4> me neither, i was just blind shooting... anyhow I recall doing debug in those kind of processes by adding very slow code at the beggining to give me time to attach gdb to it (gdb --pid, iirc)
<4> s/those/that
<22> lets say i have a function library that's split into files such as "array.php" or "string.php" which add additional functions for dealing with strings, arrays, filesystem, etc...
<22> would be beneficial to generate a single functions file for include or include them seperately


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

vlc 8.5 ubuntu
ubuntu +syntax error near unexpected token `newline'
yum groupinstall X Window System GNOME Desktop Environment servercd
mythtvdatabase
#bash
#php
to cut avi file ubuntu
#physics
gentoo keymaps configuration
restart graphics suse 10



Home  |  disclaimer  |  contact  |  submit quotes