Notes on Java, Solaris, PHP, LDAP…

November 21, 2007

File uploads with Apache/PHP and Flex; TCP dump

Filed under: Uncategorized — negev @ 6:44 pm
Tags: , ,

File upload with Apache/PHP
– if your HTML form has a hidden input MAX_FILE_SIZE and you submit a file bigger than that, you won’t get any warning by the browser, and the file won’t be submitted to the server!

File upload in Flex using FileReference
– the file size must be above 0!

TCP dump filtering
sudo tcpdump -i en0 -s 0 -w csv_processing_tcpdump.dmp
-s 0 => print whole packets

tcpdump -s 0 -n -e -A -vvv -r DumpFile.dmp host ip-of-the-target-host
-A => prints packet in ASCII

Advertisements

4 Comments »

  1. Thanks for the post for composing “File uploads with Apache/PHP and Flex; TCP dump Notes on Java, Solaris, PHP,
    LDAP”. Iwill surely wind up being coming back for a great deal more reading
    and commenting soon. Many thanks, Jasmin

    Comment by http://tinyurl.com/shanwood36281 — February 5, 2013 @ 7:13 am | Reply

  2. This is my first time visit at here and i am genuinely pleassant to read everthing at alone
    place.

    Comment by kalkulator kredytu — June 13, 2013 @ 10:22 pm | Reply

  3. Hello my family member! I wish to say that this post is awesome, nice written and include
    approximately all important infos. I’d like to look extra posts like this .

    Comment by netseriale.pl — June 29, 2013 @ 10:43 am | Reply

  4. Somebody necessarily lend a hand to make seriously articles I’d state. This is the first time I frequented your web page and up to now? I amazed with the research you made to create this actual post incredible. Magnificent activity!

    Comment by http://netseriale.pl/nashville/odcinki/21-epizod-1-sezonu-i-ll-never-get-out-of-this-world-alive — June 29, 2013 @ 4:33 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: