The program code that appears in the movie

Source: Internet
Author: User

High-tech unrelated movies also occasionally appear with some computer-related footage. Text is in a variety of movies have appeared in the code, they are some hacker scripts, some top secret files, some are to put cool, the text of these code are screenshots, can you see what language they are?

"Iron Man", C language

I have seen the Iron Man recently and found some interesting things. During the first "init start" of Iron Man's artificial heart, in the "terrorist" cave, a long, short, C-language code appeared on the fake laptop screen.

The code on the screen, although syntactically less important characters, such as semicolons, is indeed a valid C-language code. The writing is so prescriptive that I want to figure out where the code is coming from.

Using Google a search, I found it. The code is actually like this:

send[0] = 0x65;     send[1] = 1;      Send[2] = 3;     send[3] = 5;     send[4 ] = 7;     send[5] = 11;      if   (RCX_SENDRECV (Fd, send, 6, recv, 1, 50, retries, use_comp)  !=  1)  {     fprintf (stderr,  "%s: delete firmware failed\n ",  progname);      exit (1);     }       /* Start firmware download */     send[0]  = 0x75;     send[1] =  (start >> 0)  &  0xff;     send[2] =  (start >> 8)  & 0xff;      send[3] =  (cksum >> 0)  & 0xff;     send[4]  =  (cksum >> 8)  & 0xff;     send[5] =  0;      if  (Rcx_sendrecv (fd, send, 6, recv, 2,  50, retries, use_comp)  != 2)  {     fprintf (stderr,   "%s: start firmware download failed\n",  progname);      exit (1);      }      /* transfer data  */     addr = 0;     index = 1;      for  (addr = 0, index = 1; addr <  len; addr += size, index++)  {

This piece of code from a Lego brick (Lego, a programmable bricks game) firmware downloader, written by Stanford University's Kekoa Proudfoot in 1998. You can download the complete program from here . It uses the Mozilla Public License license, which is the same as the license agreement used by Firefox and many other open source software.

The use of this code in the movie seems to imply downloading a firmware program for Iron Man, or uploading the firmware to the Lego Block control system, in short, the birth of Iron Man is associated with the Lego bricks.

So, it seems, Iron Man either uses open source software, or is made by Lego bricks program. I didn't know it was that much cooler.

second, "Dragon Tattoo Girl", SQL

The heroine in the movie "Dragon Tattoo Girl" was apparently using a real SQL statement when searching for the murderer--although her technique was not very high from the efficiency of SQL. the full SQL code can be viewed from here.

Third, "Superman", BASIC

This guy makes a detailed analysis of the code that appears in Superman II, where you can find the full source code for the codes that appear on the screen.

"Ninja Turtle", Turbo C

The code appearing in Ninja Turtles looks much like turbo C.

V. "Great Escape and death", C language


In the movie "Big Escape Kill" appears this code is NMAP source code. NMap, also known as Network Mapper, is a web scan and sniffer toolkit under Linux.

The Stargate: The Boat of Truth, JavaScript

In the movie Stargate: The Ark of Truth, there is a javascirpt code that has been copied from a Canadian bank website.

Seven, "Machete Killing", Java

In the movie "Machete Kill" There is a Java code that is used to perform a simple TCP server task that responds to the client with the current date and time.

"Jurassic Park", Shell

The code that appears in the movie Jurassic Park looks like a shell script written for a UNIX machine.

"Swordfish Action", C language

The C program code in the movie "Swordfish Action" is from DES cracking.

X. "Social networks", Perl

There's a lot of code in the movie Social network, and it looks like it was written specifically for the movie.

11. "Europa Report", ActionScript'

These ActionScript 3 color selector codes appear in the movie "Europa Report".

12, "appealing chase", unknown

"Appealing Chase" this film I have not seen, I do not know what the above picture appears in the scene. What is the language of this piece of code? If anyone has seen it, please stay in the comments and I will update the content. Thank you.

13. "Antitrust action", Java

In the movie "Antitrust action" The two guys stared at the "compression" code from a Java-written web server source code .

14. "WikiLeaks", Lua

In the film "WikiLeaks" the protagonist Assange is looking at a code written in Lua language. This code is Diskusage.luain the AWESOMEWM project.

XV, Terminator, assembly language

In the movie Terminator, the robot's eye shows a 6502 assembly language code that appears to have been copied from Apple II .

16, "Bliss Space", assembly language '

The code used to restart the space station in the movie "Bliss Space" comes directly from the third volume of the Software Programmer's Handbook of the Delphi Architecture: System Development

The program code that appears in the movie

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.