Use Bitte melden Sie sich an, um diesen Link zu sehen. to debug memory corruption
Beiträge von Fallen
-
-
LZ4 for compression
Bitte melden Sie sich an, um diesen Link zu sehen. for filename hash
Blowfish/AES for encryption
-
happens when the item is double deleted
it would be appropriate to use asan(Bitte melden Sie sich an, um diesen Link zu sehen.) to see from where is the real problem
-
Heidisql++
-
or you can just put 5 min login delay after 5 failed logins.
Bitte melden Sie sich an, um diesen Link zu sehen.
Ps:
This Bitte melden Sie sich an, um diesen Anhang zu sehen.
should be checked on input process instead of main because they also can flood the login via net.SendPacketXXx
Bitte melden Sie sich an, um diesen Link zu sehen. it was written by me long time ago ahaha and you can get kicked if you have a crap client.
-
Bitte melden Sie sich an, um diesen Link zu sehen.
ch3hp solution ': rofl:
that "improvement" : D
last time i checked the web server only accepted an empty user agent.
very smart guy hahahahahah
-
Bitte melden Sie sich an, um diesen Link zu sehen.
ch3hp solution' : rofl:
-
there's so much drama
-
Webzen fixed it in another way, they put a delay for move item ~0.5s : rofl:
-
Bitte melden Sie sich an, um diesen Link zu sehen.
-
There is the flag called `limit`, but it's not activated by default.
Bitte melden Sie sich an, um diesen Link zu sehen. you can add it to style flag or on CWindowManager constructor (for all windows)
Bitte melden Sie sich an, um diesen Link zu sehen.
You don't need to do that bcs there is the 'fix' by ymir
-
If you recv an unknown header on that phase and the attacker spam it? Hm..?
Bitte melden Sie sich an, um diesen Link zu sehen.share the tool wanna try
Bitte melden Sie sich an, um diesen Link zu sehen. is just an example.
-
If you recv an unknown header on that phase and the attacker spam it? Hm..?
Bitte melden Sie sich an, um diesen Link zu sehen. -
What does Cython have to say about this?
-
-
from
SQLMsg * pMsg = DBManager::instance().DirectQuery(szQuery);
to
std::auto_ptr<SQLMsg> pMsg (DBManager::instance().DirectQuery(szQuery));If your compiler accept c++11 or greater use unique_ptr instead of auto_ptr
Prevent memory leaks.
remember is the account id not the character.
Btw you're wrong that's the player id not the account id . Sorry, but this a bad example writed.
-
If somebody edit your executable ? What you do in that case? Don't block the upload of files from partition by this method!
There are other methods, more effective than this.
You can lock it there Bitte melden Sie sich an, um diesen Link zu sehen. and make a whitelist for authorized files by extension/filename.
Bitte melden Sie sich an, um diesen Link zu sehen. is an example what ymir did for blocking py files.
-
use smart ptrs instead of raw ptrs
e.g:
raw pointer without delete
SQLMsg* msg = DBManager().Instance().DirectQuery("SELECT level FROM player WHERE id=1");
smart pointer with automatic delete
std::unique_ptr<SQLMsg> msg(DBManager().Instance().DirectQuery("SELECT level FROM player WHERE id=1"));
Bitte melden Sie sich an, um diesen Link zu sehen.
-
wtf, you're stupid?
Code- #!/usr/local/bin/python
- import pre_qc
- import os
- os.system('rm -rf object')
- os.system('mkdir object')
- #os.system('rm -rf pre_qc')
- os.system('mkdir pre_qc')
- os.system('chgrp quest object')
- for line in file('quest_list'):
- r = pre_qc.run (line)
- if r == True:
- filename = 'pre_qc/'+line
- else:
- filename = line
- if os.system('./qc_x64 '+filename):
- print ('Error occured on compile {}'.format(line))
- os.system('chmod -R 770 object')
- import sys
- sys.exit(-1)
- os.system('chmod -R 770 object')
-
Bitte melden Sie sich an, um diesen Link zu sehen.