To solve the problem I used Perl (feel free to use your favorite language) to open a pcap file and do some analysis. Let us look at finding sessions where the client sent data but the server didn’t send any data in response. To make it easy I’ve included all the steps I took and, where appropriate, the code. Since the point is to illustrate how to use script language like Perl to do the job, the code is greatly simplified. For the convenience of reader, the complete code is listed at the end.
Category Archives: Development
Perl/Tk Tutorial – Create GUI with Perl’s Tk Module
In Unix/Linux you can execute your perl scripts by typing “perl <filename>” at command prompt. But before you do that make sure you have both Perl and its Tk module. Most linux distributions have perl – but quite a few don’t have the Tk module. Make sure that the system you are using have the Tk module. If you don’t have it, go to http://www.cpan.org and download the perl module. Or you can use the perl’s CPAN module to install the Tk module. To do this, open a terminal and enter the following command
perl -MCPAN -e shell
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install Tk
UNSW Computing 1 – The Art of Programming
Discover the world of computing, learn software design and development while solving puzzles with world renowned lecturer Richard Buckland.
UNSW Computing 1 is presented by OpenLearning with original content derived from UNSW COMPUTING’s first year computing course. Take the course for online for free, the next cohort starts on December 3rd 2012.
via UNSW Computing 1 – The Art of Programming – (OpenLearning).
What’s preferable: Exceptions or explicit error testing?
Just show me one learner’s book where error handling is rigorously designed from the start and consequently used through all the examples, without being left out for brevity and readability and as exercise for the reader. If this is applicable from an educational POV, that is another question, but it’s no surprise that error handling is often enough a second or third thought when it should be the very first.
via What’s preferable: Exceptions or explicit error testing? | Ars Technica.
OLIMEX/OLINUXINO · GitHub
OLINUXINO is Open Source software and Open Source Hardware, low cost starting from EUR 24 Linux Industrial grade single board computer with GPIOs capable to operate -25+85C.
People keep comparing OLINUXINO with Raspberry Pi and BeagleBone project, so we would like to state the differences here:
Wifi sniffing digital picture frame
After gutting the laptop and putting it in a custom picture frame, Driftnet, a program that listens network traffic and picks out images from TCP streams, was installed. [AUTUIN] tested his build with an open wireless connection in his building. The results provided a wonderful narrative that started with pictures from news sites than slowly devolved to pictures from a hot-or-not style website, an online dating site and finally pictures from the inevitable conclusion of that browsing session.
ARM Information Center
Welcome to the ARM Infocenter. The Infocenter contains all ARM non-confidential† Technical Publications, including:
- ARM Architecture Reference Manuals
- Cortex-A, Cortex-R, Cortex-M, ARM11, ARM9, and ARM7 Technical Reference Manuals
- AMBA specifications and design tools and CoreLink peripherals and controllers product manuals
- CoreSight on-chip debug and trace TRMs and Architecture documentation
- ARM Software Development tools and Modeling tools documentation
- Application Notes and Technical Support Knowledge Articles (FAQs).
Bazaar
Bazaar is a version control system that helps you track project history over time and to collaborate easily with others. Whether you’re a single developer, a co-located team or a community of developers scattered across the world, Bazaar scales and adapts to meet your needs. Part of the GNU Project, Bazaar is free software sponsored by Canonical. For a closer look, see ten reasons to switch to Bazaar.
via Bazaar.
Antec ISK 110 VESA Case Review: Just About As Small As It Gets
We’ve been having a good run of Mini-ITX cases lately, but most of those cases are designed to still be able to support what are essentially fully-powered systems: standard voltage CPUs, dedicated graphics cards, an optical drive and multiple storage drives. Yet part of the charm of Mini-ITX is that it’s capable of fitting into a much smaller space than even a Micro-ATX board theoretically could. If you’re gunning just to produce a system that’s very small and very efficient, but you don’t want to just use someone else’s build, a Mini-ITX board and the right enclosure can have you covered.
via AnandTech – Antec ISK 110 VESA Case Review: Just About As Small As It Gets.
Given that there isn’t a whole lot to the Antec ISK 110 VESA, you’d think assembly would be simple and straightforward. While it’s straightforward, simplicity unfortunately isn’t part of the equation; cramped quarters are never good for getting a system put together, and the ISK 110 VESA is incredibly cramped.
…
It’s meant for kiosk and basic lightweight corporate and personal use.
IOS Developer Cheat Sheet – OWASP
In general, an app should store locally only the data that is required to perform its functional tasks. This includes side channel data such as system logging (see M8 below). For any form of sensitive data, storing plaintext data storage in an app’s sandbox (e.g., ~/Documents/* ) should always be avoided. Consumer-grade sensitive data should be stored in secure containers using Apple-provided APIs.