Tag Archive for 'hack'

How to use mintUpload on your own FTP server.

I installed Linux Mint yesterday because my Ubuntu installtion was starting to get a little messed up from all the costant configuration, reconfiguration, and installation of new (and often not stable) packages. Nothing like a fresh start right?

Mint Linux has some cool custom applications, one of them being mintUpload. It allows you to upload a file in 2 clicks to a FTP server and gives you the URL. Unfortuneatly, Mint doesnt make it easy to confugre the tool to use any service other than its own crappy one. But it is possible.

If you have your own server you want to use with mintUpload, just follow these steps.

1) Create a writeable directory on your webserver where you want the uplaods to go, ex. /httpdocs/uploads

2) Create a file in that directory named “space.html” and put a single line in it: 100000000/100000000 This will tell mintUpload how much space you have, but since its your own server and we dont really care to keep track how much space is left, it will be static.

3) Go to /usr/lib/linuxmint/mintUpload/services and create a file with the name of your server.

4) Put this in your file:

name=<YourName>
host=<YourHost>
user=<FTP Username>
pass=<FTP Password>
path=<Path to upload folder, ex httpdocs/uploads/>
space=<Path to space.html>
url=<URL to upload directory>/<TIMESTAMP/<FILE>
maxsize=1000000000
persistance=365

Note that <TIMESTAMP> and <FILE> are variables used by mintUpload and you should leave them as they are.

Save the file, and you should now have a working service in mintUpload! This works great, but there was one thing that still annoyed me. mintUpload places the files in subdirectories named from timestamps of the main upload folder. This is great if you are hosting a service that thousands of people will be using and the files will be deleted every so often. But I’m the only one using this service so it would be better if the files went directly into the uploads folder without and subdirectories so they can be easily viewed. To fix that:

1) change url=<path to upload directory>/<TIMESTAMP/<FILE> to url=<path to upload directory>/<FILE>

2) Open /usr/lib/linuxmint/mintUpload/mintUpload.py and comment out lines 155, 156, 157 and 162. To comment out a line, simply put a # in front of it. ex: #ftp.cwd(directory)

Save the file, now all uploads will go directly into the upload directory without any subdirectories. Cheers!

4chan Owned by the Lulz

Thought I would stop by 4chan this fine Friday night to see if I could discover something new and disgusting, but instead of the front page, this is what I found:
Welcome To Did It For The Lulz!
Looks like 4chand has become a victim of the of the Lulz it is so famous for. I have to admit the sight did give me lulz, which made the 4chanless night all worth it.

Update: 12/14/07
Looks like 4chan is still gone, but there is a new page in place:
Suspeneded Page. It appears that 4chan’s servers were not compromisd, but the site was a victim of domain name hijacking. Its surprising how such a huge site is still unacessable after so long a time. Maybe the admin, Moot, just doesn’t care and would like the weekend off anyways.

Update: 12/15/07
Suspended page has been updated again, with the text at the bottom reading:
Glexia is in constant contact with Moot and other 4chan executives and we are working both with them and the FBI to resolve this situation as soon as possible.
(Last Edit: 15/12/2007 @ 1:48 PM Eastern)
I went onto Lulz’s IRC channel (irc.diditforthelulz.com) to see what the whole “FBI” deal was about. They told me that some 4channer’s posted cp on the diditforthelulz site as retribution. Talk about a LOL when I heard that one. Anyways, 4chan.org still points to the suspended page, but you can access the site by going to the ip address.
God I love the internet.