opss sorry i forgot..ok the data looks like this
alert TCP $external any->$internal any (msg: "ISD282/shellcode....)
i just want to update the data according to the IDS num.if the IDS num for example 'IDS282' not exist in the file A so it will take sentence IDS282 and copy it to file B...
Hi all,
i got problem about pattern matching.Could u all please give me some idea how i can do pattern macthing between 2 file.
ok this is the scenario..
i got file A and file B.File A is existing data and File B is a downloadable data.What i'm going to do is i want to update file A using file...
maybe i didn't put the question right.i don't want to determine the number of character matched.now..i have a string,$mystring=charmed.and user will be ask to enter an input(a string of course),$input..and my program will determined if $input matched with $mystring.if it matched,my program will...
how do i match n character of a string using regular expression?..for example i got a string charmed,i want at least 4 character matched with exact position,so that if i keyed in cracked,the expression will return true.any advice will be much appriciated.thanx.
any function in perl to count string length?i've tried length($string) but couldn't make it work.do i have to initialize any module to work with this function?
how do i use the ffround() function in BigFloat.pm?
i'd try something,but the output is not what i want.here's my code.
#!usr\bin\perl
use Math::BigFloat;
print "Enter input:";
$string = <STDIN>;
chomp $string;
$f = Math::BigFloat->new($string);
$value = $f->ffround(zero);
print...
what do you mean by this coding.. because i didn't see any different of this coding... could you explain more..
Instead of this...
SQL= "UPDATE Tugasan SET "
SQL = SQL + "Markah='" & markah & "'"
SQL = SQL + "where AsgnCode='"& b &"' "...
what do u mean by :
Not sure if its the problem you are having.. but it does look like there is no space before where..
SQL = SQL + "Markah='" & markah & "'"
SQL = SQL + "where AsgnCode='"& b &"' "
please explain more detail..tq :)
needd help....
i have a problem using to parse the data from the file.
could some one please help me....
i got a text file named 'nmap.txt'with the data:
80/tcp http
23/tcp telnet
what i'm going to do is read the data from the file using regular expression. so my output should be like this...
i need help.....
i face problem when i want to update my mark obtained and comment data from this interface..if i key in data in mark obtained text field in first line of retrived data from database but by default system insert the same value for the other line..means in te database it contain...
urm..i dun really know how to explain this..but i'll try my best.
first the while loop
while (my $seq = $in->next_seq())
i'm not sure what it does as i picked this solely from the module documentation.but i think it going to stop when it reach the end of the sequence.I have run this program...
here's the things inside the foreach loop.i use bioperl module to access sequence of amino acids in the local database.this program suppose to match sequence that were entered by user with existed sequence and find out if it existed.
sub access_seq {
$in = Bio::SeqIO ->new(-file...
i have one problem...my script cannot compare the local time with the time that user give.here is my coding:
#!/usr/local/bin/perl
$time = 0;
open(FILE,'readme.txt')||die$!;
$realtime = <FILE>;
while (defined($realtime != $time) ) {
open(FILE,'readme.txt')||die$!;
$realtime = <FILE>;
($sec...
somebody who kind enough to look at this...please.
#read from Location.pm module which return #location of the databases.
@filelocation = Location::destination ($database);
$location = $filelocation[0];
chdir $location;
opendir (DIR, "$location")|| die "Directory not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.