Jump to content
  • 0

Anti Hacking Solution


ScRaB4ever

Question

καλησπερα στο forum

 

καθος εχω καποια προβλήματα με το l2phx, σκεφτόμουν πως μπορω να αντιμετωπίσω το ολο θεμα

 

Σκεφτηκα λοιπων το εξης

 

οταν logαρουμε στο l2 με ενα char (1 box) ανοιγουμε μια συνδεση αναμεσα σε server-client

οταν εχουμε 2 char εχουμε 2 συνδεσεις στο port 7777 μια για καθε char (για του λογου το αληθες netstat)

 

ΟΜΩΣ

 

οταν λογαρουμε με το phx εχουμε δυο συνδεσεις server-client

με ΕΝΑΝ char online!!!

 

Αυτο σημαινει οτι εαν μετρησουμε τις συνδεσεις μεσω του server για το καθε client και μετρησουμε ποσους online char θα εχουμε για την συγκεκριμενη ip (συγκεκριμενο client) τοτε θα εχουμε διαφορετικο αριθμο 

 

πχ ενα ip για τον char SAFDSF και ενα αλλο ip gia ton char ???

 

αρα εχουμε να κανουμε εναν ελεγχο ο οποιος θα μας δειξει απο που ερχετε το καθε πακετο

απο online character η οχι

 

 

Θεωροντας πολυ εξυπνη παρατηρηση, θα ηθελα οποιαδηποτε γνωμη να διατυπωθει...

 

Ευχαρηστω!!

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

den iparxei tropos na deis pote ena packet erxete apo client, i apo phx. I moni lisi einai na ftia3eis ta bug tou phx (an iparxoune tetia sto pack sou peta to), i stin teliki agorase lameguard

Link to comment
Share on other sites

  • 0

xdem diafwno mazi soy, ka8ws pisteyw oti h idea m einai efikth 

 

kai ksanalew otan xrhshmopoieis programma exeis 1 connection parapanw dhladh exeis as poyme 2 chars online kai 3 syndeseis prws ton server!!

 

parakatw h skepsh m

 

@L2GamePacketHandler.java

						break;
					default:
						//_log.warning("Attack from: "+client+"???");
						//client.closeNow();
						break;
				}
				break;
			case IN_GAME:
+           edw pernoyme thn ip t clinet kai thn bazoyme se mia timh string x = blabla
+           arxikopoioyme enan metrith   count = 0
+           pernoyme me epanalipsi mia mia tis ip p einai syndedemenes ston server
+           ean h ip ths epanalipsis einai idia me thn ip toy client ++count
+           sto telos exoyme ton ari8mo twn syndesewn metaksy server-client
+           arxikopoioyme enan allo metrith   charsonline = 0        
+           brhskoyme posoys client exei online ayth h ip kai toys kataxwroyme sthn timh charsonline      
+          if(count != charsonline) break;
				switch(opcode)
				{
					case 0x01:
						msg = new MoveBackwardToLocation();
						break;
//					case 0x02:
//						// Say  ... not used any more ??
//						break;
Link to comment
Share on other sites

  • 0

Afou re agorina, to phx sindeete local me to pc sou, den sindeete me ton server... O server 1 aplo connection vlepei panta

Παρ ολο που νομιζω οτι δημιουρει καινουριο connection, θα σ απαντησω σε αυτο αφου σιγουρευτω 100%

Link to comment
Share on other sites

  • 0

Παρ ολο που νομιζω οτι δημιουρει καινουριο connection, θα σ απαντησω σε αυτο αφου σιγουρευτω 100%

 

 

afou gia na mpeis me phx prepei o client na exei 127.0.0.1

 

to phx sindeete local me to l2, kai to phx external me ton server

 

Client --clientpacket--> Server  (xoris phx)

Client --clientpacket--> PHX --clientpacket--> Server

 

to idio kai me Server - Client

 

Server --serverpacket--> Client (xoris phx)

Server --serverpacket--> PHX --serverpacket--> Client

 

Local, External

Edited by xdem
Link to comment
Share on other sites

  • 0

exeis to l2phx sto pc s ry8mismeno?

 

egw p anoigw to l2phx den m bgazei sto netstat kamia local syndesh...

Edited by ScRaB4ever
Link to comment
Share on other sites

  • 0

exeis to l2phx sto pc s ry8mismeno?

 

egw p anoigw to l2phx den m bgazei sto netstat kamia local syndesh...

 

 

doulevei opos sou e3igisa parapanw, den xriazete peretero psa3imo, apla esy vlepeis 2 connections, enw stin pragmatikotita einai ena, to phx -> client

Link to comment
Share on other sites

  • 0

an kai to da meta apo liges meres to post sou filos uparxei tropos na to kaneis akoma kai xwris java.Parakalountai osoi de kserete na mhn petate to gnwsto anekdoto trava agorase t pack tou ksaderfou m.Kai mono pou to lete kai prospa9eite na agiksete t frash " developer " exete ftasei sto 0.Pitsiriko an de exeis lisei t 9ema panw steile prive na voh9hsw eukola ginetai.

Edited by chockos
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • i tryed to copy the admin    serverinfo.htm  to the communityboard.  the command  %onlineALL%  but it does not work.   any advice?   <html><title>Admin Server Info</title><body> <center> <table width=270> <tr> <td width=45><button value="Main" action="bypass -h admin_admin" width=45 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td> <td width=180><center>Server Info</center></td> <td width=45><button value="Back" action="bypass -h admin_admin4" width=45 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td> </tr> </table> <br> <font color="LEVEL">General:<font><br1> <table width="270" border="0" bgcolor="444444"> <tr> <td>OS:</td> <td><font color="00FF00">%os_name%</font></td> </tr> <tr> <td>OS version:</td> <td><font color="00FF00">%os_ver%</font></td> </tr> <tr> <td>Server slots:</td> <td><font color="00FF00">%slots%</font></td> </tr> <tr> <td>Server UpTime:</td> <td><font color="00FF00">%serverUpTime%</font></td> </tr> <tr> <td>Server Time:</td> <td><font color="00FF00">%serverTime%</font></td> </tr> <tr> <td>Game Time:</td> <td><font color="00FF00">%gameTime% (%dayNight%)</font></td> </tr> <tr> <td>Pathfinding:</td> <td><font color="00FF00">%geodata%</font></td> </tr> </table> <br> <font color="LEVEL">Players:<font><br1> <table width="270" border="0" bgcolor="444444"> <tr> <td>Total players count:</td> <td><font color="00FF00">%onlineAll%</font></td> </tr> <tr> <td>Offline trade count:</td> <td><font color="00FF00">%offlineTrade%</font></td> </tr> <tr> <td>Online GM count:</td> <td><font color="00FF00">%onlineGM%</font></td> </tr> <tr> <td>Real player count:</td> <td><font color="00FF00">%onlineReal%</font></td> </tr> </table> <br> <font color="LEVEL">Memory:<font><br1> <table width="270" border="0" bgcolor="444444"> <tr> <td>Used Memory:</td> <td><font color="00FF00">%usedMem% MB</font></td> </tr> <tr> <td>Free Memory:</td> <td><font color="00FF00">%freeMem% MB</font></td> </tr> <tr> <td>Total Memory:</td> <td><font color="00FF00">%totalMem% MB</font></td> </tr> </table> </center> </body></html>  
    • IntelliJ IDE has native support for Gradle, as far as I'm aware.
    • please is any one here that can  take the surces from grable to normal eclipse and reshare it here cause i don't have any clue how to install them On Eclipse 😕  if is any one here that can understand how those surces can be instaled please any help gonna be perfect iven i can  pay bay paypal. thanks
    • Wts A/S grade gear (armors weapons jewelery) Great Wolf with top eq Kokabora lvl 55+  Baium zaken frintezza   ADENA - 1kk - 0.25$ (big stock)   I can sell grand khavatarii with noblesse and subclass with email (can be with gear or clear)    Payment by PayPal, can use middleman   PM here  
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock