Coding a SYN Scanner guide ( source included )
V13
v13 at it.teithe.gr
Thu Mar 29 16:43:52 EEST 2007
On Thursday 29 March 2007 05:13, - wrote:
> Twra gia to packing ston sugekrimeno kwdika mono gia ka8ara optimization
> skopus ( < size ) tha eixe isws nohma.
To gcc by default (xoris -O) kanei align ta members ton struct kai otidipote
allo xreiastei (p.x. metablites sth stoiba, parametroi (diladi metablites sth
stoiba^2) klp). Se 32bit architectures ayto ginetai kata kanona sta 32 bit.
To __attribute__((packed)) to dineis gia na *MIN* to kanei ayto.
p.x. to:
struct A { int a; char b; int c} xoris alignment tha eixe ta members toy stis
sxetikes theseis mnimis:
0-3: a
4: b
5-8: c
eno me alignment:
0-3: a
4: b
5-7: tipota (pading)
8-11: c
> ithilgore
<<V13>>
p.s. Proteino eite na baleis kapoio onoma sto email soy, eite na afaireseis
entelos thn payla oste na fainetai sketh h email dieythynsh...
More information about the unix-admin-gr
mailing list