⬆️ ⬇️

What makes computer code in Hollywood movies





British programmer and writer John Graham-Cumming (John Graham-Cumming) opened the informative blog Movie Code on the use of computer code in Hollywood films. The site collects footage from the movies and explains where the code comes from and what exactly it does in reality. It is no secret that directors often pick up the code in a completely arbitrary way, sometimes it turns out very funny.



For example, the top shows a frame from the Storm of the White House action movie, where directors used the code of several open source programs that were written in 2007–2008 to demonstrate Raw Sockets for the purpose of packet injection. His code in the official trailer identified by an information security specialist from the site SecurityTube.net.



By the way, the author expressed surprise that the hero in the trailer expresses an extreme degree of joy (his hands are raised up), although in order to run the program, it would have to be compiled first.

')

The next well-known masterpiece is the film “The Girl with the Dragon Tattoo”, where the protagonist of the girl hacker prints requests to the database of the police department, with the help of which she uncovered the murders 40 years ago. Gluing together a few frames, you can partially consider the SQL query.







In the terminal header, you can see mysql. Here is the answer that comes from the police server.







DBMS specialists laughed at this answer: “Shocked moviegoers will be puzzled that one of the best hackers in the world does not know anything about the LIKE pattern matching operator, and why the hell none of the victims have RL initials”, they wonder they.



These two examples have already been mentioned on Habré, and now fresh. In the pilot episode of the series “Charlie's Angels” (2011), an underground safe terminal was found under the toilet tray for the kitten. Now fans finally recognized this code. Do not believe it, but this is a problem from the competition of obfuscated C code from 2005, namely, the minimized sudoku task solver!







Source code can be viewed here .



In one of the episodes of the series “Elementary” about Sherlock Holmes, a note with a program code in an unknown language hit the frame.







As it turned out , this is the esoteric programming language Malbolge, created with the aim to be as complex as possible for writing programs. The author called the programming language from Malebolge, the eighth circle of Dante’s hell, and suggested that it would cause a headache for both the author of the program and everyone who would read it. The code on the note is taken from Wikipedia and simply displays the text “Hello World!”.



But in the film “Iron Man” a screen hit the frame with the loading of the Iron Man suit .







What is interesting is the valid C code, and it is taken from the RCX firmware loader (a programmable Lego brick with a microcontroller). The program was written in 1998 at Stanford, the source code . How did the filmmakers guess this particular code? Could they accidentally stumble upon it?



At the moment, more than 30 examples of curious use of computer programs in Hollywood films have been sent to the Movie Code site. They will be published daily, the material is enough for a month ahead.

Source: https://habr.com/ru/post/208816/



All Articles