|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
Programmer Challenge
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||||
|
Security Sleuth
|
Ok, this is just for fun, I just want to see if anyone here is familiar with this. If someone can answer the question's they will know why I am asking.
1. What language is this? 2. What would something like this be used for? Quote:
__________________
IRC nick - tgalyean / normally found in #fedora-admin
Last edited by kc-tr : 02-27-07 at 09:25 PM. |
||||||||||||||
|
|
|
|
#2 (permalink) | ||||||||||||
|
Programmer
|
Perl.
__________________You like writing viruses? lol. ("Virus" relating to remote exploiting...)
Last edited by version2 : 03-01-07 at 01:05 AM. |
||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Security Sleuth
|
Nope not a virus, and Yes it is pearl, and no I dont write them. I am a pen tester, I do contracted security audits, and that is a portion of code that is used. No I wont post what it is, but yes it is pearl and no it is not a virus. But you are right on all aspects other than that it is a virus. Well done
You should join the security field.I was cleaning up some errors in it, while surfing overclock.net so I thought I would toss a small portion of it up and see if anyone could answer the question ![]()
__________________
IRC nick - tgalyean / normally found in #fedora-admin
Last edited by kc-tr : 03-01-07 at 09:10 AM. |
|||||||||||||
|
|
|
|
#4 (permalink) | ||||||||||||
|
Programmer
|
At first I thought it was php, but I had never seen the syntax involving $eggtag followed by the dot before in php. Then, I thought it might have been C++. It's been awhile since I've programmed C++ (and I had knew very little about it in the first place), because you are allowed to have the "$" in front of variables in c++ (I think so.) But I wasn't convinced it was c++.
__________________I did a little search on the second line of code (I thought), and found a script, which I was able to determine the language. I also found out that that script had originally been a C++ script for some sort of McAfee Exploit (a "virus" if you will). So I cheated a bit, to be honest. Interesting challenge though, I learned something new. ![]() BTW, the first two lines of code does work in PHP. And, if I were to guess what lines 4 and 5 do (without looking at the original code), I'd guess that $variable . "text"; adds on to the current string in $variable, just like $variable .= "text"; Am I right?
|
||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
New to Overclock.net
|
haha nice, One a forum they had a programming challenge where you had to get it to post like the numbers 1-5 500 different ways, so hard
|
|||||||||||||
|
|
|
|
|
#6 (permalink) | ||||||||||||||
|
Turing Test is Overrated
|
How about this snipet of code, rep up for whoever gets it!
Code:
addi $sp, $sp, -20 sw $fp, 20($sp) sw $ra, 16($sp) sw $a1, 12($sp) sw $s4, 8($sp) addi $fp, $sp, 20 add $s4, $zero, $zero beq $a1, $s0, DISPLAYLINE j DISPLAYELSE
__________________
WANTED: Socket M Core/Core 2 CPU, SUGO-02 Black, quality 802.11b/g PCI Card To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it will work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single/Non-Modular Rail PSUs are NOT better than Multi-Rail/Modular Quote:
Last edited by DuckieHo : 03-01-07 at 09:42 PM. |
||||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||
|
Programmer
|
@DuckieHo, I'm not sure about this one, but is it MIPS? I donno. But I think I'm pretty sure it's a compiled language.
__________________Edit: 2 minutes later, and I'm trying to figure out why I was so sure it was a compiled programming language... :/
Last edited by version2 : 03-02-07 at 12:33 AM. |
||||||||||||
|
|
|
|
|
#8 (permalink) | ||||||||||||||
|
Apple Doesn't Love You
|
Quote:
|
||||||||||||||
|
|
|
|
#9 (permalink) | ||||||||||||
|
110100001101001111000
|
I'm calling the assembly code as well. I only know 8088 and 8051 assembly, but that would be my guess. The #($sp) also looks something like indirect addressing, so that would strengthen my thoughts on assembly.
__________________
|
||||||||||||
|
|
|
|
#10 (permalink) | |||||||||||||
|
New to Overclock.net
|
compiled maybe?
__________________
Aumotocnic "An unfortunate member of the overclock.net insomnia club"
|
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|