This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
figgycity50's profile picture

[Http][Opensource]Ccbin - Pastebin Replacement With All Features Of Pastebin!

Started by figgycity50, 29 August 2013 - 09:28 AM
figgycity50 #1
Posted 29 August 2013 - 11:28 AM

The best pastebin replacement. Period.



This is CCbin. The ONLY reason i made this is because of this really ridiculous thing about hastebin where pastes get deleted if not seen for 30 days. For example, if youre stuff is unpopular, and it does not get downloaded in 30 days, it will get deleted. Now this is never gonna delete your pastes. NEVER. Unless you ask me to. Because i can view EVERY SINGLE PASTE in PhpMyAdmin << but i could ask for a db export. . And that gives away that the host use MySQL. So don't try to inject the host's database, it is really mean.I will soon make an anti-injector, because DON'T DROP THE HOST'S DATABASE, IT IS LIKE AN EGG.
Security Notice: All passwords are hashed in SHA512, the MOST SECURE hashing algorithm in the world.
Changelog:
Spoilerv1.1.1
  • Added a mod_rewrite, it acts like Pastebin's.
v1.1
  • Guests may no longer edit guest pastes.
  • You can now view other people's profiles and pastes by adding ?email=[person's email] (usernames coming soon)
v1.0.6
  • Now there is clear instructions for installing CCbin
v1.0.5
  • CCBin is now responsive
v1.0.4
  • EDITING PASTES IS HERE!!!!! What shall I do next?
v1.0.3
  • Now you can own pastes! No editing yet though.
v1.0.2
  • Added the login system! Still WIP tho, editing pastes is still a no-go
v1.0.1
  • Fixed attempts to use HTML and PHP using htmlspecialchars()
Todo:
SpoilerI am doing this I am not done yet…
  • Login support << done
  • Editing pastes if you are the paste owner << done, use edit_script.php, docs coming in a bit
  • Login via the API << done, use auth.php, docs coming in a bit
  • More stuff and things
API docs:
SpoilerThe API is not finished yet, because I am still yet to add in user auth<<said way too many times, auth is here.
WARNING! TECH NERDS ONLY! ;)/>/>/>
The CCBin API is based around un-authenticated HTTP GET/POST requests. {base url} Is ccbin.blaizecraft.com << that's a dedicated server
Post a paste
Using the CCbin api you can post a paste at {base url}/api.php using:

HTTP POST Parameters:

?title={paste title} &amp;amp;
type=get &amp;amp;
(web apps only) data=json &amp;amp;
paste={paste data}

The ID is generated server-side and look like a 6 character string of alphanumeric characters, all letters are English (because I am english too)(this means no accents in paste) For example: iO1GXD (this is the REAL first paste) not éG7iá9
Getting all data about a paste
Using the CCbin api you can get all data from a paste at {base url}/api.php using:

HTTP GET Parameters:
?type=get &amp;amp;
id={paste id}

This will output a JSON/Lua table with this:

JSON:
{
"id": "paste id",
"name": "paste name",
"contents": "paste contents, where /r/n is a new line"
}
Lua:
{
id= "paste id",
name= "paste name",
contents= "paste contents, where new line is a new line"
}
Just getting a paste body, and that is it.
Using the CCbin api you can the body of a paste at {base url}/raw.php using:

HTTP GET Parameters:
id={paste id}

Outputs a paste body where new line = new line
Authentication:
Using the CCBin API you can authenticate at {base url}/auth.php using

HTTP POST PARAMETERS:
email={user email} &amp;
passwd={password}
END HTTP POST
oh and btw, hashing is done server-side so apps cannot get the data of the sha512s

Editing pastes:
Using the CCBin API you may edit pastes (while authenticated) at {base url}/edit_script.php using:

make sure cookies are on.
HTTP Post:
id = {paste id}
contents = {new paste}

User interface at http://figgycity50.kd.io/ccbin
Source at http://github.com/fi...50/ccbin-server
Client API COMING SOON!
Get/put at http://github.com/fi...50/ccbin-client (use my awesome download center to get it)
Short URL for this page at http://tinyurl.com/ccbin-forumthread
Windows Client GUI at http://github.com/fi...0/ccbin-windows
Discuss CCbin here or if you want to make sure i see it (i am lots more active coding and being there) on the reddit at http://reddit.com/r/ccbin
Show your love for CCbin with this chrome theme. https://dl.dropbox.c...themEchromE.crx)
(I made it myself, isn't it nice?)
Screenshots:
SpoilerBecause the community complain if you have no screenshots.
Main create paste GUI: http://prntscr.com/1o4f6m
Viewing the REAL first paste: http://prntscr.com/1o4fj3
Special thanks:
Spoiler
  • Me, for coming up with and making this.
  • All the people at http://koding.com for providing awesome development servers and awesome help with my MySQL queries.
  • The dudes who made Highlight.JS because i use it.
  • Egor305 (on github and the forums) for the bugfixing and making the auth work!
  • Blaize9 for giving me his dedicated hosting!

Share:
Spoilerccbin

[url=http://tinyurl.com/ccbin-forumthread]ccbin[/url]
Or Tweet something like this:
I love #ccbin it is the best! http://tinyurl.com/ccbin-forumthread
theoriginalbit #2
Posted 29 August 2013 - 11:44 AM
You need to perform some thread cleanup already.

</paste></paste></paste></paste> –this is derp added by IP Board
This can easily be fixed… just don't do < paste > do something more like {paste} or [paste] the point is still conveyed, but IP.Board doesn't have a little fit.
figgycity50 #3
Posted 29 August 2013 - 12:14 PM
oh hey, i noticed it says script kiddie instead of clueless. how did i not notice earlier? *scraches hed* :D/>
theoriginalbit #4
Posted 29 August 2013 - 12:58 PM
iirc you would have only got it 5 posts ago.
PixelToast #5
Posted 29 August 2013 - 03:43 PM
ugh, use something other than koding it seems to be offline
theoriginalbit #6
Posted 29 August 2013 - 03:58 PM
ugh, use something other than koding it seems to be offline
Nah koding has changed… It is only a development platform, so you must have the development side up, and be active, or else after 15 minutes it will shutdown your server.
figgycity50 #7
Posted 30 August 2013 - 03:58 AM
ugh, use something other than koding it seems to be offline
Nah koding has changed… It is only a development platform, so you must have the development side up, and be active, or else after 15 minutes it will shutdown your server.
Yeah right bit, thats why i put looking for a new server in big text at the top of the post, online now.
It was offline because i went to bed.
theoriginalbit #8
Posted 30 August 2013 - 04:04 AM
-snip-
I understand why they do it… but it's annoying me when developing my website, 'cause I don't like their editor, so prefer to use Sublime Text 2… And it can be 20 mins between file updates to check, meaning I need to wait for the server to come back online… :/
PixelToast #9
Posted 30 August 2013 - 11:33 AM
I understand why they do it… but it's annoying me when developing my website, 'cause I don't like their editor, so prefer to use Sublime Text 2… And it can be 20 mins between file updates to check, meaning I need to wait for the server to come back online… :/
its called FTP ;)/>
theoriginalbit #10
Posted 30 August 2013 - 12:03 PM
its called FTP ;)/>
Its called FTP connections are controlled by the server, and by default on most servers, get disconnected after 5 minutes of inactivity and also Koding doesn't count FTP as activity, so the VM would be permanently turned off until you open the development console.
Egor305 #11
Posted 30 August 2013 - 07:52 PM
Hey, i found a bug in ccbin-client:


h = http.post("http://figgycity50.kd.io/ccbin/api.php", "name="..tArgs[3].."&amp;paste="..paste)
should be

h = http.post("http://figgycity50.kd.io/ccbin/api.php", "type=make&amp;name="..tArgs[3].."&amp;paste="..paste)
Server-side requires $_POST['type'] == 'make' to create a paste
Egor305 #12
Posted 30 August 2013 - 08:51 PM
also i found a bug in server side:
<pre style="word-wrap: break-word; white-space: pre-wrap;">
is been downloaded with data.


I did pull request on github, with this fixed and some another changes made.
PixelToast #13
Posted 30 August 2013 - 09:09 PM
Fixed SQL injection by not using root *facepalm*
thats not how you fix sql injection
Mitchfizz05 #14
Posted 30 August 2013 - 11:23 PM
If your looking for a host, you can use 000webhost.com.
I know alot of people on these forums use it, including me.

EDIT: On the issue of SQL injection, a solution can be to convert all the data to hex (http://pastebin.com/quC89Unb), and then back to strings when extracting data.
figgycity50 #15
Posted 31 August 2013 - 03:50 AM
If your looking for a host, you can use 000webhost.com.
I know alot of people on these forums use it, including me.

EDIT: On the issue of SQL injection, a solution can be to convert all the data to hex (http://pastebin.com/quC89Unb), and then back to strings when extracting data.
I DONT WANT FRIKIN 000WEBHOST, I USE THEM BEFORE. srsly. they suck in my opinion

Fixed SQL injection by not using root *facepalm*
thats not how you fix sql injection
I rolled that back in latest commit, my ccbin user does not work, idk why.

On another matter, thanks to so many views for this. Shame I got them all while in bed.

Designing a logo. Using Photoshop CC Trial. Let's hope i do not suck.
EDIT: Added the logo.

Who likes the logo? Really quickly made in trial version on Photoshop CC.
PixelToast #16
Posted 31 August 2013 - 12:13 PM
Who likes the logo? Really quickly made in trial version on Photoshop CC.
my eyes hurt, thats all i can say
Lyqyd #17
Posted 31 August 2013 - 01:41 PM
Posts merged. There is absolutely no reason those four reply posts couldn't have been a single post from the beginning. Don't quadruple post.
Zudo #18
Posted 31 August 2013 - 01:59 PM
I DONT WANT FRIKIN 000WEBHOST, I USE THEM BEFORE. srsly. they suck in my opinion
May I ask why?
figgycity50 #19
Posted 31 August 2013 - 02:11 PM
Who likes the logo? Really quickly made in trial version on Photoshop CC.
my eyes hurt, thats all i can say
aww.

I DONT WANT FRIKIN 000WEBHOST, I USE THEM BEFORE. srsly. they suck in my opinion
May I ask why?
because they lie about there uptime, well in my experiences.
EDIT: bumptm
H4X0RZ #20
Posted 31 August 2013 - 07:43 PM
You could use http://www.noez.in they are very good :D/>

But the page is on german…
Egor305 #21
Posted 01 September 2013 - 03:14 AM
I made https://github.com/E...5/ccbin-simple. It's ccbin-client, and ccbin-server cuted off and placed in one repository.
It's not have SQL Injection fixed, atm.
Diffrence: server is one file. no online gui. there's modification, that allows you to require password when uploading files.
In other words - rewrite.

—EDIT—
and, yep, I'm still contributing to ccbin-client and ccbin-server.

—EDIT—
Made new logo:


—EDIT—
Resize:
figgycity50 #22
Posted 01 September 2013 - 02:15 PM
who likes the windows gui? if u need help i might record a vidio
Dave-ee Jones #23
Posted 02 September 2013 - 02:44 AM
Screenshots broken…
figgycity50 #24
Posted 02 September 2013 - 04:24 AM
Screenshots broken…
damn. lightshot migrating AGAIN?
i am making a vidio, so dont worry.
Egor305 #25
Posted 03 September 2013 - 05:39 AM
figgycity50, can you check your pull requests? I did them for all ccbin repositories.
——
here if you don't know how to use Windows GUI thing:
How to put: paste your paste in big textbox, and press button in top left corner. ID will appear somewhere (i forgot where, LOL)
How to get: paste your ID in Paste ID textbox, and click away (yep, that's right click away). Paste contents will appear in big text box.
—EDIT—
and there's no handling of Title ATM (both put and get)
figgycity50 #26
Posted 07 September 2013 - 06:10 AM
figgycity50, can you check your pull requests? I did them for all ccbin repositories.
——
here if you don't know how to use Windows GUI thing:
How to put: paste your paste in big textbox, and press button in top left corner. ID will appear somewhere (i forgot where, LOL)
How to get: paste your ID in Paste ID textbox, and click away (yep, that's right click away). Paste contents will appear in big text box.
—EDIT—
and there's no handling of Title ATM (both put and get)
Pulled for CCbin-client and windows. just give me a sec then i will do the server
Edit: done the server..

Any feedback on the new editing?

Major updates to CCBin-windows. Thanks to Egor305!
Egor305 #27
Posted 07 September 2013 - 03:11 PM
Major updates to CCBin-windows. Thanks to Egor305!
You are welcome. :D/>

—-

Windows Client GUI at http://github.com/fi...0/ccbin-windows << broken, egor did something and now it will not get pastes. posting should work tho.

Everyting is ok. Error message will appear instead of title, when title and contents are same. That cause I too lazy to use api.php client-side to get title. So i added raw title functionality to raw.php. usage: raw.php?mode=title. if http://figgycity50.kd.io/ccbin/ is have not updated raw.php, then you can't get title via ccbin-windows.
You can still get paste body.
This functionality will be removed as soon as i will make Put File thing or server gets updated. whatever comes last.

Some chattin' from koding.com
figgycity50 said:
I pulled the client, and the server, and it is not working. I get the Outdated Server: figgycity did'nt pull Egor's pull request. And trust me, I did pull it.
Me said:
Eh… It's actually working. Instead of this you should have title of paste. If your test server is have old raw.php file or title and contents are same, you get this error. Here's part of code that doing this:
string title = readURL(sender, e, sURL + "&amp;mode=title");
if (title == richTextBox1.Text) pasteID.Text = "Outdated Server: figgycity didn't merged Egor's pull request.";
else pasteID.Text = title;

here's some lua pseudo code: if title == contents then title = "error" else title = title end

–EDIT–
Sorry for double post

–EDIT–
nvm some one merged posts.

–EDIT–
Download September 8 2013 update for windows here: *click*
Changes from 1.0.0.0:
* Remove "Outdated Server" error, cause official server get updated.
* Added my "parent" system to links form. It's not doing anything with main (unlike put and get forms), but used for easier pasing of arguments to form.
* Why I added that? Cause now links form's title, size and contents is passed as additional arguments to function public links setParent(main par, string s,int w, int h)
* And yeah i used resource file for storing contents.
* Put File gui (put form) implemented.
figgycity50 #28
Posted 10 September 2013 - 02:29 PM
EDIT: found a host called biz.nf, the new domain will be ccbin.co.nf but do NOT use it until i finish the migration.
EDIT: YAY PHPMYADMIN :)/> Let's get migrating!
EDIT: SQL migration DONE, next let's get FTPing! (is that even a word? LOL) :)/>
EDIT AGAIN: ALL MIGRATION DONE :)/> use domain www.ccbin.co.nf <– dont forget the ww
EDIT YET AGAIN: Another migration to a dedicated (yes, seriously) host that a guy offered to me for FREE thorugh a PM.
Look in your database. Then fix your security.

(edit: hint: your database password, username and server address are on github. I don't know why you'd ever think that's sane)
the database password is not the same anymore on the dedicated host, i think. (i honestly don't know the password, only the guy who gave me the server knows.
http://ed.it : http://bump.com
edit: bump = that up there
immibis #29
Posted 12 September 2013 - 07:07 AM
Look in your database. Then fix your security.

(edit: hint: your database password, username and server address are on github. I don't know why you'd ever think that's sane)
Egor305 #30
Posted 12 September 2013 - 11:37 AM
Look in your database. Then fix your security.

(edit: hint: your database password, username and server address are on github. I don't know why you'd ever think that's sane)
Yeah, I actually telled him that. : D

EDIT: found a host called biz.nf, the new domain will be ccbin.co.nf but do NOT use it until i finish the migration.
EDIT: YAY PHPMYADMIN :)/> Let's get migrating!
EDIT: SQL migration DONE, next let's get FTPing! (is that even a word? LOL) :)/>
EDIT AGAIN: ALL MIGRATION DONE :)/> use domain www.ccbin.co.nf <– dont forget the ww
EDIT YET AGAIN: Another migration to a dedicated (yes, seriously) host that a guy offered to me for FREE thorugh a PM.
Look in your database. Then fix your security.

(edit: hint: your database password, username and server address are on github. I don't know why you'd ever think that's sane)
the database password is not the same anymore on the dedicated host, i think. (i honestly don't know the password, only the guy who gave me the server knows.
http://ed.it : http://bump.com
edit: bump = that up there
That's awesome!

—EDIT—
Can I do migration stuff with ccbin-client and ccbin-windows?

—EDIT—
is http://www.ccbin.co.nf/ is url, right?

—EDIT—
ccbin-client is updated.
ccbin-windows 1.1u2 is released! Change Log:

September 12 2013
* Added Base URL functionality
* Changed Base URL
* Tooltip for Title/ID textbox changed

by Egor305
PixelToast #31
Posted 12 September 2013 - 01:29 PM
Parse error: syntax error, unexpected ',' in /srv/disk6/1504774/www/ccbin.co.nf/account_new.php on line 2

:s
figgycity50 #32
Posted 12 September 2013 - 02:37 PM
Egor305 said:
—EDIT—
Can I do migration stuff with ccbin-client and ccbin-windows?

—EDIT—
is http://www.ccbin.co.nf/ is url, right?
That ccbin.co.nf domain gives you the old host, not the dedicated one. I do have a .TK domain but I have yet to do the DNS.
Edit: Yes you may do migration, the domain is ccbin.blaizecraft.com
Edit 2: The .TK domain is forwarding, wait for it. ccbin.tkt use thats not working just use ccbin.blaizecraft.com
oeed #33
Posted 13 September 2013 - 06:44 AM
Am I just misunderstanding this, or is this legit?

(From the website)
ToDo: Add pa…. Add paste expiration?

(From the first post)
The ONLY reason i made this is because of this really ridiculous thing about hastebin where pastes get deleted if not seen for 30 days.

Egor305 #34
Posted 13 September 2013 - 01:50 PM
Ok, doing the migration. again… so what is final address? ccbin.tk?
—EDIT—
1.1u3
September 13 2013
* Changed Hosting again…
* Added Programmers Day easter egg
* Added New Year easter egg

by Egor305

Too lazy to give link to lua client.

—EDIT—
Here's my pull request for 1.1u1 // 1.1u2 // 1.1u3: *click*
lua client link is here: *click*
Here's changelog + downloads for ALL windows version: *click*
Here's compact list: *click*

—EDIT—
figgycity, i see that you have updates, but it's not on github, and i kinda frozen in my fork, cause if my changes overlap yours, that means no automatic merging, wich is always hard thing to do…
Oh and that paste contents background is weird…

—EDIT—
And about paste expiration - you should add it, but it must be not only opt.
So how its gonna work, is if someone somehow "touches" a paste (profile page or direct link or even raw.php) it's checks
if( expirationMode != 0 &amp;&amp; currentTime > creationTime + expirationTime[expirationMode] )
expirationMode is stored with paste and basicly it's used for easier storage (no need to storage real time, only reference to it.) expirationTime[] is array of constants, so it's resolves reference in real time.
heres some more pseudo code
isExpired == ( expirationMode != 0 &amp;&amp; currentTime > creationTime + expirationTime[expirationMode] )
if( isExpired &amp;&amp; madeBy == guest ) {deletePaste(); displayNoSuchPasteText();}
else if( isExpired &amp;&amp; madeBy != guest ) {disablePaste(); displayPasteIsDisabledText();}
else displayPasteContents();
basicly if paste that expired and made by guest is accesed somehow, then it's deletes paste. But if paste is made by someone registred, then paste becomes disabled (boolean stored with paste.), and can't be viewed until someone with
cookie["email"] == madeBy
get on page with button "re enable paste" and press it.
also there must be feature to enable expiration after paste is posted. so if it yours paste then you can change expirationMode to something else…
theoriginalbit #35
Posted 14 September 2013 - 10:43 PM
-snip-
I think you need to start looking into web languages a bit more. There are so many bad things you're doing in your PHP, I hate PHP, I barely touch PHP, and I still know how bad it all is, I've only looked through 3 files in the cabin-server! Also I don't think you've followed a single rule of valid HTML or PHP! What's with your HTML embedded in the PHP too?! It is so, so, so wrong!

-snip-
Maybe he means like pastebin does, how you can optionally specify an expiration.
PixelToast #36
Posted 15 September 2013 - 04:05 PM
embedding html in php is fine
theoriginalbit #37
Posted 16 September 2013 - 07:42 AM
Not the way that it has been done it's not. It's not valid HTML, actually its technically not even HTML its just text after the php code that the browser then goes "hey I know this tag" and renders the site anyway.

I think that when browsers are given invalid HTML they need to error and not just fix the mistakes, to teach all the people out there how to do valid HTML coding.
Egor305 #38
Posted 17 September 2013 - 11:11 AM
Not the way that it has been done it's not. It's not valid HTML, actually its technically not even HTML its just text after the php code that the browser then goes "hey I know this tag" and renders the site anyway.

I think that when browsers are given invalid HTML they need to error and not just fix the mistakes, to teach all the people out there how to do valid HTML coding.
You right. But I'm to lazy to fix html right now. I had too many problems with writing HTML right way in past, I'm not going to even try to do something with it in next few mouths.
PixelToast #39
Posted 17 September 2013 - 12:19 PM
this login code is making me vomit
you are doing it verry verry wrong
use sessions please

oh and isnt that great, pasting dosent work
registration is broken too
theoriginalbit #40
Posted 17 September 2013 - 03:21 PM
-snip-
Now you're starting to understand what I was saying :P/>
figgycity50 #41
Posted 17 September 2013 - 03:40 PM
Am I just misunderstanding this, or is this legit?
(From the website) ToDo: Add pa…. Add paste expiration?
(From the first post) The ONLY reason i made this is because of this really ridiculous thing about hastebin where pastes get deleted if not seen for 30 days.
–snip–
you don;'t get it. it works like pastebin were you CHOOSE the expiration, and it is off by default

EDIT: And about hastebin deleteing pastes, SuckyBin.com/AboutUsSuckers

LOL, thats actually hastebin.com/about

—EDIT—
figgycity, i see that you have updates, but it's not on github, and i kinda frozen in my fork, cause if my changes overlap yours, that means no automatic merging, wich is always hard thing to do…
Oh and that paste contents background is weird…
It's because I have no time to get a copy of CCBin on the server, Blaize (the guy who AFKs on his own TS3 and gives me the hosting) is AFKing on the teamspeak and adding his own updates too. I can't get the files if he's AFK, can I?

–EDIT again– Blaize is gonna get me the files when he has time. Give him time. and I get the files. And yes I am gonna asterisk out the passwords.
blaize9 #42
Posted 21 September 2013 - 04:24 PM
Am I just misunderstanding this, or is this legit?
(From the website) ToDo: Add pa…. Add paste expiration?
(From the first post) The ONLY reason i made this is because of this really ridiculous thing about hastebin where pastes get deleted if not seen for 30 days.
–snip–
you don;'t get it. it works like pastebin were you CHOOSE the expiration, and it is off by default

EDIT: And about hastebin deleteing pastes, SuckyBin.com/AboutUsSuckers

LOL, thats actually hastebin.com/about

—EDIT—
figgycity, i see that you have updates, but it's not on github, and i kinda frozen in my fork, cause if my changes overlap yours, that means no automatic merging, wich is always hard thing to do…
Oh and that paste contents background is weird…
It's because I have no time to get a copy of CCBin on the server, Blaize (the guy who AFKs on his own TS3 and gives me the hosting) is AFKing on the teamspeak and adding his own updates too. I can't get the files if he's AFK, can I?

–EDIT again– Blaize is gonna get me the files when he has time.

Give him time. and I get the files. And yes I am gonna asterisk out the passwords.

Ok I have sent you all the files, I've done some stuff here and there while I was bored.

One big problem is that everything is not consistent in the code, and a good amount is most likely not valid. I wish I had the time to fix that, but I don't.
I recommend doing a full out rewrite of CCBin with the code you currently have.

I will also give you access to the files and DB next time I talk to you.
Egor305 #43
Posted 24 September 2013 - 03:04 PM
Hey, you know, i had that pull requests on ccbin-windows and ccbin-client, for along time… so… you know what you need to do ;)/> ^_^/>
PixelToast #44
Posted 24 September 2013 - 07:50 PM
the login system is horrible, you arent using $_SESSION i can literally use tamper data to log in as someone else -_-/>
and you arent escaping ANY of the inputs, i can EASIALY drop your database at any time
niofalpha #45
Posted 26 September 2013 - 08:10 PM
There are some useful features in this, but it seems to be more complicated from what Iv'e read. Probably gonna stick to pastebin.
figgycity50 #46
Posted 27 September 2013 - 12:25 PM
There are some useful features in this, but it seems to be more complicated from what Iv'e read. Probably gonna stick to pastebin.
complicated? there is nothing really complicated, about everything pastebin has and that's pretty much it.

EDIT: also have you heard about the pastebin ban? java (minecraft) can not access pastebin

the login system is horrible, you arent using $_SESSION i can literally use tamper data to log in as someone else -_-/>
and you arent escaping ANY of the inputs, i can EASIALY drop your database at any time

try this: ' ; CREATE TABLE bungery; you'll find it says that in the paste, which makes me 80% sure it has not queryed.
Lyqyd #47
Posted 28 September 2013 - 03:58 AM
EDIT: also have you heard about the pastebin ban? java (minecraft) can not access pastebin

That's not true. There was a very short-lived ban on Java user agents a while ago, but it lasted less than 24 hours. Your software is completely unnecessary, except to whatever extent you have fun creating it. Pastebin works fine with ComputerCraft.
Egor305 #48
Posted 28 September 2013 - 10:36 AM
Upcoming feature - Auto Update! Well not "Update" but "Update Notification"
—EDIT—
1.2 is Released! Download Now!
* Update Notification Added. (Really Messy! Gonna change it later. I mean, use do-break-while(false) for escaping part of code… Well I could use return… :D/>)
* Hosting Changed.
* Added Secret Feature for Changing Hosting Manualy
* Easter Egg is displayed after main form loaded.
* In case something wrong with internet happens, theres try-catch thingy to catch things. (Added cause of 404 error getting in a way while testing)
* Added Easter Egg for my Cake Day! :D/> That was hard to do… And I didn't find solution to some problems, so I switched from switch-case to if-else.
* Version is displayed in Menu>Help>About

Have fun getting 2 errors at startup of program, until figgycity50 merge my 2 weeks old pull request.
Egor305 #49
Posted 17 October 2013 - 11:43 AM
(Sorry for double post. I think it's acceptable, because time has passed…)

Fells like project is death. But, figgycity, if You reading this, please merge *this*, as it fixes some major bugs, and changes URL.
Egor305 #50
Posted 21 October 2013 - 11:51 PM
(Another week passed so… triple post)

I'm doing some changes to ccbin-server today. Those changes are in exp branch of my fork. I'm gonna try making a paste exparation.

–EDIT–
Done little of reformating up to note.txt
Next day gonna check all other files, and then make paste exparation.

–EDIT–
Made all other files actually work.
Gonna go do something, and then maybe i will get back to adding paste exparation
figgycity50 #51
Posted 27 October 2013 - 11:11 AM
Everyone thought i was dead. But no, i'm back after lack of ideas for this and new projects. But i can't think of anything else to add. Also egor, i merged your pull requets.