Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Without Cheeting [IGNORE USE OTHER THREAD]

Without Cheeting [IGNORE USE OTHER THREAD] 10 years 3 months ago #16082

  • Smurf
  • Smurf's Avatar
  • Offline
  • Moderator
  • Posts: 1390
  • Karma: 1
Ok,

Since there are some programmers in here (not me I'm affraid, did it at Uni and thought it would drive me up the wall doing it day in day out, lol), I thought I would share some code that I picked up at Uni.

Its quite simple, WITHOUT compiling it, can anyone tell me what this C code does ? (Apparently it won a competition some time ago for the most unreadible code, or something like that).

If you do want to compile it (don't post what it does for a week or so incase anyone is mad enough to try and work it out), how does it work (never bothered to try and understand it myself but if anyone else wants to and try to explain it then, go ahead, hehe)

DEFINATELY COMPILES NOW

The code is here http://www.onlineweblinks.com/upload/enigma.txt

For some reason it will not work if i post the code directly into this thread.
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx

Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
The administrator has disabled public write access.

errors 10 years 3 months ago #16083

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
didn't amount to much, came up with 25 errors, and i was using some well known compilers known to man :D
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

Re: Without Cheeting [IGNORE USE OTHER THREAD] 10 years 3 months ago #16085

  • Smurf
  • Smurf's Avatar
  • Offline
  • Moderator
  • Posts: 1390
  • Karma: 1
I think it was written in c++ not c, if it makes any difference ? I have compiled it, will take a look
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx

Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
The administrator has disabled public write access.

errors 10 years 3 months ago #16086

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
i compiled it as a c++ program, not as C. then i tried again as a c++ file. the number of errors remain the same. not that it means anything. went through the list of errors. ranges from missing statements, incomplete statements, illegal function calls etc etc etc.
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

Re: Without Cheeting [IGNORE USE OTHER THREAD] 10 years 3 months ago #16087

  • Smurf
  • Smurf's Avatar
  • Offline
  • Moderator
  • Posts: 1390
  • Karma: 1
Strange as i have definately compiled it when at Uni. I have the exe file here for it. Hmmm, just downloading a compiler now to take a quick look :)
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx

Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
The administrator has disabled public write access.

errors 10 years 3 months ago #16088

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
let me know if it comes out with anything. also let me know of which compiler you used. i used the normal Turbo C compiler, and then the MSDev compilers
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.
Time to create page: 0.081 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup