String mstching. (or something along that line)

Ok, im playing this game and im writting this program to help me. The game is a virtual hacking game.
U have logs and when people hack u u can get their ip.
well ips are as follows.
a set of four groups of numbers. (n.n.n.n)
and none of the groups are less than one and greater than 3 digits.
alo all digits in a group as one number are not greater than 255. (256.1.2.123 = not true)
now how would i go about prashing a textarea for thoes ips?
Message was edited by:
krrose27

ok thanxs for that. M bigger problem wich i forgot to post was how do i get the aryas heres an example of the log:
12-03-2007 02:59  [113.219.143.111] installed virus OpenRelay-backdoor.vspam on [localhost]
12-03-2007 02:58 [113.219.143.111] uploaded file OpenRelay-backdoor.vspam(0.003 Gb) to [localhost]
12-03-2007 02:56 admin logged in from []
12-03-2007 02:55 admin logged in from [131.37.190.!]
12-03-2007 02:55 [145.45.125.215] downloaded file Antivirus beta program.av(0.014 Gb) from [localhost]
12-03-2007 02:53 [] uploaded file Marketing.mailer(0.005 Gb) to [localhost]
]how would i go about getting the aryas from that to check?

Similar Messages

  • I bought my I pod touch 3-4 months ago and I got this message all of a sudden, it said something along the lines of provisonal complete_Distrib... will expire in 30 days. What is this it's under setting-general-Profile should I be worried?

    I bought my I pod touch 3-4 months ago and I got this message all of a sudden, it said something along the lines of provisonal complete_Distrib... will expire in 30 days. What is this it's under setting-general-Profile should I be worried? Should I just let it expire.

    Unless you have a company or school iPod, that profile was installed by an app you installed. It is likely that the app will no longer function when that date is reached. You can Google the name of the profile and that may provide some more information.

  • I think my computer has a virus, when I get on the Internet, ads will pop up all the time, I think it is called adware?  Also pages will pop up saying something along the lines of my computer is at risk for some security issue. What should I do?

    I think my computer has a virus, when I get on the Internet, ads will pop up all the time, I think it is called adware?  Also pages will pop up saying something along the lines of my computer is at risk for some security issue. What should I do?

    Remove Browser Pop-up Problems
         AdwareMedic
         Adblock Plus 1.8.9
         remove adware that displays pop-up ads and graphics on your Mac
    Helpful Links Regarding Malware Problems
    If you are having an immediate problem with ads popping up see The Safe Mac » Adware Removal Guide and AdwareMedic. If you require anti-virus protection Thomas Reed recommends using ClamXAV. (Thank you to Thomas Reed for this recommendation.)
    Open Safari, select Preferences from the Safari menu. Click on Extensions icon in the toolbar. Disable all Extensions. If this stops your problem, then re-enable them one by one until the problem returns. Now remove that extension as it is causing the problem.
    The following comes from user stevejobsfan0123. I have made minor changes to adapt to this presentation.
    Fix Some Browser Pop-ups That Take Over Safari.
    Common pop-ups include a message saying the government has seized your computer and you must pay to have it released (often called "Moneypak"), or a phony message saying that your computer has been infected, and you need to call a tech support number (sometimes claiming to be Apple) to get it resolved. First, understand that these pop-ups are not caused by a virus and your computer has not been affected. This "hijack" is limited to your web browser. Also understand that these messages are scams, so do not pay any money, call the listed number, or provide any personal information. This article will outline the solution to dismiss the pop-up.
    Quit Safari
    Usually, these pop-ups will not go away by either clicking "OK" or "Cancel." Furthermore, several menus in the menu bar may become disabled and show in gray, including the option to quit Safari. You will likely have to force quit Safari. To do this, press Command + option + esc, select Safari, and press Force Quit.
    Relaunch Safari
    If you relaunch Safari, the page will reopen. To prevent this from happening, hold down the 'Shift' key while opening Safari. This will prevent windows from the last time Safari was running from reopening.
    This will not work in all cases. The shift key must be held at the right time, and in some cases, even if done correctly, the window reappears. In these circumstances, after force quitting Safari, turn off Wi-Fi or disconnect Ethernet, depending on how you connect to the Internet. Then relaunch Safari normally. It will try to reload the malicious webpage, but without a connection, it won't be able to. Navigate away from that page by entering a different URL, i.e. www.apple.com, and trying to load it. Now you can reconnect to the Internet, and the page you entered will appear rather than the malicious one.

  • I have just redeemed my iTunes card of 25 dollars, I have 23 dolIars left now, I tried downloading a few songs later, but it says something along the lines of credit mismatch mobile message, I can't download anything with credit. How do I fix the problem?

    I really need help, I purchased an iTunes card about an hour ago and downloaded two things, I tried to download a couple songs but it won't let me, every time I try it says something along the lines of credit mismatch mobile message. How do I fix this? It says I have 23 dollars left but it's not working. How do I fix the problem? Please help!

    its very annoying but you have to log out of your account. than try to buy the sone. it will ask you to sign in. do it. the sond will start to download. it only works once, so you have to do it over and over for every song :/

  • Hi, I am having trouble with my Internet on my Macbook. Every time I try and go to a site it has a pop up block that says something along the lines of "Safari can't verify the identity of the website."

    Below that there is more, it says," The certificate for this website is invalid. You might be connecting to a website that is pretending to be (Whatever the name of the site is) which could put your confidential info at risk. Would you like to connect to the website anyway?" and it give the options of show certificate, cancel, and continue. But the thing i dont understand is that it does this for basically EVERY page i visit. even facebook. and when i click "continue" it alows me to go to the page but limits what i can do and only shows certain things. i'm very frusterated with it. Help Me!

    This issue was resolved! I didnt think about restoring my computer to factory settings but I did and now my computer works like brand new. basically, just back up your files and do the following:
    http://www.youtube.com/watch?v=yPmT5Xbb8p0

  • My iPod Classic is not syncing to my Mac. When I plug it in, it tells me the servers do not support it or something along those lines. It is an iPod Classic 8g, and I bought it used for 30. Any help????

    Today I bought an iPod Classic 8gb for 30 quid. When I bought it (used) of of a friends, it played music fine, I could listen to it, and it worked ok. So I go home to reset it so I can put my account on it, and sync it with all my music I have (I want to use it when I hit the gym instead of using my iPhone), but when I plugges it in and restored it, it finished the restoration but NOW it wont let me sync all of my stuff on to it, and the iPod is completely black. I restored it to Factory settings, it shouldnt be doing this???? When I plug it in , I get an error that says
    "The iPod software update server could not be contacted. The server does not support this version of iTunes."
    Makes me pretty ticked off, like honestly how ******* old is this ******* iPod???
    Im also running version 10.9 on my MacBook Pro
    Picture: http://imgur.com/nTeiJzO

    Perhaps the reason you haven't had any replies is because there is no such thing as an 8GB iPod Classic.
    I suggest that you begin by correctly identifying which iPod you have.
    http://support.apple.com/kb/HT1353

  • Every time I try to download a game onto my phone, there's a pop-up which reads "the item requested is not available in your country" or something along those lines.  Does anyone know what the problem is and how I can fix it?

    I can download games onto my iphone 5 cause it says the items are not available in my country (south Africa) is there something I can do?

    Other than moving to a country where the apps you want are available, there is no fix.

  • Problem!!! Moving point along the line

    hi,
    I need to move the point along the line. I want move this point using mouse.
    My program draws a line and a point that' s on this line.
    Could someone help me.

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class TraverseAgain extends JPanel {
        Point2D.Double[] points;
        Point2D.Double p1;
        Point2D.Double p2;
        /** An endPoint of one of the lines is being moved. */
        public void setEndPoint(int index, double x, double y) {
            int start;
            double ratio;
            switch(index) {
                case 0:
                    start = index == 0 ? 1 : 0;
                    ratio = getRatio(p1, start, index);
                    resetMidPoint(p1, points[start], x, y, ratio);
                    break;
                case 1:
                    start = index == 0 ? 1 : 0;
                    ratio = getRatio(p1, start, index);
                    resetMidPoint(p1, points[start], x, y, ratio);
                    start = index == 1 ? 2 : 1;
                    ratio = getRatio(p2, start, index);
                    resetMidPoint(p2, points[start], x, y, ratio);
                    break;
                case 2:
                    start = index == 1 ? 2 : 1;
                    ratio = getRatio(p2, start, index);
                    resetMidPoint(p2, points[start], x, y, ratio);
                    break;
                default:
                    System.out.println("illegal index: " + index);
            points[index].setLocation(x, y);
            repaint();
         * Design assumption/decision:
         * Preserve this ratio when repositioning a midPoint between the
         * end points of its line when one of the end points is being moved.
        private double getRatio(Point2D.Double p, int start, int end) {
            double d1 = points[start].distance(p);
            double d2 = points[start].distance(points[end]);
            return d1 / d2;
        private void resetMidPoint(Point2D.Double p, Point2D.Double end,
                                   double x, double y, double ratio) {
            double dy = y - end.y;
            double dx = x - end.x;
            double theta = Math.atan2(dy, dx);
            double length = end.distance(x, y);
            x = end.x + length*ratio*Math.cos(theta);
            y = end.y + length*ratio*Math.sin(theta);
            p.setLocation(x, y);
        /** A midPoint is being moved. */
        public void setMidPoint(int number, double x, double y) {
            switch(number) {
                case 1:
                    double dx = points[1].x - points[0].x;
                    double dy = points[1].y - points[0].y;
                    if(points[0].x < x && x < points[1].x ||
                       points[1].x < x && x < points[0].x)
                        y = points[0].y + (x - points[0].x)*(dy / dx);
                    else if(points[0].y < y && y < points[1].y ||
                            points[1].y < y && y < points[0].y)
                        x = points[0].x + (y - points[0].y)*(dx / dy);
                    else
                        return;
                    p1.setLocation(x, y);
                    break;
                case 2:
                    dx = points[2].x - points[1].x;
                    dy = points[2].y - points[1].y;
                    if(points[1].x < x && x < points[2].x ||
                       points[2].x < x && x < points[1].x)
                        y = points[1].y + (x - points[1].x)*(dy / dx);
                    else if(points[1].y < y && y < points[2].y ||
                            points[2].y < y && y < points[1].y)
                        x = points[1].x + (y - points[1].y)*(dx / dy);
                    else
                        return;
                    p2.setLocation(x, y);
                    break;
                default:
                    System.out.println("illegal number " + number);
            repaint();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            if(points == null)
                initGeoms();
            g2.setPaint(Color.blue);
            for(int j = 1; j < points.length; j++)
                g2.draw(new Line2D.Double(points[j-1].x, points[j-1].y,
                                          points[j].x,   points[j].y));
            g2.setPaint(Color.red);
            for(int j = 0; j < points.length; j++)
                mark(points[j], g2);
            g2.setPaint(Color.green.darker());
            mark(p1, g2);
            mark(p2, g2);
        private void mark(Point2D.Double p, Graphics2D g2) {
            g2.fill(new Ellipse2D.Double(p.x-2, p.y-2, 4, 4));
        private void initGeoms() {
            int w = getWidth();
            int h = getHeight();
            points = new Point2D.Double[3];
            points[0] = new Point2D.Double(w/4, h/3);
            points[1] = new Point2D.Double(w/16, h/2);
            points[2] = new Point2D.Double(w*13/15, h*3/4);
            double cx = points[0].x + (points[1].x - points[0].x)/2;
            double cy = points[0].y + (points[1].y - points[0].y)/2;
            p1 = new Point2D.Double(cx, cy);
            cx = points[1].x + (points[2].x - points[1].x)/2;
            cy = points[1].y + (points[2].y - points[1].y)/2;
            p2 = new Point2D.Double(cx, cy);
        public static void main(String[] args) {
            TraverseAgain test = new TraverseAgain();
            PointMover mover = new PointMover(test);
            test.addMouseListener(mover);
            test.addMouseMotionListener(mover);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class PointMover extends MouseInputAdapter {
        TraverseAgain traverseAgain;
        int selectedEndIndex = -1;
        int selectedMidNumber = -1;
        Point2D.Double offset = new Point2D.Double();
        boolean dragging = false;
        final int MIN_DIST = 5;
        public PointMover(TraverseAgain ta) {
            traverseAgain = ta;
        public void mousePressed(MouseEvent e) {
            Point p = e.getPoint();
            Point2D.Double[] points = traverseAgain.points;
            for(int j = 0; j < points.length; j++) {
                if(points[j].distance(p) < MIN_DIST) {
                    selectedEndIndex = j;
                    rigForDrag(points[j], p);
                    break;
            if(selectedEndIndex == -1) {
                if(traverseAgain.p1.distance(p) < MIN_DIST) {
                    selectedMidNumber = 1;
                    rigForDrag(traverseAgain.p1, p);
                } else if(traverseAgain.p2.distance(p) < MIN_DIST) {
                    selectedMidNumber = 2;
                    rigForDrag(traverseAgain.p2, p);
        private void rigForDrag(Point2D.Double p, Point loc) {
            offset.x = loc.x - p.x;
            offset.y = loc.y - p.y;
            dragging = true;
        public void mouseReleased(MouseEvent e) {
            dragging = false;
            selectedEndIndex = -1;
            selectedMidNumber = -1;
        public void mouseDragged(MouseEvent e) {
            if(dragging) {
                double x = e.getX() - offset.x;
                double y = e.getY() - offset.y;
                if(selectedEndIndex != -1)
                    traverseAgain.setEndPoint(selectedEndIndex, x, y);
                else
                    traverseAgain.setMidPoint(selectedMidNumber, x, y);
    }

  • I'm not a US Citizen, can I get paid by apple using an US account? (Is necessary to provide any tax number or something like that?)

    Hi! I'm from Argentina (I mean, I'm not an US Citizen), I have an account in a US bank. I would like to receive my payments there because I want to receive my payments in US dollars (the banks from my country will possible convert the currency to argentinian pesos and I don't want that). Can I do that or do I need to provide some number only US citizens have to pay some taxes or something like that? I registered one year ago as an apple developer and I remember there was a number I didn't have so I needed to follow another procedure to register as an apple developer from Argentina.
    Thank you very much!

    So far, the best anyone has been able to gather, you must be a current AT&T customer in good standing to qualify for unlocking. If you are not an active AT&T customer, they will not unlock your phone. This is in line with the policies of other carriers around the world who offer unlocking.
    The unlock is acheived by restoring the phone in iTunes. If you have jailbroken your phone, the restore may well brick your phone entirely.

  • ITunes unable to recognize iPod, error message along the lines if "iTunes has detected an iPod but unable to recognise" I have followed all the trouble shooting tips and am still stuck? I am now being told by a friend I need a link sent to me to fix this

    Hi,
    I am need of help! I have had this issue for a while now and it's becoming frustrating.
    My iTunes installed on my HP Windows 8 Netbook is unable to recognize my iPod, the error message along the lines of "iTunes has detected an iPod but unable to recognise"
    I have followed all the trouble shooting tips and am still stuck? I am now being told by a friend I need a link sent to me to fix this??
    Someone please help me fix this problem.
    Many thanks.
    Matt.

    Hi
    So just close iTunes and re-open iTunes thats it and that worked for you?
    When you say reset your settings do you mean to factory settings? As my iPod was swapped at the store for a new one and the problem is still there...
    Thanks.

  • Opening Balance to be displayed along with line items

    Dear Experts,
    Is there any way to display Opening Balance for a particular GL along with LIne Items. FS10N only provides Period wise opening balance and line items. If I have to select the line items for a GL in the middle of the period and see the opening balance, how is it possible. In FBL3N i am able to see only line items and no opening balance.
    Any suggestions.......................
    Raj.

    Hello,
    FS10N you will see the balance and then double click on that to see line item. Again at line items you will not see the opening balance. There is no such facility.
    If you want period wise balances, then go with
    S_ALR_87012172 report.
    Regards,
    Ravi

  • That line where you can see your bookmarks and stuff is gone..! how do i get it back?

    my laptop is 93.1 % filled up so its working pretty slow.. i was on a website and i tried right clicking (i needed to copy something) and the computer was to slow so it didnt work. (this has happend before). so i tried right clicking a couple of times and before i new it that line where you can see your bookmarks(and other stuff) was gone.! i tried right clicking again to see if i could get it back, but it didnt work. so i tried turning off the computer and it still didnt work. how do i get it back? and if i get it back, will all my bookmarks be gone?

    Firefox 3.6+ versions have a feature to allow the user to hide the Menu bar.
    Hit the '''Alt''' key to temporarily show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark. <br />
    The F10 can also be used on most PC's to temporarily reveal the Menu bar.
    https://support.mozilla.com/en-US/kb/Menu+bar+is+missing

  • Sales order item assignemnt block ,if we click edit extra blank line on items level i want remove that line how to do it?

    Hi Team,
    Sales order item assignemnt block ,if we click edit ,Item assignment block extra blank line on items level is showing , i want remove that line how to do it?
    Thanks&regards
    Kalpana

    Hi Ravi,
    With the help of Dharmakasi Thotakura...
    As suggested to do changes in DO_INITCONTEXT and GET_I_T_TABLE methods ....i have implemented these two methods...Now problem only one column ITEM_NO will be disabled  remaining cloumns not disabled...i want to disable entire column including ACTION column also..Action Column contains INSERT and DELETE buttons.how to do it?
    METHOD
    do_init_context.
    CALL METHOD SUPER->DO_INIT_CONTEXT.
    DATA : lr_ent TYPE REF TO cl_crm_bol_entity,
    lr_btadminh TYPE REF TO cl_crm_bol_entity,
    lv_object_id TYPE string,
    lo_context TYPE REF TO /RCRM/15IT__ITEMS_CN00.
    * gv_flag TYPE crmt_boolean.
    lr_ent ?= me->typed_context->btitems->collection_wrapper->get_current( ).
    lr_btadminh ?= lr_ent->get_parent( ).
    lv_object_id = lr_btadminh->get_property_as_string( iv_attr_name = 'OBJECT_ID' ).
    lo_context ?= me->typed_context->btadmini.
    clear lo_context->gv_flag.
    IF lv_object_id IS NOT initial.
    lo_context->gv_flag = abap_true.
    ELSE.
    CLEAR lo_context->gv_flag.
    ENDIF.
    ENDMETHod
    METHOD
    get_i_t_table.
    CALL METHOD super->get_i_t_table
    EXPORTING
    index = index
    component = component
    RECEIVING
    rv_disabled = rv_disabled.
    DATA: lv_component TYPE name_komp,
    lo_entity TYPE REF TO cl_crm_bol_entity,
    lo_property TYPE REF TO cl_crm_bol_entity,
    lv_string TYPE string.
    IF rv_disabled = 'FALSE'.
    lv_component = component.
    lo_property ?= collection_wrapper->find( iv_index = index ).
    lo_entity ?= lo_property.
    lv_string = lo_entity->get_property_as_string( iv_attr_name = lv_component ).
    IF lv_string IS INITIAL or lv_string = '0000000000'.
    IF gv_flag IS NOT INITIAL.
    rv_disabled = 'TRUE'.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDMETHOD.
    Thanks
    Kalpana

  • Iterate along a line point by point

    Hey,
    Is there a way to follow a Line2D point by point? If the line is declared like this:
    Point p1 = new Point(200, 20);
    Point p2 = new Point(200, 40);
    Line2D.Double line = new Line2D.Double(p1, p2);then it's easy to know what the next step on the line is, since the line is vertical. All I'll have to do is to start at one point (e.g. p1) and iterate 20 steps on the y-axis from 20 to 40, always knowing that I'm on the line.
    But how can I iterate along a line point by point, if the line is declared like this:
    Point p1 = new Point(130, 47);
    Point p2 = new Point(200, 89);
    Line2D.Double line = new Line2D.Double(p1, p2);Thanks in advance!

    But how can I iterate along a line point by point, if
    the line is declared like this:
    Point p1 = new Point(130, 47);
    Point p2 = new Point(200, 89);
    Line2D.Double line = new Line2D.Double(p1, p2);Thanks in advance!Let's not get too complicated. Just write an equation for an x and y intercept and decide by how much do you want to iterate.

  • Whenever I click on something whether on line or in a document, a pop-up appears asking what I want to do, e.g., copy, cut, etc.  How do I stop these pop-ups?

    henever I click on something whether on line or in a document, a pop-up appears asking what I want to do, e.g., copy, cut, etc.  How do I stop these pop-ups?

    That's normal right-click behavior, if it's happening when you left-click, the first thing to check would be whether the setting got reversed in System Preferences > Mouse.            

Maybe you are looking for