When Trinity and Neo determine to save Morpheus, they begin by running their armory program and getting a lot of guns.

enter image description here

The purpose of these guns is for them to kill people in the Matrix. This armory program is one of their local LAN programs though, completely separate from the Matrix, I believe. How are they getting the guns into the Matrix? Are they somehow able to edit the Matrix to create these areas?

  • 3
    great question. They matrix could be deployed with NFS. Also their LAN might have connection to the Matrix that allows for ssh or ftp. Or the construct is configured to deploy via RPC...
    – Ben Plont
    Dec 12, 2013 at 22:10
  • I was more worried about the fact they did not seem to care about killing the guards. They were real people who felt pain and died in the real world but the good guys did not seem to think twice about gunning them all down.
    – Stefan
    Dec 13, 2013 at 16:29
  • @Stefan Yet they still worked for the wrong people. How often you've seen your favourite action hero gun down a bunch of mercenaries whose only error was to get paid by the wrong people? Such things are just not thought through that well (though, not only by the good guys, but also the film-makers and the majority of the audience).
    – Napoleon Wilson
    Jan 11, 2014 at 17:39
  • @ChristianRau, true although I felt it was harsher as the guards just worked for the building doing an honest job. With all of Neo and Trinity's abilities and powers I was surprised they made no effort to get in a way which did not involve a complete massacre.
    – Stefan
    Jan 11, 2014 at 22:19
  • 2
    @Stefan: that was covered by the training simulation. The reason they have to blast the guards is because if they don't, they can become agents. It's a rough world. Sep 2, 2014 at 20:13

4 Answers 4


They are using the Construct program which is not necessarily restricted to their "LAN".

The Construct is a virtual workspace (or "loading program") created by the Resistance to run simulations or upload virtual objects when they hack into the Matrix.

From the same wiki,

Later, in preparation for rescuing Morpheus from agents in a heavily fortified government building, Neo and Trinity enter the Construct to gather many weapons and a bomb for use in their mission.

It's a bit like when you are playing an RPG, you can go into options and choose a different weapon or similar.

  • 1
    In fact they didn't just bring some guns, but also their clothes/haircuts and even more so their individual positions in space with them (or their bodies at all, given that they had already been disconnected from the Matrix anyway).
    – Napoleon Wilson
    Dec 12, 2013 at 17:04
  • 4
    @ChristianRau That's actually part of their Residual Self Image. Dec 12, 2013 at 17:05
  • The system uses a similar program to turn little old ladies into .50 caliber, one in the pipe, safety's off, gun-toting agents.
    – Mazura
    Apr 8, 2015 at 10:00
  • @Mazura Yes but Agents are already a program from within the Matrix with special abilities. It is like comparing a status bar app with a root app.
    – SarpSTA
    Feb 1, 2016 at 20:39

The practical answer is the one given by Architect. The system is set up to allow this. The Machines use the One to populate Zion. They provide the technology, the hover ships, built Zion. They allow the red pills to take red pills and live, using Agents as pawns to further this goal. The design the Matrix to allow these little rebellions as a check valve against total system failure. The entire thing is a setup in the first place. The small number of redpills running around killing a small number of blue pills doesn't matter on the long run.

As such, they allow these hacks, the use of constructed weapons, to give the illusion of choice. Sure, the Matrix is huge and there may be exploits, but that the machines allow these huge gaps in their wireless security for so long begs the answer. The Matrix is intentionally a honey pot (a computer security concept of a computer that's used as controlled bait for hackers).

The rebels are able to hack in weapons because they are allowed to do it.


It's bad software design in the Matrix or an exploit. :)

Something like this is actually possible in some games following practices I'd consider bad game design (partially intended and unavoidable though).

I had to immediately think of Neverwinter Nights 2, a RPG with an optional online mode, where you might bring your own character to any online world that allows local characters (i.e. characters not exclusively stored on the server).

Basically, MMORPGs follow the simple rule The client is in the hands of the enemy. As such, they will only allow you to take a specific set of parameters with you when you create your avatar. The client can't tell the server how much damage they do, which skills they've unlocked, etc. For example, you might pick a race, class, skin color, hair style, hair color, etc. Sounds a bit familiar? Kinda what they do when entering the Matrix.

However, NWN2 (and some other games) go a bit further: They allow the client to dictate the server what they're wearing or carrying in their inventory, i.e. uploading this when you establish a connection. Now it's getting interesting. And there are also some parallels to The Matrix once again:

Players indeed setup small maps using the map editor that work pretty much like the armory in the movie. You've got one or several rooms filled with all kind of items, like weapons, clothes, potions, etc.

So what they do is enter such a modified map, equip the stuff, then save and exit, entering the actual multiplayer world.

They do the very same thing in the movie: They enter their construct/armory, equip weapons, and then enter the actual Matrix. Of course, that inventory is not really saved with their "savegame", but that additional data or payload is obviously sent when setting up their connection. How it's actually done isn't revealed, but there are multiple possibilities.

Once again, from a real world example, when opening a web page, your browser submits additional data (e.g. cookies), that the script running on the server will be able to load/interpret. If you've heard of the Shellshock vulnerability earlier this year, this is an attack most likely pretty close to what they do when entering the Matrix:

You send a request to the server together ("I want to enter the Matrix.") with some additional payload that's not used normally (i.e. the weapon data/inventory). Due to some bug or security issue, they then get the server to actually retrieve and use that data ("materializing" their weapons).

  • 2
    Sql injection. Never trust user input, always sanitize your inputs. Neo's real name is little Johnny drop tables.
    – cde
    May 14, 2016 at 19:25

Whilst the Simulator programs are part of their LAN, they have been able to smuggle virtual items into the matrix - eg: phones for communication, shades and jackets to look cool, etc.

This ports that they are using to hack into the Matrix has also given them the ability to hack into certain amounts of computational resources from the matrix. From these resources they have built small viral programs that helps them generate and smuggle smaller objects into the Matrix. That's how they get to go with - "Guns, lots of guns."

Like any hacker, the amount of resources they consume is limited, else that viral program will not stay hidden for long. This is why when they needed a chopper, they had to steal it. They couldn't just generate one and fly it over to the building.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .