Visit Our UNIX and Linux User Community

Special Forums Cybersecurity Efficiency Network Security Analysis for Data Mining Post 303044620 by Neo on Friday 28th of February 2020 03:24:31 AM
Old 02-28-2020
Efficiency Network Security Analysis for Data Mining

I see this all the time, and so I'm used to it; but sometimes it is fun to post it anyway, since this is dated just a week ago, and today flew into my inbox;

Efficiency Network Security Analysis for Data Mining, February 21, 2020


Efficiency Network Security Analysis for Data Mining-screen-shot-2020-02-28-31950-pmjpg
These 2 Users Gave Thanks to Neo For This Post:
Test Your Knowledge in Computers #903
Difficulty: Medium
There are less than 10 million lines of code in the Linux kernel as of 2018.
True or False?

We Also Found This Discussion For You

1. Shell Programming and Scripting

Data mining a text file.

I'm auditing UID consistency across our hosts, and have created the following datafile, consisting of four fields. I would like to get a count of the combination of the last two fields. ie: I would like to find out how many instances there are of "root 0" and how many of "uucp 5", for every line... (3 Replies)
Discussion started by: akbar
3 Replies
WebService::CIA::Parser(3pm)				User Contributed Perl Documentation			      WebService::CIA::Parser(3pm)

WebService::CIA::Parser - Parse pages from the CIA World Factbook SYNOPSIS
use WebService::CIA::Parser; my $parser = WebService::CIA::Parser->new; my $data = $parser->parse($string); DESCRIPTION
WebService::CIA::Parser takes a string of HTML and parses it. It will only give sensible output if the string is the HTML for a page whose URL matches "[a-z]{2}.html" This parsing is somewhat fragile, since it assumes a certain page structure. It'll work just as long as the CIA don't choose to alter their pages. METHODS
"new" Creates a new WebService::CIA::Parser object. It takes no arguments. "parse($html)" Parses a string of HTML take from the CIA World Factbook. It takes a single string as its argument and returns a hashref of fields and values. The values are stripped of all HTML. "<br>" tags are replaced by newlines. It also creates four extra fields: "URL", "URL - Print", "URL - Flag", and "URL - Map" which are the URLs of the country's Factbook page, the printable version of that page, a GIF map of the country, and a GIF flag of the country respectively. EXAMPLE
use WebService::CIA::Parser; use LWP::Simple qw(get); $html = get( "" ); $parser = WebService::CIA::Parser->new; $data = $parser->parse($html); print $data->{"Population"}; AUTHOR
Ian Malpass ( COPYRIGHT
Copyright 2003-2007, Ian Malpass This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The CIA World Factbook's copyright information page (< right.html>) states: The Factbook is in the public domain. Accordingly, it may be copied freely without permission of the Central Intelligence Agency (CIA). SEE ALSO
WebService::CIA perl v5.8.8 2008-02-04 WebService::CIA::Parser(3pm)

Featured Tech Videos

All times are GMT -4. The time now is 04:24 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy