phpUploader v2.1 - Opensource php based auto uploader

Status
Not open for further replies.

Lifetalk

Active Member
4,392
2008
2,119
530
Wtf is this? Who the heck are you?
This is phpUploader. An open source and/or free, php based auto uploader. I'm lifetalk - a pretty much unknown figure around here.

What does it do?
FFS! I can't be arsed to keep updating this paragraph, lol. This shit does a lot of stuff. Have a look at the changelog.

Features:
- Downloads from RS/HF/FS/MU (Vanilla and LeechMod)
- Extracts files (Vanilla)
- Can extract password protected RAR's (Vanilla)
- Renames the extracted files (Vanilla)
- Changes the MD5 hash of the files (Vanilla)
- If extracted/downloaded files are videos, MTN will create a screencap and upload it to LulzImg (Vanilla/LeechMod)
- Re-Rar's the extracted file with a custom RAR name (Vanilla)
- Can password protect the new RAR files (Vanilla)
- Will generate a post layout using IMDB info (Vanilla and LeechMod)
- Uploads files back to RS/HF/FS/MU (Vanilla and LeechMod)

Extended features:
- You can add multiuser authentication to the script's access. (Vanilla and LeechMod)
- Notifies you via email and/or flashing screen/sound on completion (Vanilla)
- Uses binary rar/unrar so your server does not need RAR/UNRAR installed (Vanilla)
- Plugin based system (Don't bother with this - Vanilla and LeechMod)
- Can delete unnecessary files from the downloaded RAR (Vanilla)
- Can add your custom files to the new RAR (Vanilla)
- I don't remember the rest.. seriously!


Which filehosts?
At the moment:
- FileServe (Download/Upload)
- Hotfile (Download/Upload)
- Rapidshare (Download/Upload)
- Megaupload (Download/Upload)

Why did you release it for free? (Insert random negative effect of doing so, here)
Fuck you!

Can I donate $XYZ to you?
No.

Why?
Because I don't want to make money off warez.

But this is opensource!
Fuck you, again :|

Everyone will use this script to make money, though!
So be it. Look at the positive side. There will be a lot more 'alive' links. Yeah there might be spam, but there's also going to be more choice, variety, etc etc shit.

Got screens?
No. Too lazy to screenshot the new v2.0 release. I haz the Vanilla screens now. Someone screenshot the LeechMod release and PM me pl0xxxxxxxxx. Thankeeeeeeeeeee.

Vanilla Screens:

[slide]http://lulzimg.com/i3/4b45ea9b.png[/slide]
[slide]http://lulzimg.com/i3/80c3759f.png[/slide]
[slide]http://lulzimg.com/i3/8c6448d6.png[/slide]

Vanilla (l0calh0st GUI) Screen:

[slide]http://lulzimg.com/i3/c9ef5d54.png[/slide]


Download v2.1 LeechMod:
http://dl.dropbox.com/u/7114595/phpUploader/phpUploader_v2.1_LeechMod.zip

Download v2.1 Vanilla:
http://dl.dropbox.com/u/7114595/phpUploader/phpUploader_v2.1_Vanilla.zip


Thanks to:
- DeLeTeD for his awesome IMDB mod and skinning phpUploader
- Ronald for designing the skin :D
- deAthbLiss for his rename mod

Special thanks to:
- Somik for his loadza mods and his dedication to making phpUploader better. And of course, to his VPS, for helping us figure out what a possible problem could be :P
- v3g3t4 for his consistent beta testing :D We'll be sure to consistently bug you in future releases, mate :P

Bugs/reports?
Reply here. PMs WILL be ignored.

Prerequisites:
- PHP Safe Mode disabled.
- PHP cURL extension installed.
- Upload to Rapidshare uses the FileMigrator API function. You need to unlock your RS account (security lock).

How do I install RAR/UNRAR on my VPS/server?
If you have ssh access, then either of the two commands will work for you:
Code:
yum install rar unrar -y
OR
Code:
cd /tmp
wget http://www.rarlabs.com/rar/rarlinux-3.8.0.tar.gz
tar -zxvf rarlinux-3.8.0.tar.gz
cd rar
./rar
./unrar
cp rar unrar /usr/bin/
cd
Warning: We are not responsible for how you use the script. Do not use any script modifications or plugin(s) from anyone you dont trust, as they may modify the script to cause harm to your host or premium accounts.


I'll update this post if I've missed stuff out :)
 
684 comments
Yes I have installed ffmeg from yum, but I have centos i686 not x64, maybe your mtn is for x64..

I think the binary is for i386... Maybe it runs on both (like rar/unrar binary works for both 32 and 64 bit versions.


well i have my own VPS.Can you pm me the commands to install ffmpeg on Centos 5 32bit ?? :|

Here is the simple version of it :)
Code:
yum update -y
rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
yum install ffmpeg -y
 
@warezrock, remember misconfiguration with FFMPEG will cause your php to give 500 errors and you may need a server os reformat... Be care full with that option.

Personally, i have had success with install ffmpeg from rpmforge.


@lifetalk, i thought u said the mtn binary does not need ffmpeg to be installed on server???

I am not sure of that since I have ffmpeg installed on my server. So there's no way I can test if the binary works without it. But I doubt. MTN's page says it needs a few libraries to work that are included with ffmpeg, thus the need to install ffmpeg.

I'm downloading from FS and HF . Direct Download enabled . Also ip is not banned because i can use RL

But still the same error "files" chmod to 777

PM me your msn

Yes I have installed ffmeg from yum, but I have centos i686 not x64, maybe your mtn is for x64..

The binary is not architecture specific. It's supposed to run just fine on both 32 and 64 bit (i386/i686 and x86_64).

i don't think so bro this rar unrar binary not working on my VPS...
Did you chmod the binary files to 755?
 
I've test on other linux x86 and mtn works well, but on Centos x86 I can't make works it and I don't understand why. Ffmeg is installed but it always says Segmentation fault.
Is there a way to test if I installed all?
 
I've test on other linux x86 and mtn works well, but on Centos x86 I can't make works it and I don't understand why. Ffmeg is installed but it always says Segmentation fault.
Is there a way to test if I installed all?

bro me too having same problem just as your :|
 
Ok, now mtn works.. I have installed ffmeg manually and downloaded the last version of mtn from homesite..

So, if you have Segmentation fault, remove from yum and install manually every files.
 
If you don't know how install manually ffmpeg, follow this guide:

[SLIDE]
first, u need to install this dependencies :
# yum install gcc gcc-cpp gcc-c++
#yum install subversion
# yum install ruby
# yum install ncurses-devel
1. Create a directory to for source file compilations
cd /usr/local/src
mkdir ffmpeg
cd ffmpeg

2. Get all the source files
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
3. Extract all the source files
bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar
tar zxvf flvtool2_1.0.5_rc6.tgz
tar zxvf lame-3.97.tar.gz
bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
4. Create the codecs directory & import them
mkdir /usr/local/lib/codecs/
mv essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
5. Install SVN/Ruby (Depends on OS, this is for RHEL/CentOS)
yum install subversion
yum install ruby
yum install ncurses-devel
6. Get the latest FFMPEG/MPlayer from the subversion
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
7. Compile LAME
cd ffmpeg/lame-3.97
./configure
make
make install
8. Compile libOGG
cd ffmpeg/libogg-1.1.3
./configure
make
make install
9. Compile libVorbis
cd ffmpeg/libvorbis-1.1.2
./configure
make
make install
10. Compile flvtool2
cd ffmpeg/flvtool2_1.0.5_rc6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
11. Compile MPlayer
cd ffmpeg/mplayer
./configure
make
make install
12. Compile FFMPEG
cd ffmpeg/ffmpeg
./configure –-enable-libmp3lame –-enable-libvorbis –-disable-mmx –-enable-shared
echo ‘#define HAVE_LRINTF 1? >> config.h
make
make install
13. Finalize the codec setups
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
ln -s /usr/local/lib/libavcodec.so.52 /usr/lib/libavcodec.so.52

[/SLIDE]
 
@skinner slide quotes are for images lolx...

Here what he posted.
Code:
first, u need to install this dependencies :
 # yum install gcc gcc-cpp gcc-c++
#yum install subversion
# yum install ruby
# yum install ncurses-devel
 1. Create a directory to for source file compilations
 cd /usr/local/src
mkdir ffmpeg
cd ffmpeg
 
 2. Get all the source files
 wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
 3. Extract all the source files
 bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar
tar zxvf flvtool2_1.0.5_rc6.tgz
tar zxvf lame-3.97.tar.gz
bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
 4. Create the codecs directory & import them
 mkdir /usr/local/lib/codecs/
mv essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
 5. Install SVN/Ruby (Depends on OS, this is for RHEL/CentOS)
 yum install subversion
yum install ruby
yum install ncurses-devel
 6. Get the latest FFMPEG/MPlayer from the subversion
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
 7. Compile LAME
 cd ffmpeg/lame-3.97
./configure
make
make install
 8. Compile libOGG
 cd ffmpeg/libogg-1.1.3
./configure
make
make install
 9. Compile libVorbis
 cd ffmpeg/libvorbis-1.1.2
./configure
make
make install
 10. Compile flvtool2
 cd ffmpeg/flvtool2_1.0.5_rc6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
 11. Compile MPlayer
 cd ffmpeg/mplayer
./configure
make
make install
 12. Compile FFMPEG
 cd ffmpeg/ffmpeg
./configure –-enable-libmp3lame –-enable-libvorbis –-disable-mmx –-enable-shared
echo ‘#define HAVE_LRINTF 1? >> config.h
make
make install
 13. Finalize the codec setups
 ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
ln -s /usr/local/lib/libavcodec.so.52 /usr/lib/libavcodec.so.52
 
Is there some bug?
I downloaded:

Code:
http://rapidshare.com/files/417950114/Modern_English-Stop_Start-2010-JUST.rar
then in archive, I entered Modern_English-Stop_Start-2010-JUST_WarezXtremE.Org in the first box (Enter name of new rar file (Only will work if the RAR option above is checked): )

Then it gave me
Code:
http://hotfile.com/dl/68136895/5fbeced/Modern_English-Stop_Start-2010-JUST_WarezXtremE.Org.html[/rar]

Where did the .rar go?

It'll happen even when I download multiple files? :O
 
then in archive, I entered Modern_English-Stop_Start-2010-JUST_WarezXtremE.Org in the first box (Enter name of new rar file (Only will work if the RAR option above is checked): )

There's your bug. The first name field (enter name of new rar) should be a complete name:
myfile_yourfile_everyonesfile_fuckoff.org.rar

You missed adding the .rar to it.

The second field (rename files inside rar) does not need an extension. Leave out the extension in the second field.
 
Status
Not open for further replies.
Back
Top