Patent ID: 8484364

Claim:
A method comprising: receiving, by a network device and via a network, executable content associated with a network request; disassembling, by the network device, the executable content into action code; locating, by the network device, portions of the action code capable of making the network request, the locating the portions of the action code including: performing a flow analysis on the action code to produce a first result, inspecting a stack of the action code to produce a second result, locating, using the first result and the second result, at least one code parameter related to making the network request, and locating the portions of the action code based on the at least one code parameter, the portions of the action code including the at least one code parameter; rewriting, by the network device, the portions of the action code to form rewritten action code, the rewritten action code redirecting a network communication, associated with the executable content, to a particular network device, and the rewriting the portions of the action code including: rewriting, in the portions of the action code, the at least one code parameter; and providing, by the network device and via the network, the rewritten portion of the action code to a client device associated with the network request.