Why I hate "tech" movies.

Status
Not open for further replies.

NullPointerException

Level 12
Thread author
Verified
Aug 25, 2014
580
Perhaps I should re-read a Tour of C++ and Effective C++....
C#, C & C++ compilers are infamous for allowing everything. From DDD to multi-threading to everything. Really...a bad thing C language is. Java is so simple, yet devs complain of readability.
 
  • Like
Reactions: Cowpipe

Cowpipe

Level 16
Verified
Well-known
Jun 16, 2014
781
Perhaps I should re-read a Tour of C++ and Effective C++....
C#, C & C++ compilers are infamous for allowing everything. From DDD to multi-threading to everything. Really...a bad thing C language is. Java is so simple, yet devs complain of readability.

It's both a blessing and a curse that C allows you to shoot yourself so easily. Have you ever programmed any LISP? I find it much more flexible than C though I rarely use it these days.
 

NullPointerException

Level 12
Thread author
Verified
Aug 25, 2014
580
It's both a blessing and a curse that C allows you to shoot yourself so easily. Have you ever programmed any LISP? I find it much more flexible than C though I rarely use it these days.
Perl and some Pascal. No LISP...
Lotsa insignificant Stupid Parentheses
 
  • Like
Reactions: Cowpipe

Cowpipe

Level 16
Verified
Well-known
Jun 16, 2014
781
Perl and some Pascal. No LISP...
Lotsa insignificant Stupid Parentheses

Haha, the amount of times I still get annoying errors because I've either added too many parentheses or missed one out! I love the fact that you can nest functions though. You can make some great obfuscation with that!

Have a look at this! (one of my favourite examples of obfuscation). If you check the parent directory there's a hint if you're having trouble decoding ;)

I've actually been meaning to learn Perl for ages too, never got around to it sadly
 
  • Like
Reactions: avast! Protection

NullPointerException

Level 12
Thread author
Verified
Aug 25, 2014
580
Haha, the amount of times I still get annoying errors because I've either added too many parentheses or missed one out! I love the fact that you can nest functions though. You can make some great obfuscation with that!

Have a look at this! (one of my favourite examples of obfuscation). If you check the parent directory there's a hint if you're having trouble decoding ;)

I've actually been meaning to learn Perl for ages too, never got around to it sadly
How can I open the hint file? LOL. I have no LISP experience, I want to see if I can understand its de-encrypted syntax.
 

Cowpipe

Level 16
Verified
Well-known
Jun 16, 2014
781
How can I open the hint file? LOL. I have no LISP experience, I want to see if I can understand its de-encrypted syntax.

It's actually quite a poor program but it's one that has some memories for me from a few years ago ;) The code I posted isn't actually LISP, but a basic lisp interpreter programmed in C (hence all those defs)... Here's the hint file which gives you an idea of how to "deobfuscate it" (yes I was sort of tricking you about that :p)

Best of show: <...!uunet!mcvax!hutcs!jar> Jari Arkko, Ora Lassila, Esko Nuutila

Jari Arkko, Ora Lassila, Esko Nuutila
Laboratory of Information Processing Science
Helsinki University of Technology
Otakaari 1
02150 Espoo
Finland

Judges notes:

This is the most useful program entered this year. It is a
rather large subset of lisp. It has no error recovery, and
performs rather poorly in a number of cases. Even so, placing
all this functionality in such a small, densely packed program,
is impressive enough to win the Best of show award.

Selected notes from the author:

This program implements a Lisp interpreter in 1465 bytes of source.
Some sophisticated features supported, eg. functionals and recursion.
The special-forms/functions/variables implemented are:

+ - * < ()
car cdr cons defun equal
function if lambda quote t

Below are sample lisp expressions you might choose to try as input.
The program implements a conventional lisp listener, i.e. you type in
lisp expressions (followed by CR), the program evaluates them and
prints out the return values. End execution by typing an end-of-file
character.

(+ 2.5 3.1)
(defun fib (n)
(if (< n 2)
1
(+ (fib (- n 2)) (fib (- n 1)))))
(fib 10)
(defun ! (x) (if (equal x 0) 1 (* x (! (- x 1)))))
(! 7)
(defun fn1 (fn) (+ (fn 1 2) (fn 3 4)))
(defun fn2 (a b) (+ a b))
(fn1 (function +))
(fn1 (function fn2))
(fn1 (function (lambda (z1 z2) (+ z1 z2))))
(quote a)
(cons (quote (a b)) (quote (c d e)))
(cons (quote (f)) ())
(car (quote (a b c)))
(cdr (cdr (quote (g h i))))

Please do not leave any whitespace before the first parenthesis when
you type your input, or any other unnecessary whitespace. Please try to
avoid any undefined variables or functions, wrong number of arguments
etc. All these errors are likely to dump core (i.e. there are no error
checks in the program).

Traditional Lisp implementations use cons cells as the main data
structure. Lists are organized of pointer chains of these cells.
In this program, an alternate representation was chosen: char*'s.
All list operations, including the ones in the interpreter, are
made using string representations of the lists. These operations
must count parentheses and skip whitespace. This leads to extremely
poor performance!
 
Last edited:

NullPointerException

Level 12
Thread author
Verified
Aug 25, 2014
580
Why am I thinking that
(cons (quote (a b)) (quote (c d e)))
(cons (quote (f)) ())
(car (quote (a b c)))
(cdr (cdr (quote (g h i))))

Really is in end of the code?
 
  • Like
Reactions: Cowpipe

Cowpipe

Level 16
Verified
Well-known
Jun 16, 2014
781
Why am I thinking that
(cons (quote (a b)) (quote (c d e)))
(cons (quote (f)) ())
(car (quote (a b c)))
(cdr (cdr (quote (g h i))))

Really is in end of the code?

I'll be completely honest with you, I've never had the patience to sit down and deconstruct it. I'm only a basic lisp programer (I can write simple programs, nothing complicated) and I've never been good at the whole code golf stuff :p
 

Cowpipe

Level 16
Verified
Well-known
Jun 16, 2014
781
I searched to Google, and it turned out to be right!
Basic Lisp programmer? I hate parenthesis too...

I think the most complicated thing I ever made in LISP was a data parser. It basically read through a file offset table, looked up that section of data, decompressed it and fed it into variables (was part of a game I was programming). Months since I've touched LISP though ;)
 

MrXidus

Super Moderator (Leave of absence)
Apr 17, 2011
2,503
Code:
0110100001101001001000000110110101100001011011000111011101100001011100100110010101110100011010010111000001110011

This thread has really inspired me, I'm now going to attempt to hack Cowpipe just like in the movies.

Firewall, not a problem for me.

Code:
>disable firewall

Enter

[Firewall Successfully Disabled]

I'm in just like that for such a knowledgeable guy you would think he would have better security.

GIF below related, me hacking Cowpipe and encrypting all his computers files with uncrackable DES encryption.

NQ1wRf4.gif

So this is what it's like to be a masterful white hat hacker xD

Going to hack NullPointerException & illumination next!11!1

/s I'm not serious.

hl.gif
Hacking is as easy as 1 2 3!

And here's a little website for fun and games, go full screen and when someone looks over your shoulder you can make it look like you're a l337 h4x0r just like in the movies!

http://hackertyper.net
 

MalwareHunter

Level 17
Verified
Top Poster
Well-known
Jul 30, 2014
806
Code:
01001000011001010110110001101100011011110010110000100000011110010110111101110101001011000010000001100010011010010110111001100001011100100111100100100000011011010110000101110011011101000110010101110010001000010010000001010000011011000110010101100001011100110110010100100000011100100110010101100001011001000010000001101101011110010010000001101101011001010111001101110011011000010110011101100101001000000110001001100101011011000110111101110111001011000010000001100001011011100110010000100000011101000110010101101100011011000010000001101101011001010010000001101001011001100010000001001001001001110110110100100000011100100110100101100111011010000111010000100000011011110111001000100000011011100110111101110100001011100010000001010100011010000110000101101110011010110111001100100001

Code:
YXXYXYXXXYXYYYXXXXXXXYXXYYYYYYXXXXYXYYYXXXXYXYYXYYYXXYYXYXXYXYYXXYXXYXYXXXXXXYXXXYYYXYXXYXYXXYYXYYYXXYYXXXYXXYYXYXYXXYYXXXYYXYYXYYYXYYYXYYYYXYYXXYYYXYYXYYXYXYYXXXXXXYXXXYYXXYYXYYYYXYYXXXXXXYXXXXYXYYYXYXXYXYYXXYXXXYYXXXXXXYXXYXXXXYYXXXXXXYXXYXYXXYYXXYYXYYYXYXXXXYYXXXXYXYYXXXXXXYXXYXYXYYYXYYYYXYYXYXXYYYYXXXXXXYXXYYXYXYYXXYYYXYYXYXXYXYYXXXXYXYYXXXYXYYYXXXXXXYXXYXXYXXYX
 
  • Like
Reactions: Cowpipe
Status
Not open for further replies.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top