G
g.kanaka.raju
main() { printf(&unix["\021%six\012\0"], (unix)["have"]+"fun"-0x60);}
output : unix
I have printed &unix["\021%six\012\0"] ==> output : %six and
(unix)["have"]+"fun"-0x60 ==> output : un
Could anyone of you explain how the above works. I'm curious to know
the trick here. I really appriciate your thoughts.
Regards,
Raju
output : unix
I have printed &unix["\021%six\012\0"] ==> output : %six and
(unix)["have"]+"fun"-0x60 ==> output : un
Could anyone of you explain how the above works. I'm curious to know
the trick here. I really appriciate your thoughts.
Regards,
Raju