General :: Software In Ubuntu That Can Count Scans?

Jan 1, 2011

Is there a software in linux ubuntu that can count scans???

View 1 Replies


ADVERTISEMENT

Programming :: DBD::mysql::st Execute Failed: Column Count Doesn't Match Value Count At Row 1

Feb 24, 2010

I have the following perl/DBI script:

Quote:

#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr

[code].....

The error message is

[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr

View 2 Replies View Related

Ubuntu Networking :: Airodump-ng Only Scans On Channel 1?

Jul 26, 2010

i just installed ubuntu 10.04 on my computer, and tried to airodump, but noticed that its stuck on 11th channel, when i specified only channel 6 during scan, it gave me hosts from channel 6 and 11, but then i ran aireplay-ng and it runs on 11th channel as well, even when i put my card into monitor mode with a specific channel option. btw my chipset is AR9285 with ath9k driver. everything worked in backtrack. i also tried to reinstall aircrack which did not work.

View 1 Replies View Related

General :: Count Lines And Words?

Feb 15, 2010

How can I display the no. of lines, words and characters for each file in current directory and in sub directory.

wc . * shows errornous result as there are some executable files in that directory.

View 2 Replies View Related

General :: How To Count How Many Of Processes Are Running

Nov 3, 2010

I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?

View 2 Replies View Related

Ubuntu :: Computer Maintenance - No More Malware / Registry Scans

Jan 3, 2010

I'm so used to Windows having to run multiple malware scans with multiple tools. Running registry cleaners and running CCleaner to remove all of the old temp files, cookies etc.. Derfagging. Ok with Ubuntu no more malware scans. No more registry scans. It appears that there isn't a defrag tool? And what about the other things that tend to clog up the works, Temp files , cookies etc. Is that what the disc janitor is all about?

View 6 Replies View Related

General :: Recursively Count All The Files In A Directory?

Oct 12, 2010

I have a really deep directory tree on my Linux box. I would like to count all of the files in that path, including all of the subdirectories.

For instance, given this directory tree:

/home/blue
/home/red
/home/dir/green
/home/dir/yellow
/home/otherDir/

If I pass in /home, I would like for it to return 4 files. Or, bonus points if it returns 4 files, 2 directories. Basically, I want the equivalent of right-clicking a folder on Windows and selecting properties and seeing how many files/folders are contained in that folder.

How can I most easily do this? I have a solution involving a Python script I wrote, but why isn't this as easy as running ls | wc or similar?

View 5 Replies View Related

General :: Get The Physical CPU Socket Count In RHEL?

Jun 30, 2011

We are working on our subscription renewal and now since Red Hat has changed their subscription model we need to give them the number of physical CPU sockets on each system.I have tried looking thru /proc/cpuinfo as well as tried to parse data out from dmidecode but both of those solutions count each individual core as a CPU.Is there a clean and easy way to determine the number of sockets on each system? We also use RHN Satellite to manage our systems but I believe that is pulling the same data from dmidecode

View 2 Replies View Related

General :: Bash Command To Count Files ?

May 3, 2010

I would like to count all the jpgs in my home folder I need a command like this:

~$ Sudo count -R /*/*.jpg

View 3 Replies View Related

General :: Command To Count All Characters In File

Mar 26, 2010

Anybody know and command to count any characters in file? I would like to know the total number of character " (quote) in file. My idea is to check if in a script the total number of this character is pair.

View 4 Replies View Related

General :: Count How Many Number Occurrences In Series?

Jun 2, 2011

i try to make a script in bash that u choose a number for example 501 and another number like 1 and find how much the 1 number repeat in all numbers from 1 to 501 for example 11 -->1 repeat 2 times.in 1 to 501 the number 1 repeat 200 times.

View 4 Replies View Related

General :: Count Words With Comma As Separator?

Feb 16, 2010

I'm trying to count words in a text file that has a comma as separator. I know that I must user wc -w, but wc uses space as a separator

View 2 Replies View Related

General :: Count An Item In A Tab-delimited Txt File?

Mar 6, 2010

in a tab-delimited file, such as:

Code:
111aIab
222bIIbc

[code]...

View 3 Replies View Related

General :: 2.3.68 - Make Command Will Count Then Freeze ?

May 24, 2011

I'm trying to make and make install a driver for my wireless, every time, though, I use the make command, it'll start at 0 and cound almost up to 200,000 and then the computer freezes. I've tried different drivers, same result. I've tried ndiswrapper but that didn't work either.

View 8 Replies View Related

General :: Using Rpm Command To Count The Numbers Of License

Feb 27, 2010

I am a newbie in Linux. Here is my question....

Create the file ~/license_counts, which tables the number of occurrences of packages which are licensed under a given license, for the top 5 most commonly used licenses, sorted in numerically descending order. If performed correctly, your file should be formatted similarly to the following. (Do not be concerned if the actual counts or license names are different. Also, you might notice logically similar licenses, such as LGPL/GPL and GPL/LGPL. Do not make any attempt to combine them into a single entry.)

The resulted format:

I tried some method but cannot get it to work.

View 2 Replies View Related

Fedora :: Way To Easily Manipulate Photos And Scans

Jul 17, 2010

I own Fedora Core 12 and an HP scanner. I want to make digital copies of all the pictures I took a few years ago. I have a lot so I tried scanning five at a time thinking I could cut and paste into smaller images like with MS Paint on Windows. HPLIP 3.9.12 wouldn't let me modify the scans so I tried GIMP 2.6.10. GIMP 2.6.10 is a nightmare! When I opened my scan of five pictures I had trouble opening a new image. Then I had to specify the size of the new image. The when I cut and pasted I couldn't rotate. Then when I figured out how to rotate my image was too small.

Then I tried scanning just one picture but HPLIP left a lot of blank space. I tried cropping out the blank space with GIMP but the image size was the same with the blank space. I don't want to post photos to Flickr that are mostly empty space.I wish I could show you examples but the forum won't let me post them.Any ideas or suggestions for a program for Fedora Core 12 that's got the functions and features of MS Paint?

View 9 Replies View Related

OpenSUSE Install :: Snmp Scans During Installation

Nov 18, 2010

can some one explain why opensuse 11.2 try to scan the default gw via snmp? And why it generates wrong packages with other mac-addresses? we have 3 scan tries with the same IP (from the fresh install) but with 3 different mac addresses. Can some one point me to the code which does this strange things?

View 2 Replies View Related

Security :: Localhost Scans With Rkhunter And Chkrootkit?

Feb 16, 2011

Let's say you have a host with some kind of locally installed root kit detector/scanner.

If someone managed to get root access to that box. Wouldn't the first thing to do, before installing a root kit, be to remove any kind root kit detector?

View 3 Replies View Related

Security :: Take A Closer Look Once The Scans Stepped Up A Notch?

Nov 1, 2010

It was recommended that I post the results of a service scan performed against a remote machine. However, before I get flamed for lack of proper etiquette, I asked for advice prior to posting. So, here goes. I have a been getting scanned repeatedly by the same group of addresses for well over 2 months. I decided to take a closer look once the scans stepped up a notch. By "stepped up a notch" I mean more specific. All the originating HOST are using either port 12200 or port 6000. All with one exception, appear to be located in China. The scans are blatant. Over and over again. I noticed some timing between scans that seemed to match up with a European location as well.

The first question would be if I could get in trouble for the remote host actions. I mean, I have noticed pings directed past the router to the internal network now in my linux logs. Could the attacker/scanner be using me as a bounce for other stuff? The scans, as stated before, never stop.

I ran a scan against one of the host out of curiosity. You can check it out at http://pastebin.com/5qcKSgC0. It appeared to be a school in china. Should I report it? IF so, how would aI report it to some guy in china, I don't speak or write Chinese.

View 3 Replies View Related

Programming :: Test App That Scans For Plugins In A Directory?

Aug 27, 2010

I wrote a test app that scans for plugins in a directory, calls their getWidget() method (implemented in my interface), and adds that widget to a layout.

The problem is that when I added a QTimer to my plugin class, it didn't work! Why?

And will it be easier to write the thing in Python and not use QPlugin? I just want to define a QWidget and have it added to the app.

View 8 Replies View Related

General :: Showing The Line Count Of A Specific File

Mar 30, 2011

Is this the correct way to show the line count of a specific file?

cat file | grep * -c

View 3 Replies View Related

General :: Count The Number Of Lines In All Files In This Directory?

Jul 5, 2011

I want to count the lines of all files in this directory and all its subdirectories, but exclude directories "public", "modules", and "templates".

View 2 Replies View Related

General :: Count Multiple Objects In Shell Script?

Jul 21, 2010

Trying to count the number of oracle instances on HPUX 11.23 - using ksh. I have multiple instances running and I would like to have a count for how many processes for eachinstance.Example, run the 'ps -efu oracle' command and for each instance increment a counter. So I am looking forINT1=# INT2=# INT3=# ... INTn=#I keep thinking a 'do-while' or some type of 'while' loop but I am missing something, somewhere

View 2 Replies View Related

General :: Creating Unique Users Accounts Using Count?

Mar 16, 2011

I am trying to create users accounts reading from a file. I can get it to show if the user already exists but I want it to instead of not creating the user account to create e.g. Scott1 etc.The code i have so far is :

#!/bin/bash
while read line
do

[code]...

View 4 Replies View Related

General :: Count The Right VGA Parameter Number For Grub To Use Another Resolution?

Dec 13, 2010

I am using grub of version 2, and current resolution vga=795 (probably). X runs at 1680x1050. So what I would like to know is, how can I count the right VGA parameter number for grub, to use another resolution?

View 11 Replies View Related

General :: Collect The Count Of The Reboots That Occur Of Servers?

Apr 21, 2010

I have a pool of approximately 1,000 Linux servers and I would like to get a total count of reboots that occurred on those servers each month. I would like to collect this reboot count at the end of each month. Can anyone tell me what the best way to get this count.

View 1 Replies View Related

General :: Trying To Display Count Of Number Of Subdirectories In Directory

Feb 7, 2011

I am a noob and I am trying to display a count of the number of subdirectories in a directory. I have been able to use find -type d to list directories and subdirs but I want a numerical value of dirs and subdirs. I know ls -l gives a count but when I try ls -l -d all it shows is "." I also have tried a combination with the -R option but nothing seems to be working for me.Please forgive my ignorance but I am working on a script for class and this is the first step.

View 3 Replies View Related

Debian Configuration :: Samba Shows In Port Scans

Sep 2, 2010

I just noticed after installing a new server with samba that a portscan will show the samba used ports. This server has two interfaces, a world address eth0 and an intranet eth1. The samba ports show in scanning either interface, even after I changed samba to listen only to the intranet (192.168.x) address.

I am concerned especially about the 139 and 445 ports, which could attract a lot of garbage traffic.This is Debian 5.05 default samba installation.Otherwise similarly installed Ubuntu box with two interfaces does not show samba at all, even though smbd is running and working just fine.

View 4 Replies View Related

Software :: Antivirus That Automatically Scans Thunderbird Emails?

Apr 16, 2010

Disappointed with avast for linux, it only scans when you manually start a scan. I want antivirus software alerts immediately when a suspicious email arrives into Thunderbird inbox.

View 1 Replies View Related

Software :: Xane Scans To A Pdf Which Document Viewer Cannot Print

Jan 3, 2010

Ubuntu 9.10 54 bit
XSane 0.996
Document Viewer 2.28.1
Brother MFC 240c multi function scanner, printer, fax

So I am cleaning up some old paper records from 2009. I scanned about 25 pages of old medical receipts, prescription receipts etc. as a multi page project. The destination was a pdf file. The desired file is created and I can open it in the default Document Viewer. When I try to print to my Brother HL5170DN laser printer (just one page as a test) I get a message in the print queue window:

Processing Printer warning
com.apple.print.recoverable

and the job never prints. I can print pdf files from other sources such a printing a web page to a file/pdf, pdf files downloaded or created on other computers etc.

If I print the pdf created by XSane and viewed in Document Viewer to the MFC 240c ink jet printer, the pages are about 3/4 size, not the full size pages I scanned.

I am forced to do my scanning and pdf writing on an XP virtual machine running on the Ubuntu box under VMWare

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved