Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Web and Scripting

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Web and Scripting
Web and script developement discussions.
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

FTP Alternative
Old 03-12-2010, 01:01 AM   #1


isander11's Avatar

Join Date: Jan 2010
Posts: 83
Reputation: 149
Rep Power: 0
isander11 is in the shadow of all hacking legendsisander11 is in the shadow of all hacking legends
FTP Alternative

Hi

I currently have my C++ app upload game logs via FTP.

I'm looking for an FTP alternative as it's unsercure (sends login details unencrypted so anybody between you and your server can screw you)

Sadly with my webhost SFTP or FTP over SSH is not an option.

I'm not too keen on HTTP POST either.

I was wondering if somebody here has a better solution. I will be grateful if you can help.
isander11 is offline

Reply With Quote


Old 03-12-2010, 01:33 AM   #2
Administrator

Alkatraz's Avatar

Join Date: Nov 2004
Location: In your darkest Fears you will find me!
Posts: 5,314
Reputation: 62788
Rep Power: 822
Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!Alkatraz has a huge epeen!
Points: 55,267, Level: 35
Points: 55,267, Level: 35 Points: 55,267, Level: 35 Points: 55,267, Level: 35
Activity: 41.4%
Activity: 41.4% Activity: 41.4% Activity: 41.4%
Last Achievements
Award-Showcase
/endlife works!
__________________


Sexy Siggy By zero_tolerance





Alkatraz is online now

Reply With Quote

Old 03-12-2010, 03:55 AM   #3
Super Moderator

Kiwinz's Avatar

Join Date: Jan 2008
Location: New Zealand
Posts: 2,550
Reputation: 73932
Rep Power: 840
Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!
Points: 47,215, Level: 32
Points: 47,215, Level: 32 Points: 47,215, Level: 32 Points: 47,215, Level: 32
Activity: 25.9%
Activity: 25.9% Activity: 25.9% Activity: 25.9%
Last Achievements
Your only sending game text logs?
Why not make a webscript to collect this ? Php for example.
__________________



"Those who seek revenge must dig two graves, one for his enemy and another for himself."


On the internet I will - in no shape or form - take personal offence to peoples comments, idea's or views, I assume the people who I reply to won't either.
Kiwinz is online now

Reply With Quote

Old 03-12-2010, 03:41 PM   #4


isander11's Avatar

Threadstarter
Join Date: Jan 2010
Posts: 83
Reputation: 149
Rep Power: 0
isander11 is in the shadow of all hacking legendsisander11 is in the shadow of all hacking legends
Quote:
Originally Posted by Alkatraz View Post
/endlife works!
Now there's a constructive reply if I ever saw one.

Tut, the maturity which passes for adulthood around here.

[Auto Merged - 14:42:24 UTC]

Quote:
Originally Posted by kiwinz View Post
Your only sending game text logs?
Why not make a webscript to collect this ? Php for example.
Yes but that would be similar to HTTP POST.

My upload function must be in C, as thats the language I've written my game logger in.
isander11 is offline

Reply With Quote

Old 03-12-2010, 04:14 PM   #5
Posting Well

Absinth's Avatar

Join Date: Feb 2010
Location: Germany
Posts: 29
Reputation: 1188
Rep Power: 36
Absinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the world
Quote:
My upload function must be in C, as thats the language I've written my game logger in.
That's not relevant, if your problem is how you can put logs from the consumers pc onto your server, without storing weighty information in the executable.

That depends on what server you hav and what options you have to access it.
If there is just a FTP and HTTP service on your server, then i would recommend kiwinz suggestion.
It's the only way you can prevent any attacker from screwing you.
The only thing he could may do is, write some funny things into your log files.
Absinth is offline

Reply With Quote

Old 03-13-2010, 04:19 PM   #6


isander11's Avatar

Threadstarter
Join Date: Jan 2010
Posts: 83
Reputation: 149
Rep Power: 0
isander11 is in the shadow of all hacking legendsisander11 is in the shadow of all hacking legends
Quote:
Originally Posted by Absinth View Post
That's not relevant, if your problem is how you can put logs from the consumers pc onto your server, without storing weighty information in the executable.

That depends on what server you hav and what options you have to access it.
If there is just a FTP and HTTP service on your server, then i would recommend kiwinz suggestion.
It's the only way you can prevent any attacker from screwing you.
The only thing he could may do is, write some funny things into your log files.
I think I understand what you mean, but I would still have to use HTTP POST wouldn't I?
isander11 is offline

Reply With Quote

Old 03-13-2010, 09:17 PM   #7
« Alkies Bitch »

Turv's Avatar

Join Date: Nov 2004
Posts: 1,460
Reputation: 12882
Rep Power: 246
Turv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server space
Last Achievements
From the above posts it sounds like you've written the game logger yourself, so why don't you just encrypt the login details, it seems like that is the only reason why you don't want to use standard FTP.
__________________


Turv is offline

Reply With Quote

Old 03-13-2010, 09:17 PM   #8
Super Moderator

Kiwinz's Avatar

Join Date: Jan 2008
Location: New Zealand
Posts: 2,550
Reputation: 73932
Rep Power: 840
Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!
Points: 47,215, Level: 32
Points: 47,215, Level: 32 Points: 47,215, Level: 32 Points: 47,215, Level: 32
Activity: 25.9%
Activity: 25.9% Activity: 25.9% Activity: 25.9%
Last Achievements
PHP Post, Or you can use GET, just have php reply with a successfully received message.
__________________



"Those who seek revenge must dig two graves, one for his enemy and another for himself."


On the internet I will - in no shape or form - take personal offence to peoples comments, idea's or views, I assume the people who I reply to won't either.
Kiwinz is online now

Reply With Quote

Old 03-13-2010, 10:01 PM   #9
United States Navy

Zervic's Avatar

Join Date: Feb 2004
Posts: 1,556
Reputation: 13895
Rep Power: 267
Zervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server spaceZervic 's rep takes up 1 gig of server space
Alien Terminator Champion The CCL Game Champion Chica Chase Champion Mine Sweeper Champion Cavegirl Champion hypik Champion Stack The Cats Champion Defend Your Castle Champion Monkey Cliff Diving Champion Asteroid Avalanche Champion Fish Hunter 2 Champion Hangman Champion Office Blocks Champion Flower Frenzy Champion Hunga Hatch Champion Greedy Pinatas Champion Finger Footy Champion Scooby Doo: Defend Your Berry Bones Champion Jimmy The Fin Champion Algar Champion Frog Batting Champion
Points: 16,774, Level: 17
Points: 16,774, Level: 17 Points: 16,774, Level: 17 Points: 16,774, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Lol. SSH file transfer protocol - Wikipedia, the free encyclopedia
__________________
Zervic is offline

Reply With Quote

Old 03-13-2010, 10:09 PM   #10
Super Moderator

Kiwinz's Avatar

Join Date: Jan 2008
Location: New Zealand
Posts: 2,550
Reputation: 73932
Rep Power: 840
Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!
Points: 47,215, Level: 32
Points: 47,215, Level: 32 Points: 47,215, Level: 32 Points: 47,215, Level: 32
Activity: 25.9%
Activity: 25.9% Activity: 25.9% Activity: 25.9%
Last Achievements
His webhost doesn't have SSL Avalible.
Still, hes only sending logs, doubt its ness for what hes trying to achieve.
Even then, if the application thats using SSL is poorly coded security wise, its easy to intercept the data and decipher it.
__________________



"Those who seek revenge must dig two graves, one for his enemy and another for himself."


On the internet I will - in no shape or form - take personal offence to peoples comments, idea's or views, I assume the people who I reply to won't either.
Kiwinz is online now

Reply With Quote

Old 03-18-2010, 03:25 PM   #11
Posting Well

Absinth's Avatar

Join Date: Feb 2010
Location: Germany
Posts: 29
Reputation: 1188
Rep Power: 36
Absinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the worldAbsinth -- This man endangers the world
Quote:
I think I understand what you mean, but I would still have to use HTTP POST wouldn't I?
Yes, but why not?
It's the only way you won't need to store any information, except the URL, in your program.
When the log reaches the PHP script, you can delete malicious code out of it, encrypt the logfile, put it onto your ftp server, and so on.

It's just a detour around you're problem. Normally if you would have a server with full access, you could programm this php script in c with a direct socks connection, so you wouldn't need to access it through you're HTTP Server.
But since you have no full access to you're server, this is the only secure way.

Even if you encrypt you're data (SSH or not), somewhere in your exe you have to authenticate and then the attacker is connected and could just change the command from "put log.log" to "put malicious.php", or something like that.
Apart from that he could easily decrypt the data again.
Absinth is offline

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
alternative, ftp
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 05:27 AM.