Forum

> > CS2D > General > ATTENTION! Don't run maps you've downloaded!
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch ATTENTION! Don't run maps you've downloaded!

46 Antworten
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

alt Re: ATTENTION! Don't run maps you've downloaded!

Sparty
Reviewer Off Offline

Zitieren
user Ahmad hat geschrieben
Does it work with offline servers as well?

user ohaz hat geschrieben
UNTIL IT'S FIXED: Please DON'T start maps you've downloaded from servers on your pc / server! It's for your own safety!


Lol..hah... no, i dont think cause how the hell can you download maps with offline servers..

alt Re: ATTENTION! Don't run maps you've downloaded!

FlooD
GAME BANNED Off Offline

Zitieren
so basically the bug uses the if trigger to do some os.*** and io.*** stuff in lua?

well i guess we should all have the same warning for not running any downloaded scripts in the file archive since those could potentially do the same

cs2d's lua should have os. and io. tables set to nil by default so that nothing can access it.

alt Re: ATTENTION! Don't run maps you've downloaded!

Necr0
User Off Offline

Zitieren
@user Ahmad: It is dangerous in offline servers, too.

@user FlooD: I don't think they should disable io and os functions completly. It would be nice if they would be nice to have functions wich are restricted only to save and read in the CS2D directory. and also disable some functions like os.execute and os.exit. I don't want to have absolutly no access to the file system. It would be aweful to have no way for saving information.
Also functions like require sould be disabled. I don't have any experience with LibFunctions at all but I think the could access everything anyways.
1× editiert, zuletzt 25.01.14 14:40:48

alt Re: ATTENTION! Don't run maps you've downloaded!

Starkkz
Moderator Off Offline

Zitieren
@user Avo: I should make a list of functions that must be disabled or protected, you can easily hack my last Lua script with getfenv and return to the main state function environment (The values stored in the _G table), that would remove the protection. However, my next theory is protecting the C functions with Lua functions that have a redefined function environment, so when you try to get the function environment of a C function, you won't have access to the _G table of the main state.

alt Re: ATTENTION! Don't run maps you've downloaded!

Sparty
Reviewer Off Offline

Zitieren
user TimeQuesT hat geschrieben
user Ahmad hat geschrieben
@user Sparty: I mean when I start an offline server with the infected maps.


Whenever you start a downloaded map there could be the danger that it contains 'viruses'. It's not all about trigger_if. the trigger is just the key.


I thought it was impossible to transfer virus in a Game like CS2D.

alt Re: ATTENTION! Don't run maps you've downloaded!

TimeQuesT
User Off Offline

Zitieren
I recently developed a tool to check if you're infested.
I do not guarantee that this will work 100% correctly.

How to use:
1.Place the executable inside your cs2d root folder.
(The one which contains all files)

2.Execute it.

3.Check results.

You can download it here:
DOWNLOAD | dynamic libgcc (WIN32 only)

DOWNLOAD | static libgcc (Should work correctly | WIN32 only)

DOWNLOAD (non-bplaced link)

1× editiert, zuletzt 04.02.14 16:37:32
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht