Upload Clipboard Text data to a server
#11
(04-12-2013, 21:08)kokole Wrote: Even PHP can be highly vulnerable to crackers and stuff. So try to use some packer or whatever.

What? Sure you can capture data but it isn't exactly vulnerable.

OT: Open a HTTP stream to the webpage and add headers.

Code:
...other code... conn.headers.Add("Content-Disposition: form-data; name="uploaded"; filename="content.txt"); conn.headers.Add("Content-Type: text/plain"); conn.WriteLine(...clipboard data...);

Server side:
  • Check file type (restrictions)
    Check file size (restrictions)
    Possibly limit the number of uploads per IP/at a time
    Generate random file name
    Save file to a server folder and return a link to it (or use a PHP file to serve the data instead of direct)
[Image: b_560_95_1.png]
Reply

#12
@kokole PHP is not unsafe.
I wonder how you got that idea.

(If it's sooooooo unsafe, why don't you deface itsmods.com?)
Reply

#13
(04-13-2013, 11:04)SuperNovaAO Wrote: @kokole PHP is not unsafe.
I wonder how you got that idea.

(If it's sooooooo unsafe, why don't you deface itsmods.com?)

Sorry I was wrong, what I wanted to say is that if you want to protect your app against cracking, you better hide those php queries if the data recieved is critical.
Reply

#14
(04-13-2013, 11:04)SuperNovaAO Wrote: @kokole PHP is not unsafe.
I wonder how you got that idea.

(If it's sooooooo unsafe, why don't you deface itsmods.com?)

PHP is not unsafe, but write a file to the server and then display it in a browser can be unsafe if it's not perfectly managed....
Reply

#15
(04-13-2013, 14:08)kokole Wrote:
(04-13-2013, 11:04)SuperNovaAO Wrote: @kokole PHP is not unsafe.
I wonder how you got that idea.

(If it's sooooooo unsafe, why don't you deface itsmods.com?)

Sorry I was wrong, what I wanted to say is that if you want to protect your app against cracking, you better hide those php queries if the data recieved is critical.

But there is no risk in that. If someone cracks your C# app to look how the data is transmitted, he/she then knows how to transmit text to your server which can be outputted later. Whoop fucking doo. Nothing of value was lost.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Help cmdlist, dvarlist server crash Nerus 17 16,487 11-09-2013, 23:54
Last Post: Nerus
  Our Level Fastfile is Different from the Server. CheeseToast 6 15,528 11-03-2013, 17:52
Last Post: CheeseToast
  Dedicated Server External (public) IP Nerus 3 9,571 11-02-2013, 14:16
Last Post: Casper
  MW3 Server Version superg1973 7 17,504 10-28-2013, 01:15
Last Post: kotyra972
  Getting text from a website JustDoingThisShit 2 4,188 10-21-2013, 08:00
Last Post: JustDoingThisShit
  Storing data in a database shanky 3 4,443 10-16-2013, 01:37
Last Post: yokai134
  Help how to turn off map in dedicated server pero123 8 9,589 10-15-2013, 19:00
Last Post: Nekochan
  Issue with server addon and NAT dimitrifrom31 3 8,164 10-08-2013, 18:11
Last Post: iRoNinja
  GETTING SERVER ONLINE raym 6 9,173 09-28-2013, 22:42
Last Post: Nekochan
Rainbow [Request] Is there any way to send data safe without using OOB method? Nekochan 0 2,901 09-26-2013, 12:42
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.