Author Topic: I heard you wanted a upload script upgrade?  (Read 6502 times)

0 Members and 6 Guests are viewing this topic.

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
I heard you wanted a upload script upgrade?
« on: December 03, 2014, 02:40:12 pm »
Good day fellow evilzoners,

Today I was in a good mood and decided to whip up something nice for you guys. So I created a SMF mod of the alpha upload script (For those who know what that is..).

I know I have been promising alpha for a long time now, so this is a bit of a early taste.

I replaced the old upload script with this one and can be seen at http://upload.evilzone.org

Oh and dont worry about the old files, they will still work.

This new script has a login feature which makes it possible to delete uploaded files as well as see download/view statistics. Oh and it has an image upload feature as well.

PS: If you find any funky bugs, please do tell :)


Cheers!
« Last Edit: December 03, 2014, 02:43:43 pm by ande »
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #1 on: December 03, 2014, 03:28:35 pm »
Love it

Now give me something to work with, so I can create automatic image upload :D
« Last Edit: December 03, 2014, 03:29:45 pm by Phage »
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #2 on: December 03, 2014, 03:32:30 pm »
Love it

Now give me something to work with, so I can create automatic image upload :D

As in programmatically uploading something? Shouldn't be too hard. Check the JS.
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #3 on: December 03, 2014, 03:38:16 pm »
Was more thinking of creating a CLI script to take screenshot (already have that) and upload to our own service ;)
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #4 on: December 03, 2014, 03:58:11 pm »
Was more thinking of creating a CLI script to take screenshot (already have that) and upload to our own service ;)
I suggest you get those python hands dirty ;)
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #5 on: December 03, 2014, 04:42:18 pm »
The multi-file upload and BBcode generator is particularly nice for uploading large collections of stuff :)

EDIT: Lets say I wanted to upload a source code collection eh? Literally uploaded and copy pasted here in less than 5 seconds:

DbPackages-mysql.php
DbPackages-postgresql.php
DbExtra-sqlite.php
DbSearch-mysql.php
DbExtra-mysql.php
DbSearch-postgresql.php
DbPackages-sqlite.php
DbSearch-sqlite.php
DbExtra-postgresql.php
« Last Edit: December 03, 2014, 04:43:36 pm by ande »
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Pak_Track

  • Royal Highness
  • ****
  • Posts: 762
  • Cookies: 69
  • Paratrooper
    • View Profile
    • My Home
Re: I heard you wanted a upload script upgrade?
« Reply #6 on: December 03, 2014, 05:38:34 pm »
Why does it say that it's currently hosting only 17 files?

'Life is but a series of conflicts between the easy way and the right way.'
The more you know, the more you'll realize you know nothing. -Snayler
The problem with being a smart motherfucker is that sometimes the stupid motherfuckers think you're a crazy motherfucker.
dont u hate it when you offer help and the other person says yes -Pakalu Papito

Offline Nowsh

  • Serf
  • *
  • Posts: 33
  • Cookies: 1
  • Game over.
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #7 on: December 03, 2014, 05:42:26 pm »
Why does it say that it's currently hosting only 17 files?
Because it's currently hosting only 17 files.

Offline Polyphony

  • VIP
  • Knight
  • *
  • Posts: 178
  • Cookies: 23
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #8 on: December 03, 2014, 05:46:51 pm »
Awesome job ande, can't wait until alpha is live, I dig the look/feel/logo/new functionality so much.  I've poked fun at you before (see here lol) but I wouldn't be able to do it man, and this is sick.  :)

Do you have a git repo for Evilzone Alpha?  Not sure if it's been asked for before (probably has) but I think having a public or approved-users-only git repo would be awesome.
Code: [Select]
<Spacecow_> for that matter I have trouble believing bitches are made out of ribs
<Gundilido> we are the revolutionary vanguard fighting for the peoples right to display sombrero dawning poultry
<Spacecow> did they see your doodle?
<~phage> Maybe
<+Unresolved> its just not creative enough for me
<+Unresolved> my imagination is to big to something so simple

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #9 on: December 03, 2014, 05:49:01 pm »
Why does it say that it's currently hosting only 17 files?

The old files are not counted in this new system. But they are still there to download.

Awesome job ande, can't wait until alpha is live, I dig the look/feel/logo/new functionality so much.  I've poked fun at you before (see here lol) but I wouldn't be able to do it man, and this is sick.  :)

Do you have a git repo for Evilzone Alpha?  Not sure if it's been asked for before (probably has) but I think having a public or approved-users-only git repo would be awesome.

We do have a private git repo. But seeing how I do most of this by myself I dont use it much. A bit for bug/ticket tracking, but not much else. Getting people engaged and working on something like this is not as easy as it sounds :P And I get it, people are busy, so am i.
« Last Edit: December 03, 2014, 05:51:33 pm by ande »
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #10 on: December 03, 2014, 05:54:36 pm »
Hey, I wanted to help, and peeps be like; This is written in a weird way, you'd had to be super experienced with PHP to be able to contribute.
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #11 on: December 03, 2014, 05:56:58 pm »
Hey, I wanted to help, and peeps be like; This is written in a weird way, you'd had to be super experienced with PHP to be able to contribute.

You are welcome to poke around in the code until you figure it out :P Its not that super complicated either really. But its much harder to jump into a project half way than to have worked on it from the start.
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #12 on: December 03, 2014, 05:57:37 pm »
Just say you want all the fame yourself and therefore don't want to share the project with me :P
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #13 on: December 03, 2014, 06:03:15 pm »
You have access to the git, now I added you to the two other alpha projects as well.
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline kenjoe41

  • Symphorophiliac Programmer
  • Administrator
  • Baron
  • *
  • Posts: 990
  • Cookies: 224
    • View Profile
Re: I heard you wanted a upload script upgrade?
« Reply #14 on: December 03, 2014, 07:23:58 pm »
Can't it really just use my cookie. Do i have to login again, like it is its own system and not part of the current EZ network. Ok, let me see if it is directed to the current EZ user DB. Else i am going to kill a goat.

Ok, it updated and automatically logged me in. Now, lets poke around.
If you can't explain it to a 6 year old, you don't understand it yourself.
http://upload.alpha.evilzone.org/index.php?page=img&img=GwkGGneGR7Pl222zVGmNTjerkhkYNGtBuiYXkpyNv4ScOAWQu0-Y8[<NgGw/hsq]>EvbQrOrousk[/img]