HackerProgrammingBook_part_10 by Flavio_Bernardotti

VIEWS: 397 PAGES: 117

									Hacker Programming Book


Parte X
Varie




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


L’uso di Java in rete
Vi chiederete come mai a questo punto mettiamo in baloo anche Java.
Una delle funzioni fondamentali legate all’hacker è quella di sapere sempre in qualsiasi
circostanza dimenticare con le funzioni di trasmissione sulla rete.
Negli appositi capitoli abbiamo parlato di SOCKETS, WINSOCKET e di classi scritte
mediante il C/C++ usando queste funzioni.
I socket come abbiamo già visto sono in pratia dei canali che permettono a due punti
geograficamente remoti di comunicare tramite riferimenti che vengono settati e poi aperti
mediante le varie funzioni socket pesenbti nelle varie librerie di sistema legate al sistema
operativo specifico.
Esistono dei casi in cui diventa necessario poter gestire i vari protocolli di rete.
Queste esigenze spesso capitano sul campo di battaglia ovvero quando non c’e’ la
possibilità di mettersi li e compilare un programma.
Java negli ultimi anni è stato reso disponibile per qualsiasi ambiente e comqunue rimane
un linguaggio funzionale indipendentemente dal sistema su cui gira.
In altre parole un programma scritto in Java funzionerà senza modifiche sotto Unix alo
stesso modo di quanto funziona sotto Windows.
L’esempio che ho deciso di riportare l’ho scritto con la finalità di esporre l’uso delle
funzioni socket collegate alla gestione dei vari protocolli come SMTP, FTP ecc.
Il grosso successo di Java dipende sicuramente dal fatto che la pubblicità’ fattagli lo
elegge a linguaggio per eccellenza per lo sviluppo di software per Internet.
Lo stesso discorso e’ avvenuto con il protocollo TCP/IP la cui la strabiliante popolarità’ e’
derivata anche in questo caso al suo legame con Internet.
Spesso il troppo parlare di certe cose fa nascere dei miti che alcune volte portano ad
esagerare sulla vera essenza di una cosa oppure spingono a utilizzare delle parole senza
di fatto conoscerne il vero significato.
Java e TCP/IP costituiscono due esempi di un caso e dell’ altro.
Il primo e’ stato talmente pubblicizzato legato a Internet che sembra quasi che l’ unico
problema relativo alla scrittura di software per questa ultima sia quella di installare il
compilatore.
Una volta poi installato il tutto iniziano le varie “santificazioni” quando ci si accorge che il
tutto non era poi cosi semplice in quanto iniziano a sorgere un infinita di “…questo non e’
possibile farlo perché il gestore della sicurezza non permette di …”, “…non e’ permessa
la scrittura su host perché…”, “…il protocollo ha problemi se si usano streams di …”, ecc.
Il secondo caso invece e’ costituito dal fatto che tutti parlano di TCP/IP ma pochi
conoscono bene come questo funziona.
Le filosofie orientali legate allo Zen (e all’ arte di programmare) parlano di “medianita’”
ovvero della ricerca del punto di equilibrio.
Alcuni concetti a volte sono veramente complessi e la loro conoscenza totale porterebbe
ad impiegare eccessive forze in relazione agli obbiettivi che ci si prefiggono.
Prendiamo ad esempio il protocollo TCP/IP (Transmission Control Protocol/Internet
Protocol).
La conoscenza globale pretenderebbe uno sforzo notevole in quanto l’ argomentazione e’
veramente complessa soprattutto se si scende a livello di progettazione.
In ogni caso una buona conoscenza di alcuni principi di base permette di sopperire ad
alcuni problemi che sorgono utilizzando Java in ambiente Internet.
Infatti alcune limitazioni relative agli applets sono veramente pesanti quali ad esempio
quelle legate all’ impossibilita’ di leggere e scrivere files ecc.
Per rinfrescare la memoria riassumiamo qui le principali limitazioni di un applet.

1. Java puo usare solo il proprio codice e non puo’ supportarsi su librerie esterne o
utilizzare codice nativo di altra natura quali ad esempio il linguaggio C.
2. Un applet non puo’ leggere o scrivere files. Nel caso della lettura alcuni browser la
permettono utilizzando la specifica URL al posto del nome file (vedi a seguito la parte
dedicata alle URL). La scrittura di file invece puo’ avvenire mediante tecniche di
programmazione client/server tramite l’ utilizzo dei socket (vedi anche in questo caso il
capitolo piu’ avanti dedicato ai socket).
3. Una applet non può creare connessioni eccetto che con l’ host da cui proviene.
4. Non puo’ eseguire programmi sull’ host.
5. Non gli e’ permesso richiedere informazioni su alcune proprieta’ del sistema.


Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

6. Una dialog creata da un applet riporta la scritta che avvisa che la finestra e’ di
proprieta’ dell’ applet stessa al fine di evitare la simulazione, ad esempio, di maschere in
cui vengono richieste password e codici d’ accesso ad insaputa dell’ utente.


La conoscenza del funzionamento del protocollo e delle classi di rete permette di aggirare
gli ostacoli che si creano a seguito delle precedenti limitazioni.
Innanzi tutto : che cosa sono i protocolli ?
I protocolli di comunicazione nascono dall’ esigenza di trasmettere dati su delle linee di
comunicazione di diversa natura, controllandone la correttezza, in diversi ambienti, con un
numero indefinito di partecipanti, con ambienti operativi differenti ecc.
Inizialmente la problematica principale nasceva dall’ esigenza di controllare la correttezza
dei dati trasmessi tra due sistemi collegati punto a punto.
In pratica semplificando si potrebbe dire :

“Io ti trasmetto un numero X di dati in sequenza e mano mano che li invio eseguo la loro
sommatoria. Finito di trasmetterteli ti invio la somma che ho calcolato. Tu mentre ricevi i
dati da me inviati esegui la stessa somma. Se il valore che ti ho comunicato io alla fine e’
uguale a quello che hai calcolato mentre ricevevi dimmi di proseguire nell’ invio dei
pacchetti se non avvertimi dell’ errore e fammi ripetere l’ invio degli stessi dati.”

Questo era valido nel caso di connessioni fisiche punto a punto.
Quando le connessioni iniziarono a riguardare reti con piu’ partecipanti il problema si
estese in quanto il pacchetto che prima conteneva soltanto i dati e la somma per la
verifica della correttezza dovette essere estesa includendo all’ interno di essa anche i dati
relativi all’ indirizzo del mittente q uello del destinatarioi.
Questo detto in tono semplicistico per far comprendere il principio di base dei protocolli.
Introduzione alla programmazione di rete con Java
Fino ad ora abbiamo visto alcuni concetti legati alla strutturazione di una rete sia dal punto
di vista logico che da quello fisico.
In java.net ritroviamo un insieme di classi utilizzate dal TCP come ad esempio la classe
URL, la classe URLConnection, la classe Socket e la classe ServerSocket.
Altre classi come ad esempio la classe DatagramPacket, la classe DatagramSocket e
quella MulticastSocket sono utilizzate dal protocollo UDP.

Java e le sue classi rete
In Java esiste un insieme di classi che permettono molte funzionalita’ legate agli indirizzi di
rete ed ad alcuni protocolli utilizzati a certi livelli.
La maggior parte di queste classi sono definite dentro al package

java.net

Altre, come ad esempio quelle che si interessano dei protocolli FTP, SMTP ecc. sono nel
package

sun.net

Al fine di poter utilizzare a livello pratico tutti gli argomenti trattati prenderemo in
considerazione la




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book



progettazione di un software e precisamente un applet che permettera’ un certo
numero di funzionalita’ comunque legate ai concetti di rete.
Quando un utente si collega ad un sito e visualizza le pagine presente su questo
potrebbe trovarsi dinanzi ad diverse esigenze che lo costringerebbero a ricercare ed a
caricare degli altri software.

Il software di cui vedremo la progettazione dovrebbe permettere :

1.     Invio di messaggi all’ host senza utilizzare mailer esterni
2.     Utilizzo di una sessione FTP per prelevare dei file dal l’ host
3.     Connessione ad hosts selezionandoli da una lista proposta
4.     Ricerche su motori di ricerca senza uscire dalla pagina
5.     Indicizzazioni di strutture di pagine html alla fine della ricerca di vocaboli o frasi.

Mediante lo sviluppo di queste funzioni verranno viste alcune classi legate ai protocolli
e all’ utilizzo di alcune risorse.

Tra le classi utilizzate ci sono la classe sun.net.ftp, la sun.net.smtp
Questo primo pezzo di programma e’ quello che crea il frame principale e, mediante un
gestore di layout a schede, permette la navigazione tra le diverse funzionalita’ del
programma.
Il gestore di layout a schede e’ quello in cui lo “sfondo” rimane sempre invariato e gli
oggetti presentati sull’ interfaccia utente vengono inseriti selezionando la maschera
adatta mediante dei tabulatori.
L’ interfaccia compatibile alle versioni 1.0 e 1.1 del JDK messa a confronto con lo
stesso gestore di layout di Windows e’ abbastanza rustica.
Prima di vedere il codice vero e proprio diamo un occhiata alla specifica APPLET
dentro al file HTML.

<applet code="javaCenter.class" align="baseline" width="8" height="19" alt="The
appletUtil Applet" name="javaCenter">
<param name="firstpage" value="appletUtil.html">
<param name="mailto" value="flavio@bernardotti.al.it">
<param name="mailhost" value="www.bernardotti.al.it"></applet>

Il primo parametro, firstpage, specifica da quale pagina iniziare la ricerca dei vocaboli o
delle frasi specificate nella funzione di ricerca dell’ applet.
Gli altri due parametri, mailto e mailhost, specificano rispettivamente l’ indirizzo a cui
inviare le mail e il server da utilizzare per l’ invio.
Vediamo ora la prima parte del programma.

•      Parte 1 file javaCenter.java

// ---------------------------------------------------------------------------------------
// import delle classi utilizzate
// ---------------------------------------------------------------------------------------

import         java.applet.*;
import         java.applet.Applet;
import         java.awt.*;
import         java.awt.image.*;
import         java.awt.event.*;
import         java.lang.reflect.*;
import         java.net.*;
import         java.util.*;
import         java.io.*;
import         sun.net.smtp.*;
import         sun.net.ftp.*;
import         sun.net.*;

// ---------------------------------------------------------------------------------------
// Gestisce il FRAME principale
// ---------------------------------------------------------------------------------------

class javaCenterFrame extends Frame implements ActionListener, WindowListener




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

{
           private String m_mailhost;
           private String m_mailto;
           private String m_ftpserver;
           private String m_firstpage;
           private Applet applet;
           private Panel tabs;
           private Panel cards;
           private CardLayout layout;

           // ---------------------------------------------------------------------------------------
           // pulsanti legati alla gestione dello scorrimento delle pagine contenenti
           // le varie funzioni.
           // ---------------------------------------------------------------------------------------

           private Button first;
           private Button last;
           private Button previous;
           private Button next;
           private Button ftp;
           private Button smail;
           private Button search;
           private Button link;
           private Button cerca;

           // ---------------------------------------------------------------------------------------
           // Costruttore. I parametri sono quelli che la classe principale reperisce tra
           // gli argomenti specificati nella pagina HTML
           // ---------------------------------------------------------------------------------------

          public javaCenterFrame(Applet applet, String m_mailhost, String m_mailto, String m_ftpserver, String
m_firstpage)
          {
                     super("javaCenter v1.0");

                        this.applet = applet;
                        this.m_mailhost = m_mailhost;
                        this.m_mailto = m_mailto;
                        this.m_ftpserver= m_ftpserver;
                        this.m_firstpage= m_firstpage;

                        // ---------------------------------------------------------------------------------------
                        // Crea i pulsanti che permettono la navigazione tra i pannelli in cui sono presenti le varie
funzioni
                        // gestite dal programma.
                        // ---------------------------------------------------------------------------------------

                        tabs = new Panel();

                        first = new Button("<<");
                        tabs.add(first);
                        previous = new Button("<");
                        tabs.add(previous);
                        smail = new Button("Invia mail");
                        tabs.add(smail);
                        search = new Button("Esegui ricerche");
                        tabs.add(search);
                        link = new Button("Links");
                        tabs.add(link);
                        ftp = new Button("FTP");
                        tabs.add(ftp);
                        cerca = new Button("Cerca su host");
                        tabs.add(cerca);
                        next = new Button(">");
                        tabs.add(next);
                        last = new Button(">>");
                        tabs.add(last);

                        add("North", tabs);


                        // ---------------------------------------------------------------------------------------
                        // registra i vari pulsanti alla funzione che intercetta gli eventi dalla quale avvengono le
chiamate
                        // ai vari moduli. Vedi actionPerformed()
                        // ---------------------------------------------------------------------------------------

                        ftp.addActionListener(this);
                        link.addActionListener(this);
                        first.addActionListener(this);
                        last.addActionListener(this);
                        previous.addActionListener(this);
                        next.addActionListener(this);
                        smail.addActionListener(this);
                        search.addActionListener(this);
                        cerca.addActionListener(this);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


                        cards = new Panel();

                        // ---------------------------------------------------------------------------------------
                        // Stabilisce che il gestore del layout e’ a schede
                        // ---------------------------------------------------------------------------------------

                        layout = new CardLayout();

                        cards.setLayout(layout);

                        // ---------------------------------------------------------------------------------------
                        // Stabilisce per ogni pannello le funzioni assegnandogli la classe che dovra’
                        // essere creata e richiamata a seconda della selezione fatta.
                        // ---------------------------------------------------------------------------------------

                        cards.add("Invia mail", new javaCenterSendMail(applet, m_mailhost, m_mailto));
                        cards.add("Esegui ricerche", new javaCenterSearch(applet));
                        cards.add("Links", new javaCenterLinks(applet));
                        cards.add("FTP", new javaCenterFTP(m_ftpserver));
                        cards.add("Cerca su host", new javaCenterSHost(m_firstpage, applet));

                        add("Center", cards);

                        setBackground(Color.lightGray);

                        addWindowListener(this);

                        pack();
                        setSize(500, 360);
                        setVisible(true);
            }

            // ---------------------------------------------------------------------------------------
            // Intercetta gli eventi che avvengono sugli oggetti precedentemente registrati
            // ---------------------------------------------------------------------------------------

            public void actionPerformed(ActionEvent e)
            {
                       String selected = e.getActionCommand();

                        if(selected.equals("<<")) { layout.first(cards); return; }
                        if(selected.equals(">>")) { layout.last(cards); return; }
                        if(selected.equals("<")) { layout.previous(cards); return; }
                        if(selected.equals(">")) { layout.next(cards); return; }
                        if(selected.equals("Invia mail")) { layout.show(cards, "Invia mail"); return; }

                        if(selected.equals("Esegui ricerche")) { layout.show(cards, "Esegui ricerche"); return; }

                        if(selected.equals("About")) { layout.show(cards, "About"); return; }
                        if(selected.equals("Links")) { layout.show(cards, "Links"); return; }
                        if(selected.equals("FTP")) { layout.show(cards, "FTP"); return; }
                        if(selected.equals("Cerca su host")) { layout.show(cards, "Cerca su host"); return; }


            }


            // ---------------------------------------------------------------------------------------
            // Intercetta l’ evento di chiusura della finestra
            // L’ implementazione di windowListener pretende che comunque siano presenti
            // le diachiarazioni degli altri metodi.
            // ---------------------------------------------------------------------------------------

            public      void           windowClosing(WindowEvent e) {                               dispose(); }
            public      void           windowOpened(WindowEvent e) {}
            public      void           windowClosed(WindowEvent e) {}
            public      void           windowDeiconified(WindowEvent e) {}
            public      void           windowDeactivated(WindowEvent e) {}
            public      void           windowActivated(WindowEvent e) {}
            public      void           windowIconified(WindowEvent e) {}

}

// ---------------------------------------------------------------------------------------
// Classe principale del programma (entry point)
// Recupera i parametri specificati nel file HTML se no utilizza quelli di default
// specificati nella dichiarazione delle variabili
// ---------------------------------------------------------------------------------------

public      class       javaCenter extends Applet
{
            private String m_mailhost                 = "www.bernardotti.al.it";
            private String m_mailto                   = "flavio@bernardotti.al.it";
            private String m_ftpserver                = "www.bernardotti.al.it";
            private String m_firstpage                = "index.html";




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


           private final String PARAM_mailhost = "mailhost";
           private final String PARAM_mailto          = "mailto";
           private final String PARAM_ftpserver= "ftpserver";
           private final String PARAM_firstpage= "firstpage";

           // ---------------------------------------------------------------------------------------
           // Recupera un argomento specifico
           // ---------------------------------------------------------------------------------------

           String GetParameter(String strName, String args[])
           {
                     if (args == null)
                     {
                                 return getParameter(strName);
                     }

                          int i;
                          String strArg         = strName + "=";
                          String strValue = null;
                          int nLength = strArg.length();

                          try
                          {
                                         for (i = 0; i < args.length; i++)
                                         {
                                                       String strParam = args[i].substring(0, nLength);

                                                        if (strArg.equalsIgnoreCase(strParam))
                                                        {
                                                                    strValue = args[i].substring(nLength);
                                                                    if (strValue.startsWith("\""))
                                                                    {
                                                                                strValue = strValue.substring(1);
                                                                                if (strValue.endsWith("\""))
                                                                                            strValue = strValue.substring(0,
strValue.length() - 1);
                                                                        }
                                                                        break;
                                                        }
                                         }
                          }
                          catch (Exception e) {}

                          return strValue;
           }

           // ---------------------------------------------------------------------------------------
           // Recupera i tre argomenti assegnandoli ciascuno alla propria variabile
           // ---------------------------------------------------------------------------------------

           void GetParameters(String args[])
           {
                     String param = "";

                          param = GetParameter(PARAM_mailhost, args);
                          if (param != null)
                                     m_mailhost = param;
                          param = GetParameter(PARAM_mailto, args);
                          if (param != null)
                                     m_mailto = param;
                          param = GetParameter(PARAM_ftpserver, args);
                          if (param != null)
                                     m_ftpserver = param;
                          param = GetParameter(PARAM_firstpage, args);
                          if (param != null)
                                     m_firstpage = param;

           }

           public void init()
           {
                      GetParameters(null);
                      new javaCenterFrame(this, m_mailhost, m_mailto, m_ftpserver, m_firstpage);
           }
}


Dopo aver visto le classi principale e quella che gestisce il frame
interessiamoci di vedere al classe che presenta a video una lista di WEB
presenti in un file chiamato links.txt il quale viene identificato come una
risorsa, aperto, letto ed inserito dentro una lista da cui potra’ essere
selezionato.


Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

Il file conterra’ i dati relativi ai WEB nella forma :

WEB|DESCRIZIONE_WEB|


Ad esempio :

www.bernardotti.al.it|WEB di chi ha scritto questa romanza|
www.javasoft.com|Sito SUN dedicato al software Java|




Il file verra’ identificato come risorsa presente sul WEB mediante la
costruzione del suo URL.
Dopo averlo aperto mediante la classe stringTokenizer verra’ analizzato in
modo da suddividere la denominazione del sito dalla sua descrizione.

Mediante una classe di formattazione i dati verranno inseriti in una lista dalla
quale sara’ possibile selezionare il sito a cui connettersi.
La classe javaCenterForm proviene da una classe public domain trovata su
internet.
Il suo compito e’ quello di eseguire formattazioni tipo quelle fatte dalla printf() del C.
La riga di programma che utilizza tale classe per creare la riga da inserire
nella lista e’ la seguente :

lista.add(new javaCenterForm("%-40s").form(address) + " " + descrizione);

Mediante il metodo showDocument della classe applet verra’ aperta una
nuova pagina del browser con la pagina del sito scelto.

applet.getAppletContext().showDocument(u, "_blank");

•       Parte 2 file javaCenter.java
class       javaCenterForm
{
            public javaCenterForm(String s)
            {
                       width = 0;
                       precision = -1;
                       pre = "";
                       post = "";
                       leading_zeroes = false;
                       show_plus = false;
                       alternate = false;
                       show_space = false;




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                  left_align = false;
                  fmt = ' ';

                  int length = s.length();
                  int parse_state = 0;
                  int i = 0;

                  while (parse_state == 0)
                  {
                                if (i >= length)
                                              parse_state = 5;
                                else
                                              if (s.charAt(i) == '%') {
                                              if (i < length - 1) {
                                                           if (s.charAt(i + 1) == '%') {
                                                                        pre = pre + '%';
                                                                        i++;
                                                           }            else
                                                                        parse_state = 1;
                                              }
                                              else throw new java.lang.IllegalArgumentException();
                                }
                                else
                                              pre = pre + s.charAt(i);
                                i++;
                  }
                  while (parse_state == 1) {
                                if (i >= length) parse_state = 5;
                                else
                                              if (s.charAt(i) == ' ') show_space = true;
                                              else
                                                           if (s.charAt(i) == '-') left_align = true;
                                                           else
                                                                        if (s.charAt(i) == '+') show_plus = true;
                                                                        else
                                                                                     if (s.charAt(i) == '0') leading_zeroes = true;
                                                                                     else
                                                                                                 if (s.charAt(i) == '#') alternate = true;
                                                                                                 else { parse_state = 2; i--; }
                                i++;
                  }
                  while (parse_state == 2)
                  {
                                if (i >= length) parse_state = 5;
                                else if ('0' <= s.charAt(i) && s.charAt(i) <= '9')
                                {
                                              width = width * 10 + s.charAt(i) - '0';
                                              i++;
                                }
                                else if (s.charAt(i) == '.') {
                                              parse_state = 3;
                                              precision = 0;
                                              i++;
                                }
                                else
                                              parse_state = 4;
                  }
                  while (parse_state == 3)
                  { if (i >= length) parse_state = 5;
                  else if ('0' <= s.charAt(i) && s.charAt(i) <= '9')
                  { precision = precision * 10 + s.charAt(i) - '0';
                  i++;
                  }
                  else
                                parse_state = 4;
                  }
                  if (parse_state == 4)
                  { if (i >= length) parse_state = 5;
                  else fmt = s.charAt(i);
                  i++;
                  }
                  if (i < length)
                                post = s.substring(i, length);
       }

       public String form(String s)
       {
                  if (fmt != 's')
                               throw new java.lang.IllegalArgumentException();
                  if (precision >= 0)
                               s = s.substring(0, precision);
                  return pad(s);
       }


       private static String repeat(char c, int n)




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

       {
                   if (n <= 0) return "";
                   StringBuffer s = new StringBuffer(n);
                   for (int i = 0; i < n; i++) s.append(c);
                   return s.toString();
       }

       private static String convert(long x, int n, int m, String d)
       {
                  if (x == 0) return "0";
                  String r = "";
                  while (x != 0) {
                               r = d.charAt((int)(x & m)) + r;
                               x = x >>> n;
                  }
                  return r;
       }

       private String pad(String r)
       {
                  String p = repeat(' ', width - r.length());
                  if (left_align) return pre + r + p + post;
                  else
                               return pre + p + r + post;
       }

       private String sign(int s, String r)
       {
                  String p = "";
                  if (s < 0) p = "-";
                  else if (s > 0)
                  {
                               if (show_plus) p = "+";
                               else
                                            if (show_space) p = " ";
                  }
                  else
                  {
                               if (fmt == 'o' && alternate && r.length() > 0 && r.charAt(0) != '0') p = "0";
                               else if (fmt == 'x' && alternate) p = "0x";
                               else if (fmt == 'X' && alternate) p = "0X";
                  }
                  int w = 0;
                  if (leading_zeroes)
                               w = width;
                  else
                               if ((fmt == 'd' || fmt == 'i' || fmt == 'x' || fmt == 'X' || fmt == 'o') && precision > 0) w = precision;

                   return p + repeat('0', w - p.length() - r.length()) + r;
       }


       private String fixed_format(double d)
       {
                  String f = "";

                   if (d > 0x7FFFFFFFFFFFFFFFL) return exp_format(d);

                   long l = (long)(precision == 0 ? d + 0.5 : d);
                   f = f + l;

                   double fr = d - l; // fractional part
                   if (fr >= 1 || fr < 0) return exp_format(d);

                   return f + frac_part(fr);
       }

       private String frac_part(double fr)
       {
                  String z = "";
                  if (precision > 0) {
                              double factor = 1;
                              String leading_zeroes = "";
                              for (int i = 1; i <= precision && factor <= 0x7FFFFFFFFFFFFFFFL; i++) {
                                           factor *= 10;
                                           leading_zeroes = leading_zeroes + "0";
                              }
                              long l = (long) (factor * fr + 0.5);

                               z = leading_zeroes + l;
                               z = z.substring(z.length() - precision, z.length());
                   }

                   if (precision > 0 || alternate) z = "." + z;
                   if ((fmt == 'G' || fmt == 'g') && !alternate) {
                                int t = z.length() - 1;




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                       while (t >= 0 && z.charAt(t) == '0') t--;
                                       if (t >= 0 && z.charAt(t) == '.') t--;
                                       z = z.substring(0, t + 1);
                        }
                        return z;
            }

            private String exp_format(double d)
            {
                       String f = "";
                       int e = 0;
                       double dd = d;
                       double factor = 1;
                       while (dd > 10) { e++; factor /= 10; dd = dd / 10; }
                       while (dd < 1) { e--; factor *= 10; dd = dd * 10; }
                       if ((fmt == 'g' || fmt == 'G') && e >= -4 && e < precision)
                                    return fixed_format(d);

                        d = d * factor;
                        f = f + fixed_format(d);

                        if (fmt == 'e' || fmt == 'g')
                                     f = f + "e";
                        else
                                     f = f + "E";

                        String p = "000";
                        if (e >= 0)
                        {
                                    f = f + "+";
                                    p = p + e;
                        }
                        else
                        {
                                    f = f + "-";
                                    p = p + (-e);
                        }

                        return f + p.substring(p.length() - 3, p.length());
            }

            private int width;
            private int precision;
            private String pre;
            private String post;
            private boolean leading_zeroes;
            private boolean show_plus;
            private boolean alternate;
            private boolean show_space;
            private boolean left_align;
            private char fmt;
}

// ------------------------------------------------------------------------------------
// Classe che gestisce la lista di WEB consigliati e permette la connessione
// ------------------------------------------------------------------------------------

class       javaCenterLinks extends Panel implements ActionListener
{
            private Applet applet;
            private java.awt.List lista;
            private String inputLine;
            private TextField sito;

            public javaCenterLinks(Applet applet)
            {
                       super();

                        this.applet = applet;

                        setBackground(Color.lightGray);

                        setLayout(new BorderLayout());

                        Panel panel = new Panel();
                        panel.setLayout(new FlowLayout(FlowLayout.RIGHT));

                        Label strTmp = new Label("Lista siti segnalati.                        Connessione a :");
                        sito = new TextField("", 40);

                        panel.add(strTmp);
                        panel.add(sito);

                        add(panel, "North");

                        // ------------------------------------------------------------------------------------




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                      // Crea la risorsa list in cui verranno inseriti i siti letti dal file links.txt
                      // ------------------------------------------------------------------------------------

                    lista = new java.awt.List(20, false);
                      lista.setFont(new Font("Courier", Font.PLAIN, 10));
                      lista.setBackground(new Color(0,60,0));
                      lista.setForeground(new Color(0,255,0));
                      add(lista, "Center");

                      Button connetti = new Button("Connetti");
                      add(connetti, "South");
                      lista.removeAll();

                      setCursor(new Cursor(Cursor.WAIT_CURSOR));

                      try {
                                     // ------------------------------------------------------------------------------------
                                     // Crea un URL che punta alla “risorsa” file links.txt
                                     // Il file contiene il nome dell’ host e la su descrizione nella forma
                                     // NOME|DESCRIZIONE|
                                     // ATTENZIONE IL CARATTERE ‘|’ e’ ALT+124 (PIPE)
                                     // ------------------------------------------------------------------------------------

                                     URL tmpURL = new URL(applet.getDocumentBase(), "links.txt");
                                     DataInputStream cl = new DataInputStream(tmpURL.openStream());
                                     while ((inputLine = new String(cl.readLine())) != null) {

                                                    // ------------------------------------------------------------------------------------
                                                    // Legge linea dopo linea fino alla fine del file e mediante la classe
                                                    // stringTokenizer isola i due “token” che rappresentano
                                                    // l’ identificativo del WEB e la sua descrizione
                                                    // ------------------------------------------------------------------------------------

                                                    StringTokenizer database = new StringTokenizer(inputLine, "|");
                                                    String address = database.nextToken();
                                                    String descrizione = new String(database.nextToken());

                                                    // ------------------------------------------------------------------------------------
                                                    // Li inserisce nella lista dopo aver formattato la linea mediante
                                                    // la classe javaCenterForm
                                                    // ------------------------------------------------------------------------------------

                                                    lista.add(new javaCenterForm("%-40s").form(address) + " " + descrizione);
                                     }
                                     cl.close();
                      }
                      catch (IOException exc) { System.out.println(exc.toString());}
                      catch (Exception exc) { System.out.println(exc.toString());}

                      setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

                      // ------------------------------------------------------------------------------------
                      // Registra il pulsante “Connetti” in modo tale che possa essere intercettata
                      // la pressione di questo. Vedi actionPerformed()
                      // ------------------------------------------------------------------------------------

                      connetti.addActionListener(this);
       }



       // ------------------------------------------------------------------------------------
       // Intercetta le azioni avvenute sugli oggetti registrati
       // mediante la funzione oggetto.addActionListener(this);
       // ------------------------------------------------------------------------------------

       public void actionPerformed(ActionEvent e)
       {
                  String selected = e.getActionCommand();

                      if(selected.equals("Connetti")) {

                                     setCursor(new Cursor(Cursor.WAIT_CURSOR));

                                     String choiceString = new String(lista.getItem(lista.getSelectedIndex()));
                                     StringTokenizer database = new StringTokenizer(choiceString, " ");
                                     String connessione = database.nextToken();
                                     sito.setText(connessione);
                                     try {

                                                    // ------------------------------------------------------------------------------------
                                                    // Crea una risorsa URL data dal nome del sito
                                                    // e si connette aprendo una pagina nuova del brwser
                                                    // ------------------------------------------------------------------------------------

                                                    URL u = new URL(connessione);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                       applet.getAppletContext().showDocument(u, "_blank");
                            } catch (MalformedURLException exc) { System.out.println(exc.toString()); }

                            setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

                  }
         }
}




•    LA CLASSE URL


Una delle classi fondamentali, che abbiamo visto nel modulo precedente, e’
la classe URL.
La classe URL rappresenta un puntatore ad una risorsa presente su un WEB
la quale viene reperita utilizzando l’ Uniform Resource Locator.
Una risorsa potrebbe essere un normalissimo file o directory od un oggetto
piu’ complesso come ad esempio un interrogazione su un database.
Un URL normalmente viene suddiviso in due parti

HTTP://               www.bernardotti.al.it
Protocollo        Risorsa


La prima parte specifica il protocollo mentre la seconda la risorsa.
Esistono diversi costruttori mediante i quali e’ possibile creare una risorsa
URL.
Il piu’ semplice e’ il seguente :

URL sunSoft = new URL(“http://www.javasoft.com/”);

Esistono altri costruttori che permettono di specificare le risorse in modo differente, utilizzando anche il
numero di porta se necessario.
Ad esempio :

URL sunSoft = new URL(“http”, “www.javasoft.com”, “/index.html”);

e’ equivalente a

URL sunSoft = new URL(“http://www.javasoft.com/index.html”);

Ogni costruttore URL puo’ generare un eccezione legata al protocollo errato o alla risorsa sconosciuta.
L’ eccezione puo’ essere intercettata con il seguente costrutto :

try {
       URL sunSoft = new URL(“http://www.javasoft.com/”);
} catch(MalformedURLException e) { … handler all’ eccezione …}

La classe URL contiene inoltre diversi metodi destinati a ricevere informazioni
legate alla URL stessa.
Fate attenzione che non e’ detto che tutte le informazioni debbano essere
presenti.
Vediamo i seguenti metodi :
getProtocol()     Ritorna il protocollo
getHost()         Ritorna il nome dell’ host




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

getPort()            Ritorna il numero della porta o –1 se non e’ stata specificata durante la creazione
getFile()            Ritorna il nome del file


Alcune volte dopo che e’ stata creata un URL e’ possibile utilizzare il metodo openConnection() per
creare un collegamento tra il programma Java e l’ URL stesso.
Per esempio e’ possibile creare una connessione con un sito, Altavista ad esempio, mediante il
codice :
try {
               URL urlTmp = new URL("http://www.altavista.digital.com/");
               URLConnection urlCon = urlTmp.openConnection();
}
catch (MalformedURLException e) {}
catch (IOException e) {}

Se la connessione ha avuto successo questa potra’ essere utilizzata per funzioni di lettura e di
scrittura.
Molte funzioni legate al reperimento di immagini, suoni, files ecc. necessitano dell’ URL.
Ad esempio :

public Image getImage(URL url)
public Image getImage(URL url, String name)

I seguenti metodi mostrano alcuni esempi pratici.

Image image1 = getImage(getCodeBase(), "imageFile.gif");
Image image2 = getImage(getDocumentBase(), "anImageFile.jpeg");
Image                  image3                 =           getImage(new
URL("http://java.sun.com/graphics/people.gif"));
Esistono due metodi della classe Applet, utilizzati moltissime volte, che permettono di ricavare, in ordine
:

1.      L’ URL della pagina che chiama l’ applet
2.      L’ URL dell’ applet

Le funzioni sono in ordine :

Applet.getDocumentBase()
Applet.getCodeBase()

Come abbiamo appena visto i due metodi sono stati utilizzati nel punto in cui era necessario fornire
come argomenti l’URL dell’ host da cui era stato caricato l’ applet.

•       LA CLASSE URLConnection

Questa classe contiene molti metodi utili quando si lavora con URL HTTP.
Fate attenzione che si tratta di una classe astratta e quindi non puo’ essere istanziata
direttamente.
Invece di utilizzare un costruttore vedremo come puo’ essere utilizzato il metodo
openConnection() della classe URL
La seguente funzione mostra come eseguire la lettura sfruttando la classe URLConnection.
Esempio :

import java.net.*;
import java.io.*;

public class URLConnReadr {
              public static void main(String[] args) throws Exception {
                             URL tmpUrl = new URL("http://www.altavista.digital.com/");
                             URLConnection URLConn = tmpUrl.openConnection();
                             BufferedReader in = new BufferedReader( new
InputStreamReader(URLConn.getInputStream()));
                             String inputLine;
                             while ((inputLine = in.readLine()) != null) System.out.println(inputLine);
                             in.close();




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

            }
}

Nella classe URLConnection esistono un grosso numero di metodi e variabili.
Due di queste variabili e due metodi che settano queste variabili sono degni di nota in quanto
permettono di eseguire funzioni di input e di output sulla connessione creata.
In pratica le variabili sono :

doOutput
doInput

A seconda del valore che viene settato (true/false) si indica che l’ applet vuole eseguire, in
ordine, dell’ output e dell’ input sulla URLConnection.
Queste variabili possono essere settate dai metodi :

void setDoOutput(boolean)
void setDoInput(boolean)

Altri due metodi, uno visto nel codice in alto, permettono di ricavare rispettivamente un stream
di output ed uno di input dall’ URLConnection.
I due metodi sono :

OutputStream getOutputStream()
InputStream getInputStream()

•   LA CLASSE InetAddress

Esistono alcune classi che spesso risultano essere utili come ad esempio la InetAddress la
quale permette di creare e registrare degli indirizzi utilizzati da altre classi.
Quest’ ultima classe di fatto non possiede costruttori pubblici ma in compenso dispone di
diversi metodi statici che possono essere utilizzati per creare delle istanze della classe.
Tutti i metodi sono statici e devono essere utilizzati nel seguente modo.

InetAddress addr = InetAddress.getByName(“www.javasoft.com”);
InetAddress addr = InetAddress.getLocalHost();
InetAddress addr[] = InetAddress.getAllByName(“www.javasoft.com”);

Le precedenti funzioni generano un UnknownHostException se il sistema non e’ collegato a un
DNS.
Per DNS si intende Domain Name Server.
In altre parole il TCP/IP permette di far riferimento agli host di una rete mediante appositi nomi
invece di usare l’ indirizzo IP.
In pratica il DNS e’ il metodo che ci permette di riferirci ad un sistema quello che normalmente
costituito dal nomeHost.nomeDominio (i vari www.javasoft.com, www.bernardotti.al.it ecc.)
Inoltre la classe InetAddress include numerose variabili e funzioni per memorizzare indirizzi
host Internet.

public String hostName              Questa variabile contiene il nome dell’ host nella forma
                                    www.xx.yy
public int address                   L’ indirizzo numerico dell’ host (x.y.z.j)
public String localHostName         Contiene il nome dell’ host locale ovvero quello del
                                    computer su cui viene eseguita l’ applicazione.

Dopo questa panoramica sulla classe URL utilizzata nella prima parte del programma vediamo
una seconda parte ovvero quella che si interessa dell’ invio di messaggi all’ host.
La classe e’ suddivisa in due parti.
La prima crea la maschera video in cui viene richiesto di inserire l’ email del mittente e il testo
del messaggio.
Il server mail utilizzato per l’ invio viene specificato nei parametri della pagina HTML mediante
la voce

<param name=”mailhost” value=”www.bernardotti.al.it”>

La seconda parte e’ quella invece che si interessa della creazione del messaggio e del suo
invio.




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

Come abbiamo gia’ detto esiste una porta specifica, la 25 , che permette di comunicare con il
demone mail presente sul server.




Questo non significa che, dopo aver aperto un Socket su quella porta, tutto cio’ che verra’
scritto verra’ inviato come mail.
I dati scritti su tale socket dovranno essere formattati in un determinato modo per essere
considerati un messaggio valido e quindi per essere smistato.
Le informazioni dovrebbero avere la seguente formattazione :

HELO        host mittente
MAIL FROM: mittente
RCPT TO: ricevente
DATA
Messaggio (qualsiasi numero linee)
.
QUIT

Esiste una classe in sun.net.smtp che permette la gestione del messaggio.
Nel nostro modulo riscriveremo completamente la parte che si interessa della creazione e dell’
invio del messaggio in modo tale da vedere in funzione alcune classi legate alla gestione della
rete.


•      Parte 3 file javaCenter.java

// --------------------------------------------------------------------------------
// Classe che crea il messaggio e lo invia
// In pratica svolge le funzioni della classe sun.net.smtp
// --------------------------------------------------------------------------------

class javaCenterSmtp {
           static final int DEFAULT_PORT = 25;
           static final String EOL = "\r\n";

               protected DataInputStream reply = null;
               protected PrintStream send = null;
               protected Socket sock = null;

               public javaCenterSmtp( String hostid) throws UnknownHostException, IOException {
                          this(hostid, DEFAULT_PORT);
               }

               public javaCenterSmtp( String hostid, int port) throws UnknownHostException, IOException {

                              // --------------------------------------------------------------------------------
                              // Apre un socket sulla porta 25
                              // La porta 25 e’ relativa al demone di gestione mail
                              // --------------------------------------------------------------------------------

                              sock = new Socket( hostid, port );
                              reply = new DataInputStream( sock.getInputStream() );
                              send = new PrintStream( sock.getOutputStream() );
                              String rstr = reply.readLine();
                              if (!rstr.startsWith("220")) throw new ProtocolException(rstr);
                              while (rstr.indexOf('-') == 3) {
                                           rstr = reply.readLine();
                                           if (!rstr.startsWith("220")) throw new ProtocolException(rstr);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                    }
          }

          public javaCenterSmtp( InetAddress address ) throws IOException {
                     this(address, DEFAULT_PORT);
          }

          public javaCenterSmtp( InetAddress address, int port ) throws IOException {
                     sock = new Socket( address, port );

                    // --------------------------------------------------------------------------------
                    // Apre uno stream di input e uno di output
                    // Mediante quello di output invia le stringhe contenenti le
                    // formattazioni dei messaggi.
                    // Sulle stream di input legge le repliche.
                    // --------------------------------------------------------------------------------

                    reply = new DataInputStream( sock.getInputStream() );
                    send = new PrintStream( sock.getOutputStream() );
                    String rstr = reply.readLine();
                    if (!rstr.startsWith("220")) throw new ProtocolException(rstr);
                    while (rstr.indexOf('-') == 3) {
                                 rstr = reply.readLine();
                                 if (!rstr.startsWith("220")) throw new ProtocolException(rstr);
                    }
          }

          public void sendmsg( String from_address, String to_address, String subject, String message ) throws
IOException,
                              ProtocolException {

                    String rstr;
                    String sstr;

                    InetAddress local;
                    try {
                              local = InetAddress.getLocalHost();
                    }
                    catch (UnknownHostException ioe) {
                              System.err.println("No local IP address found - is your network up?");
                              throw ioe;
                    }

                    // --------------------------------------------------------------------------------
                    // Reperisce il nome del server mail e crea il testo formattato
                    // Per ogni stringa inviata mediante uno stream di output legge la replica
                    // utilizzando uno stream d’ input
                    // --------------------------------------------------------------------------------

                    String host = local.getHostName();
                    send.print("HELO " + host);
                    send.print(EOL);
                    send.flush();
                    rstr = reply.readLine();
                    if (!rstr.startsWith("250")) throw new ProtocolException(rstr);
                    sstr = "MAIL FROM: " + from_address ;
                    send.print(sstr);
                    send.print(EOL);
                    send.flush();
                    rstr = reply.readLine();
                    if (!rstr.startsWith("250")) throw new ProtocolException(rstr);
                    sstr = "RCPT TO: " + to_address;
                    send.print(sstr);
                    send.print(EOL);
                    send.flush();
                    rstr = reply.readLine();
                    if (!rstr.startsWith("250")) throw new ProtocolException(rstr);
                    send.print("DATA");
                    send.print(EOL);
                    send.flush();
                    rstr = reply.readLine();
                    if (!rstr.startsWith("354")) throw new ProtocolException(rstr);
                    send.print("From: " + from_address);
                    send.print(EOL);
                    send.print("To: " + to_address);
                    send.print(EOL);
                    send.print("Subject: " + subject);
                    send.print(EOL);

                    Date today_date = new Date();
                    send.print("Date: " + msgDateFormat(today_date));
                    send.print(EOL);
                    send.flush();

                    send.print("Comment: Unauthenticated sender");
                    send.print(EOL);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                              send.print("X-Mailer: JNet javaCenterSmtp");
                              send.print(EOL);

                              send.print(EOL);

                              send.print(message);
                              send.print(EOL);
                              send.print(".");
                              send.print(EOL);
                              send.flush();

                              rstr = reply.readLine();
                              if (!rstr.startsWith("250")) throw new ProtocolException(rstr);
               }

               // --------------------------------------------------------------------------------
               // Chiude il socket utilizzato
               // --------------------------------------------------------------------------------

               public void close() {
                          try {
                                             send.print("QUIT");
                                             send.print(EOL);
                                             send.flush();
                                             sock.close();
                              }
                              catch (IOException ioe) {}
               }

               protected void finalize() throws Throwable {
                         this.close();
                         super.finalize()
               }

               // --------------------------------------------------------------------------------
               // Formatta la data del messaggio in modo corretto
               // --------------------------------------------------------------------------------

               private String msgDateFormat( Date senddate) {
                          String formatted = "hold";
                          String Day[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
                          String Month[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};

                              formatted = Day[senddate.getDay()] + ", ";
                              formatted = formatted + String.valueOf(senddate.getDate()) + " ";
                              formatted = formatted + Month[senddate.getMonth()] + " ";
                              if (senddate.getYear() > 99)
                                         formatted = formatted + String.valueOf(senddate.getYear() + 1900) + " ";
                              else
                                         formatted = formatted + String.valueOf(senddate.getYear()) + " ";
                              if (senddate.getHours() < 10) formatted = formatted + "0";
                              formatted = formatted + String.valueOf(senddate.getHours()) + ":";
                              if (senddate.getMinutes() < 10) formatted = formatted + "0";
                              formatted = formatted + String.valueOf(senddate.getMinutes()) + ":";
                              if (senddate.getSeconds() < 10) formatted = formatted + "0";
                              formatted = formatted + String.valueOf(senddate.getSeconds()) + " ";
                              if (senddate.getTimezoneOffset() < 0)
                                         formatted = formatted + "+";
                              else
                                         formatted = formatted + "-";
                              if (Math.abs(senddate.getTimezoneOffset())/60 < 10) formatted = formatted + "0";
                              formatted = formatted + String.valueOf(Math.abs(senddate.getTimezoneOffset())/60);
                              if (Math.abs(senddate.getTimezoneOffset())%60 < 10) formatted = formatted + "0";
                              formatted = formatted + String.valueOf(Math.abs(senddate.getTimezoneOffset())%60);

                              return formatted;
               }
}

Questa e’ la classe che si interessera’ fisicamente del messaggio.
La classe che segue invece e’ quella che gestisce la maschera dei dati e che richiama la
classe appena vista.
In questa parte ritroviamo le funzioni che settano il gestore di layout e che posizionano gli
oggetti come i pulsanti e i campi di testo in cui inserire i dati a video.


•       Parte 4 file javaCenter.java
// --------------------------------------------------------------------------------
// Gestisce la maschera dei dati
// --------------------------------------------------------------------------------

class          javaCenterSendMail extends Panel implements ActionListener




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

{
           private javaCenterMSGBox mbox;
           private Applet applet;
           private String m_mailhost;
           private String m_mailto;
           private TextField mailAddress;
           private TextArea messageText;
           private Button invia;

           public javaCenterSendMail(Applet applet, String m_mailhost, String m_mailto)
           {
                      super();

                     this.applet         = applet;
                     this.m_mailhost = m_mailhost;
                     this.m_mailto       = m_mailto;


                     setBackground(Color.lightGray);

                     GridBagLayout gridbag = new GridBagLayout();
                     setLayout(gridbag);

                     GridBagConstraints constraints = new GridBagConstraints();
                     javaCenterConstrainer constrainer = new javaCenterConstrainer(this, constraints);
                     constrainer.getDefaultConstraints().insets = new Insets(5, 5, 5, 5);

                     Label strTmp = new Label("Invio messaggi all' host : ");
                     constrainer.constrain(strTmp, 0, 0, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(strTmp);

                     strTmp.setFont(new Font("Dialog", Font.BOLD, 14));
                     strTmp.setForeground(Color.red);

                     strTmp = new Label("Vostro Email: ");
                     constrainer.constrain(strTmp, 0, 2, 20, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(strTmp);

                   mailAddress = new TextField("vs@email", 60);
                   constrainer.constrain(mailAddress, 20, 2, 60, 1, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);
                   add(mailAddress);

                     strTmp = new Label("Testo messaggio: ");
                     constrainer.constrain(strTmp, 0, 4, 20, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(strTmp);

                   messageText = new TextArea("", 10, 60);
                   constrainer.constrain(messageText, 0, 6, 80, 10, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);
                   add(messageText);
                   messageText.setFont(new Font("Dialog", Font.BOLD, 12));
                   messageText.setBackground(new Color(0,60,0));
                   messageText.setForeground(new Color(0,255,0));

                     invia = new Button("Invia messaggio");
                     constrainer.constrain(invia, 0, 18, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.CENTER);
                     add(invia);

                     invia.addActionListener(this);
           }

           public void actionPerformed(ActionEvent e)
           {
                      String selected = e.getActionCommand();

                     if(selected.equals("Invia messaggio")) {

                                          String Email = mailAddress.getText();

                                          if(Email.length() < 1) {
                                                      mbox = new javaCenterMSGBox(null, "Attenzione", "Inserire la Vs.
email");
                                                        mailAddress.requestFocus();
                                                        return;
                                          }
                                          String Testo = messageText.getText();
                                          if(Testo.length() < 1) {
                                                      mbox= new javaCenterMSGBox(null, "Attenzione", "Inserire il testo");
                                                      messageText.requestFocus();
                                                      return;
                                          }

                                          // --------------------------------------------------------------------------------
                                          // Controlla che i dati siano stati inseriti e chiama il costruttore
                                          // della classe che si interessera’ dell’ invio della mail,




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                                        // --------------------------------------------------------------------------------

                                                        try {
                                                                       javaCenterSmtp connect = new javaCenterSmtp(m_mailhost);
                                                                       connect.sendmsg(Email,m_mailto,"Messaggio", Testo);
                                                        }
                                                        catch(SmtpProtocolException x5)
                                                        {
                                                                 mbox = new javaCenterMSGBox(null, "ERRORE", "Smtp protocol
exception - "+ x5.toString());
                                                                  System.out.println(x5.getMessage());
                                                        }
                                                        catch (UnknownHostException x1) {
                                                                  mbox= new javaCenterMSGBox(null, "ERRORE", "Failed to find host - "
+ m_mailhost + "- "+ x1.toString());
                                                                   System.out.println(x1.getMessage());
                                                        }
                                                        catch (ProtocolException x2) {
                                                                   mbox= new javaCenterMSGBox(null, "ERRORE", "Some sort of
protocol exception -" + x2.toString());
                                                    System.out.println(x2.getMessage());
                                          }
                                          catch (IOException x3) {
                                                    mbox= new javaCenterMSGBox(null, "ERRORE", "Error reading/writing
to socket on " + m_mailhost + "- "+ x3.toString());
                                                    System.out.println(x3.getMessage());
                                          }

                            }

              }

}

Per la gestione della formattazione dei campi e’ stata utilizzata una classe che semplifica l’
utilizzo del gestore di layout GridBagLayout ed una per la visualizzazione dei messaggi
temporanei.
Il posizionamento dei vari pulsanti, campi di testo ecc. avverra’ nel seguente modo.

Button cerca = new Button("Cerca");
constrainer.constrain(cerca, 50, 4, 10, 1, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);
add(cerca);
Prima di vedere le classi legate all’ uso della rete utilizzate nei due moduli precedenti riporto
queste due classi.

•      Parte 5 file javaCenter.java

// --------------------------------------------------------------------------------
// Dialog creata per visualizzare messaggi temporanei
// quali ad esempio segnalazioni di errore.
// Viene creata a partire dalla classe Dialog con il solo
// pulsante OK, che permette di uscirne dopo aver letto il testo.
// --------------------------------------------------------------------------------
class javaCenterMSGBox extends Dialog implements ActionListener, WindowListener
{
           public javaCenterMSGBox(Frame parent, String title, String message)
           {
                      super(parent, title, true);

                            setLayout(new FlowLayout(FlowLayout.CENTER));

                            Label testMsg = new Label(message);
                            add(testMsg);

                            Button ok = new Button("Ok");
                            add(ok);

                            ok.addActionListener(this);
                            addWindowListener(this);

                            setBackground(Color.lightGray);

                            setSize(400, 100);
                            setVisible(true);
              }




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

               public void actionPerformed(ActionEvent e)
               {
                          String selected = e.getActionCommand();

                              if(selected.equals("Ok"))
                                         dispose();

               }

               public void windowActivated(WindowEvent event) {}
               public void windowClosed(WindowEvent event) {}
               public void windowClosing(WindowEvent event) { dispose(); }
               public void windowDeactivated(WindowEvent event) {}
               public void windowDeiconified(WindowEvent event) {}
               public void windowIconified(WindowEvent event) {}
               public void windowOpened(WindowEvent event) {}

}

// --------------------------------------------------------------------------------
// Questa classe costituisce una semplificazione per l’ uso
// del gestore di layout GridBagLayout che pur essendo il
// piu’ flessibile e potente e’ anche il piu’ complesso.
// --------------------------------------------------------------------------------

class javaCenterConstrainer extends Object
{
           public GridBagConstraints getDefaultConstraints()
           {
                      return defaultConstraints;
           }

               public Container getDefaultContainer()
               {
                         return defaultContainer;
               }

               public void constrain(Component component, int xPosition, int yPosition, int xSize, int ySize)
               {
                          constrain(defaultContainer, component, xPosition, yPosition, xSize, ySize);
               }

               public void constrain(Component component, int xPosition, int yPosition, int xSize, int ySize, double xWeight,
                          double yWeight)
               {
                          constrain(defaultContainer, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight);
               }

               public void constrain(Component component, int xPosition, int yPosition, int xSize, int ySize, double xWeight,
                          double yWeight, int fill)
               {
                          constrain(defaultContainer, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill);
               }

               public void constrain(Component component, int xPosition, int yPosition, int xSize, int ySize,
                          double xWeight, double yWeight, int fill, int anchor)
               {
                          constrain(defaultContainer, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill,
anchor);
               }

          public void constrain(Component component, int xPosition, int yPosition, int xSize, int ySize,
                     double xWeight, double yWeight, int fill, int anchor, int xPadding, int yPadding)
          {
                     constrain(defaultContainer, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill,
anchor, xPadding, yPadding);
          }

          public void constrain(Component component, int xPosition, int yPosition, int xSize, int ySize, double xWeight,
double yWeight, int fill, int anchor, int xPadding, int yPadding, Insets insets)
          {
                      constrain(defaultContainer, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill,
anchor, xPadding, yPadding, insets);
          }

          public void constrain(Container container, Component component, int xPosition, int yPosition, int xSize, int ySize)
          {
                     constrain(container, component, xPosition, yPosition, xSize, ySize, defaultConstraints.weightx,
defaultConstraints.weighty);
          }

          public void constrain(Container container, Component component, int xPosition, int yPosition, int xSize, int ySize,
                       double xWeight, double yWeight)
          {
                       constrain(container, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight,
defaultConstraints.fill);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

          }

          public void constrain(Container container, Component component, int xPosition, int yPosition, int xSize, int ySize,
                     double xWeight, double yWeight, int fill)
          {
                     constrain(container, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill,
defaultConstraints.anchor);
          }

          public void constrain(Container container, Component component, int xPosition, int yPosition, int xSize, int ySize,
double xWeight, double yWeight, int fill, int anchor)
          {
                     constrain(container, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill, anchor,
defaultConstraints.ipadx, defaultConstraints.ipady);
          }

          public void constrain(Container container, Component component, int xPosition, int yPosition, int xSize, int ySize,
double xWeight, double yWeight, int fill, int anchor, int xPadding, int yPadding)
          {
                     constrain(container, component, xPosition, yPosition, xSize, ySize, xWeight, yWeight, fill, anchor,
xPadding, yPadding, defaultConstraints.insets);
          }

         public void constrain(Container container, Component component, int xPosition, int yPosition, int xSize, int ySize,
double xWeight, double yWeight, int fill, int anchor, int xPadding, int yPadding, Insets insets)
         {
                    GridBagConstraints constraints = new GridBagConstraints();

                     constraints.gridx = xPosition;
                     constraints.gridy = yPosition;
                     constraints.gridwidth = xSize;
                     constraints.gridheight = ySize;
                     constraints.fill = fill;
                     constraints.ipadx = xPadding;
                     constraints.ipady = yPadding;
                     constraints.insets = insets;
                     constraints.anchor = anchor;
                     constraints.weightx = xWeight;
                     constraints.weighty = yWeight;

                     ((GridBagLayout) container.getLayout()).setConstraints(component, constraints);
          }

          public javaCenterConstrainer()
          {
                     this((Container) null, new GridBagConstraints());
          }

          public javaCenterConstrainer(GridBagConstraints constraints)
          {
                     this((Container) null, constraints);
          }

          public javaCenterConstrainer(Container container)
          {
                     this(container, new GridBagConstraints());
          }

          public javaCenterConstrainer(Container container, GridBagConstraints constraints)
          {
                     super();

                     defaultContainer = container;
                     defaultConstraints = constraints;
          }

          public void setDefaultConstraints(GridBagConstraints constraints)
          {
                     defaultConstraints = constraints;
          }

          public void setDefaultContainer(Container container)
          {
                     defaultContainer = container;
          }

          private GridBagConstraints defaultConstraints;

          private Container defaultContainer;
}



•    LA CLASSE Socket

Nella parte che si interessava dell’ invio del messaggio c’era la seguente parte di codice :



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


sock = new Socket( hostid, port );
reply = new DataInputStream( sock.getInputStream() );
send = new PrintStream( sock.getOutputStream() );
Un socket puo’ essere considerato come il punto di connessione a due vie esistente tra due
programmi che girano in rete.
In altre parole un socket e’ la rappresentazione in Java di una connessione TCP.
In pratica quando si vuole eseguire un collegamento ad un sistema in rete si conosce l’
indirizzo di questo.
Mediante il numero di porta e’ possibile richiedere la connessione ad un software specifico che
gira su questa macchina.
Nel nostro caso abbiamo utilizzato il socket aperto utilizzando il nome del server mail e la porta
25 (quella del demone mail) per aprire uno stream di output sul quale scrivere i dati relativi al
messaggio da inviare.
Come e’ possibile vedere anche dalle due righe di codice appena riportate la fase di scrittura si
suddivide in due fasi :

1            apertura del socket sul host + numero di porta
2            apertura in scrittura di uno stream

Come avrete visto gli stream aperti sono di fatto due.
Uno per scriverci i dati del messaggio e l’ altro per leggere le repliche del demone mail.
E’ possibile utilizzare la classe socket per la creazione di software client/server.
Supponiamo che sul server giri un programma relativo ad un gioco che apre un socket su una
fatidica porta 2222.
Qualsiasi client potra’ comunicare con tele software aprendo anch’esso un socket utilizzando il
nome dell’ host e il numero di porta 2222.
Il software sul sever www.aquilotto.com avra’ la forma :

Socket sock = new Socket(2222);




Sul client invece si avra’ :

Socket sock = new Socket(“www.aquilotto.com”, 2222);

Chiaramente questo e’ il concetto di base in quanto nel caso di una gestione reale multiutente
si dovrebbe eseguire un implementazione tramite thread.

•   LA CLASSE ServerSocket

Questa classe rappresenta un connessione TCP in attesa di ricezione.
Non appena viene ricevuta una richiesta di connessione la classe ServerSocket restituisce un
oggetto Socket.
Ad esempio :

ServerSocket servSock = new ServerSocket(5555);

definisce un server che monitorizza la porta 5555.




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

Socket incoming = servSock.accept();

chiede di attendere fino a che un client non si connettera’ alla porta 5555.

A quel punto il metodo accept ritornera’ restituendo un socket che potra’ essere utilizzato per la
comunicazione con il client.
Vediamo ora un’ altra parte del codice che risultera’ interessante per il fatto che mostra l’
utilizzo di risorse URL relative ai maggiori motori di ricerca.
Normalmente per fare ricerche e’ necessario connettersi ad un determinato motore di ricerca.
La seguente parte di codice mostra una maschera in cui viene richiesto di inserire i dati da
ricercare e il motore su cui eseguire la ricerca.
Una delle migliorie apportate nella versione 1.1 del JDK e’ che la classe ServerSocket e la
classeSocket non sono piu’ definite come final percui possono essere estese.
Il seguente esempio mostra una possibilita’ fornita con la versione 1.1.


class SSLServerSocket extends ServerSocket {
   ...
   public Socket accept () throws IOException
   {
              SSLSocket s = new SSLSocket (certChain, privateKey);
              // create an unconnected client SSLSocket, that we'll
              // return from accept

                 implAccept (s);
                 s.handshake ();
                 return s;
    }
    ...
}

class SSLSocket extends java.net.Socket {
   ...
   public SSLSocket(CertChain c, PrivateKey k) {
             super();
             ...
   }
   ...
}




•         Parte 6 file javaCenter.java

class         javaCenterSearch extends Panel implements ActionListener
{
              private Applet applet;
              private TextField tf;
              private Choice c;
              private URL tmpURL;

              public javaCenterSearch(Applet applet)
              {
                         super();

                        this.applet            = applet;

                        GridBagConstraints constraints = new GridBagConstraints();

                        javaCenterConstrainer constrainer = new javaCenterConstrainer(this, constraints);
                        constrainer.getDefaultConstraints().insets = new Insets(5, 5, 5, 5);

                        GridBagLayout gridbag = new GridBagLayout();
                        setLayout(gridbag);

                   Label strToSearch = new Label("Ricerca su motore :");
                   constrainer.constrain(strToSearch, 0, 2, 25, 1, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);
                   add(strToSearch);

                        c = new Choice();
                        constrainer.constrain(c, 25, 2, 25, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                        add(c);

                        c.addItem("1Blink");




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                  c.addItem("AlCanSeek");
                  c.addItem("AliWeb");
                  c.addItem("AltaVista");
                  c.addItem("AskJeeves");
                  c.addItem("Cade Brazil");
                  c.addItem("Canada");
                  c.addItem("Cari Malaysia");
                  c.addItem("Claymont");
                  c.addItem("Cyber411");
                  c.addItem("Dewa");
                  c.addItem("Excite");
                  c.addItem("Euroseek");
                  c.addItem("Goo Japan");
                  c.addItem("Goto");
                  c.addItem("Highway61");
                  c.addItem("Hotbot");
                  c.addItem("Ilse");
                  c.addItem("Infoseek");
                  c.addItem("Identify");
                  c.addItem("KHOJ");
                  c.addItem("Liszt");
                  c.addItem("Lycos");
                  c.addItem("Mamma");
                  c.addItem("Magellan");
                  c.addItem("Metacrawler");
                  c.addItem("NZSearch");
                  c.addItem("OneKey");
                  c.addItem("Oomph! Korea");
                  c.addItem("Senrigan Japan");
                  c.addItem("Savvy Search");
                  c.addItem("Scrubtheweb");
                  c.addItem("Search");
                  c.addItem("SearchUK");
                  c.addItem("Snap");
                  c.addItem("Starting Point");
                  c.addItem("UkDirectory");
                  c.addItem("WebCrawler");
                  c.addItem("WebSitez");
                  c.addItem("Whatuseek");
                  c.addItem("Yahoo");
                  c.addItem("100Hot");

                  tf = new TextField("", 50);
                  constrainer.constrain(tf, 0, 4, 50, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(tf);

                  Button cerca = new Button("Cerca");
                  constrainer.constrain(cerca, 50, 4, 10, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cerca);

                  Label cvs = new Label("Inserire gli argomenti da cercare separati da spazi o da '+'. Gli spazi vengono
sostituiti ");
                  constrainer.constrain(cvs, 0, 6, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);

                  cvs = new Label("automaticamente dai '+' i quali servono di congiunzione come clausole AND per
ricerche con");
                  constrainer.constrain(cvs, 0, 7, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);

                  cvs = new Label(" piu' argomenti. Ad esempio se si desidera cercare le pagine che hanno le parole
GIOCHI, ");
                  constrainer.constrain(cvs, 0, 8, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);

                  cvs = new Label("DOWNLOAD e FREEWARE si potra' scrivere : +GIOCHI+DOWNLOAD+FREEWARE");
                  constrainer.constrain(cvs, 0, 9, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);

                  cvs = new Label("Verranno reperite tutte le pagine in cui compaiono TUTTE TRE le parole.");
                  constrainer.constrain(cvs, 0, 10, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);

                  cvs = new Label("Potrete anche inserire gli argomenti nel seguente modo : GIOCHI DOWNLOAD
FREEWARE");
                  constrainer.constrain(cvs, 0, 11, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);

                  cvs = new Label("Il numero massimo di argomenti dipende dal limite stabilito dal motore di ricerca
selezionato.");
                  constrainer.constrain(cvs, 0, 12, 80, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                  add(cvs);
                  cerca.addActionListener(this);

                  setBackground(Color.lightGray);
            }




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


           public void actionPerformed(ActionEvent e)
           {
                      String choiceString;
                      String selected = e.getActionCommand();

                      if(selected.equals("Cerca")) {
                                 String s = "";
                                 String s1 = tf.getText();
                                 String s2 = "";
                                 s2 = s1.replace(' ', '+');
                                 tf.setText(s2);
                                 s = c.getSelectedItem();
                                 if(s == "Cade Brazil")
                                             if(tf.getText().length() > 0)
                                                          s1 = "http://busca.cade.com.br/scripts/engine.exe?p1=" + tf.getText() +
"&p2=1&p3=1";
                                            else
                                                       if(tf.getText().length() < 1)
                                                                   s1 = "http://www.cade.com.br/";
                                 if(s == "Euroseek")
                                            if(tf.getText().length() > 0)
                                                        s1 = "http://www.euroseek.net/query?iflang=uk&query=" + tf.getText() +
"&domain=world&lang=world";
                                            else
                                                        if(tf.getText().length() < 1)
                                                                    s1 = "http://www.euroseek.net/page?ifl=uk";
                                 if(s == "Cari Malaysia")
                                            if(tf.getText().length() > 0)
                                                        s1 = "http://206.184.233.23/cariurl.cgi?" + tf.getText();
                  else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.cari.com.my/";
                                  if(s == "Oomph! Korea")
                                              if(tf.getText().length() > 0)
                     s1 = "http://www.oomph.net/~dasen21/dasencgi/brief.cgi?v_db=1&v_userid=158&v_query=" +
tf.getText() + "&v_hangul=1&v_expert=Search";
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.oomph.net/";
                                  if(s == "Goo Japan")
                                              if(tf.getText().length() > 0)
                                                          s1 = "http://www.goo.ne.jp/default.asp?MT=" + tf.getText() +
"&SM=MC&WTS=ntt&DE=2&DC=10&_v=2";
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.goo.ne.jp/";
                                  if(s == "1Blink")
                                              if(tf.getText().length() > 0)
                                                          s1 = "http://www.1blink.com/search.cgi?q=" + tf.getText();
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.1blink.com/";
                                  if(s == "Savvy Search")
                                              if(tf.getText().length() > 0)
                                                          s1 = "http://williams.cs.colostate.edu:1969/nph-search?KW=" +
tf.getText() +
"&classic=on&t1=x&t2=x&t3=x&t4=x&t5=x&t6=x&t7=x&t8=x&t9=x&t10=x&Boolean=AND&Hits=10&Mode=MakePlan&df=nor
mal&AutoStep=on";
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.cs.colostate.edu/~dreiling/smartform.html";
                                  if(s == "Canada")
                                              if(tf.getText().length() > 0)
                                                          s1 = "http://results.canada.com/search/search.asp?
RG=world&SM=must%3Awords&QRY=" + tf.getText() + "&PS=10&DT=1&GO.x=30&GO.y=8";
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.canada.com/";
                                  if(s == "KHOJ")
                                              if(tf.getText().length() > 0)
                                                          s1 = "http://www.khoj.com/bin/khoj_search?searchkey=" + tf.getText();
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.khoj.com/";
                                  if(s == "AliWeb")
                                              if(tf.getText().length() > 0)
                                                          s1 = "http://www.aliweb.com/form2.pl?query=" + tf.getText() +
"&showdescription=on&titlefield=on&descriptionfield=on&keywordfield=on&urlfield=on&hits=20&domain=&searchtype=Wh
ole+Word&types=Any";
                                              else
                                                          if(tf.getText().length() < 1)
                                                                      s1 = "http://www.aliweb.com/";
                                  if(s == "Liszt")
                                              if(tf.getText().length() > 0)




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                                       s1 = "http://www.liszt.com/lists.cgi?word=" + tf.getText() +
"&junk=s&an=all";
                                            else
                                                       if(tf.getText().length() < 1)
                                                                   s1 = "http://www.liszt.com/";
                                 if(s == "Byte")
                                             if(tf.getText().length() > 0)
                                                         s1 = "http://www.byte.com/search?queryText=" + tf.getText();
                                             else
                                                         if(tf.getText().length() < 1)
                                                                     s1 = "http://www.byte.com/";
                                 if(s == "AlCanSeek")
                                             if(tf.getText().length() > 0)
                                                         s1 = "http://www.alcanseek.com/acgibin/find.cgi?" + tf.getText() +
"=01";
                                            else
                                                       if(tf.getText().length() < 1)
                                                                   s1 = "http://www.alcanseek.com/";
                                   if(s == "Claymont")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.claymont.com/cgi-bin/htsearch?
config=htdig&restrict=&exclude=&method=and&format=builtin-long&words=" + tf.getText();
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.claymont.com/";
                                   if(s == "Cyber411")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.cyber411.com/cgi-bin/nph-search.cgi?
AV=on&DN=on&EX=on&GX=on&G2=on&HB=on&LS=on&LY=on&MG=on&NL=on&PS=on&SC=on&TS=on&WC=on&WU=on&
YH=on&query=" + tf.getText() + "&timeout=30&connects=5";
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.cyber411.com/";
                                   if(s == "OneKey")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.onekey.com/search/search.cgi?query=" + tf.getText()
+ "&logic=or&max_hits=10";
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.onekey.com/";
                                   if(s == "NZSearch")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.nzsearch.com/cgi-localbin/nzsearch.cgi?search=" +
tf.getText();
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.nzsearch.com/";
                                   if(s == "UkDirectory")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.ukdirectory.com/datafiles/alphasearch.cgi?
searchbox=" + tf.getText();
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.ukdirectory.com/";
                                   if(s == "SearchUK")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.searchuk.com/cgi-bin/search?search=" + tf.getText() +
"&z=0&y=1&w=0&g=0&r=&ru=&n=3";
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.searchuk.com/";
                 if(s == "100Hot")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.100hot.com/cgi-bin/main_search.cgi?query=" +
tf.getText();
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.100hot.com/";
                                   if(s == "Starting Point")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.stpt.com/cgi-bin/pwrsrch/altavista.cgi?query=" +
tf.getText() + "&search=web";
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.stpt.com/";
                                   if(s == "AltaVista")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://www.altavista.digital.com/cgi-bin/query?
pg=q&what=web&fmt=.&q=" + tf.getText();
                                               else
                                                           if(tf.getText().length() < 1)
                                                                       s1 = "http://www.altavista.digital.com/";
                                   if(s == "WebSitez")
                                               if(tf.getText().length() > 0)
                                                           s1 = "http://search.websitez.com/search.cgi?key=" + tf.getText() +
"&search=1&type=1&submit1=Find";




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                           else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.WebSitez.com/";
                                if(s == "Dewa")
                                           if(tf.getText().length() > 0)
                                                       s1 = "http://www.dewa.com/cgi-bin/search.cgi?k=" + tf.getText() +
"&b=o";
                                           else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Dewa.com/";
                             if(s == "AskJeeves")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.askjeeves.com/AskJeeves.asp?ask=" + tf.getText() +
"&qSource=0&site_name=Jeeves&metasearch=yes";
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.AskJeeves.com/";
                             if(s == "Goto")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.goto.com/d/search/;
$sessionid$H4EWPLIAAAYTFQFIEENQPUQ?Keywords=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                                                  s1 =
"http://www.Goto.com/";
                             if(s == "Scrubtheweb")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.scrubtheweb.com/cgi-bin/search.cgi?
action=Search&cat=All&searchtype=all&keyword=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Scrubtheweb.com/";
                             if(s == "Identify")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.identify.com/identify.cgi?w=" + tf.getText() + "&st=p";
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Identify.com/";
                             if(s == "Metacrawler")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.metacrawler.com/crawler?general=" + tf.getText() +
"&method=0&target=&region=0&rpp=20&timeout=5&hpe=10";
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Metacrawler.com/";
                             if(s == "Magellan")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.mckinley.com/search.gw?search=" + tf.getText() +
"&c=web&look=magellan";
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.mckinley.com/";
                             if(s == "Whatuseek")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://seek.whatuseek.com/cgi-bin/seek.alpha.go?
db=db&defcmd=find&disp=all&grsz=0&proximity=rank&suffixproc=off&thesaurus=0&arg=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Whatuseek.com/";
                             if(s == "Highway61")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://207.226.255.65/nph-seek.cgi?string=" + tf.getText() +
"&bool=and&new_wins=on&speed=reasonable&hits=lots&yahoo_cats=on&armadillo=5&s=wwwyx&dom=2&c=73701";
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Highway61.com/";
                             if(s == "Mamma")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.mamma.com/cgi-bin/parsearch2?
lang=1&timeout=6&qtype=0&query=" + tf.getText() + "&summaries=on";
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Mamma.com/";
                             if(s == "Ilse")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.ilse.com/?
COMMAND=search_for&LANGUAGE=NL&ANDOR=OR&EXTRACT=short&SEARCH_FOR=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Ilse.com/";
                             if(s == "Yahoo")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://search.yahoo.com/search?p=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Yahoo.com/";




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                             if(s == "Infoseek")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.infoseek.com/Titles?qt=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Infoseek.com/";
                             if(s == "Hotbot")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.hotbot.com/default.asp?MT=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Infoseek.com/";
                             if(s == "Lycos")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.nl.lycos.de/cgi-bin/pursuit?
adv=0&cat=lycos&npl=matchmode%253Dand%2526adv%253D1&query=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Lycos.com/";
                             if(s == "WebCrawler")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://webcrawler.com/cgi-bin/WebQuery?searchText=" +
tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.WebCrawler.com/";
                             if(s == "Snap")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://home.snap.com/search/directory/results/1,61,home-
0,00.html?category=0-0-WW&keyword=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Snap.com/";
                             if(s == "Excite")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://search.excite.com/search.gw?
trace=1&look=excite_netscape_us&sorig=netscape&search=" + tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Excite.com/";
                             if(s == "Search")
                                         if(tf.getText().length() > 0)
                                                     s1 = "http://www.search.com/Infoseek/1,135,0,0200.html?QUERY=" +
tf.getText();
                                         else
                                                     if(tf.getText().length() < 1)
                                                                 s1 = "http://www.Search.com/";
                             try
                             {
                                         tmpURL = new URL(s1);
                             }
                             catch(MalformedURLException ex)
                             {
                                         System.out.println("Bad URL: " + tmpURL);
                             }
                             applet.getAppletContext().showDocument(tmpURL, "lower");
                    }
            }
}




Questa parte assume un notevole interesse in quanto dalla fusione di tre moduli presenti in
questo programma potrebbero nascere delle idee interessanti.
Ad esempio un’ altra funzione che vedremo e’ una che permette di analizzare delle strutture di
pagine HTML indicando quelle che contengono parole o frasi specificate.
Programmando questo modulo in modo tale che l’ analisi la faccia su pagine ritornate dai
motori di ricerca su indicati si potrebbe creare un programma che invia automaticamente una



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

mail a tutti gli indirizzi email trovati sulle pagine restituite dai motori di ricerca contenenti
argomenti da noi richiesti.
Ad esempio potrei richiedere ad Altavista un elenco delle pagine legate alle gioiellerie.
Analizzando queste potrei trovare le mailto: specificate e utilizzare queste per inviare dei
messaggi standard (ad esempio pubblicitari … non bastavano i bombardamenti di depliant
pubblicitari nella buca delle lettere !).
Vediamo ora un'altra parte del programma che utilizza una classe legata al protocollo FTP.
Tale classe e’ presente nel package sun.net.ftp.Notate che in sun.net esistono anche le classi
per la gestione di protocolli come ad esempio nntp che si interessa della gestione dei news
groups.
Se non si trova documentazione il modo piu’ semplice e’ quello di far installare al sistema di
sviluppo i sorgenti delle classi e … buon divertimento !
Il modulo crea una maschera sulla quale viene richiesto l’ indirizzo FTP da utilizzare per la
connessione.
Altri campi si interesseranno di accettare il nome della directory in cui andare e il nome del
programma da prelevare.

•    Parte 7 file javaCenter.java

class javaCenterFTP extends Panel implements ActionListener
{
           private TextField server = null;
           private TextField directory = null;
           private TextField fFile = null;
           private TextArea lsMessage = null;
           private Button bServer;
           private Button download;
           private Button chDir;
           private FtpClient fcAluFtp=new FtpClient();
           private TelnetInputStream tisList=null;
           private TelnetInputStream tisGet=null;
           private TelnetOutputStream tosPut=null;

          public     javaCenterFTP(String ftpServer)
          {
                     super();

                     GridBagConstraints constraints = new GridBagConstraints();

                     javaCenterConstrainer constrainer = new javaCenterConstrainer(this, constraints);
                     constrainer.getDefaultConstraints().insets = new Insets(5, 5, 5, 5);

                     GridBagLayout gridbag = new GridBagLayout();
                     setLayout(gridbag);

                     Label strTmp = new Label("Server :");
                     constrainer.constrain(strTmp, 0, 5, 11, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(strTmp);

                     server = new TextField(ftpServer, 40);
                     constrainer.constrain(server, 11, 5, 40, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(server);

                     bServer = new Button("Connetti");
                     constrainer.constrain(bServer, 51, 5, 10, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(bServer);

                     strTmp = new Label("Directory:");
                     constrainer.constrain(strTmp, 0, 6, 11, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(strTmp);

                   directory = new TextField("/pub", 40);
                   constrainer.constrain(directory, 11, 6, 40, 1, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);
                   add(directory);

                     chDir = new Button("CHDIR");
                     constrainer.constrain(chDir, 51, 6, 10, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(chDir);

                     strTmp = new Label("File :");
                     constrainer.constrain(strTmp, 0, 7, 11, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(strTmp);

                     fFile = new TextField("", 40);
                     constrainer.constrain(fFile, 11, 7, 40, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                     add(fFile);

                   download = new Button("Preleva");
                   constrainer.constrain(download, 51, 7, 10, 1, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                    add(download);

                    strTmp = new Label("Output");
                    constrainer.constrain(strTmp, 0, 9, 8, 1, 1, 0, GridBagConstraints.BOTH, GridBagConstraints.WEST);
                    add(strTmp);

                   lsMessage = new TextArea(10, 80);
                   constrainer.constrain(lsMessage, 0, 10, 80, 10, 1, 0, GridBagConstraints.BOTH,
GridBagConstraints.WEST);
                   add(lsMessage);

                    lsMessage.appendText("Attesa per connessione ...");

                    bServer.addActionListener(this);
                    chDir.addActionListener(this);
                    download.addActionListener(this);
          }

          private void openFtpServer(String ftpServer){
                     try{
                                 if(fcAluFtp.serverIsOpen())
                                 fcAluFtp.closeServer();
                                 fcAluFtp.openServer(ftpServer);
                                 lsMessage.appendText(fcAluFtp.getResponseString());
                                 fcAluFtp.login("anonymous","flavio@bernardotti.al.it");
                                 lsMessage.appendText(fcAluFtp.getResponseString());
                                 fcAluFtp.binary();
                                 lsMessage.appendText(fcAluFtp.getResponseString());
                     } catch (java.io.IOException e){
                                 lsMessage.appendText("Error: "+e.getMessage());
                     }
                     lsMessage.appendText("\r\n");
          }

          private void chDir(String cdDirectory) {
                     try{
                                 if (!fcAluFtp.serverIsOpen()){
                                             lsMessage.appendText("Errore: Il serve non e' aperto");
                                 return;
                                 }
                                 fcAluFtp.cd(cdDirectory);
                                 lsMessage.appendText(fcAluFtp.getResponseString());
                     } catch (java.io.IOException e){
                                 lsMessage.appendText("Error: "+e.getMessage());
                     }
                     lsMessage.appendText("\r\n");
          }

          private void ls()
          {
                     int i;
                     byte inBytes[]=new byte[1024];

                    try{
                                if (!fcAluFtp.serverIsOpen()){
                                            lsMessage.appendText("Errore: Il serve non e' aperto");
                                return;
                                }
                                tisList=fcAluFtp.list();
                                lsMessage.appendText(fcAluFtp.getResponseString());
                                while((i=tisList.read(inBytes))!=-1)
                                lsMessage.appendText(new String(inBytes,0));
                    } catch (java.io.IOException e){
                                lsMessage.appendText("Error: "+e.getMessage());
                    }
                    lsMessage.appendText("\r\n");
          }

          private void getFile(String getRemoteFile){
                     FileOutputStream        fos;
                     int i;
                     byte inBytes[]=new byte[1024];
                     try{
                                if (!fcAluFtp.serverIsOpen()){
                                            lsMessage.appendText("Errore: Il serve non e' aperto");
                                return;
                                }
                                if (getRemoteFile == ""){
                                            lsMessage.appendText("Errore: Omesso il nome del file");
                                return;
                                }
                                tisGet=fcAluFtp.get(getRemoteFile);
                                lsMessage.appendText(fcAluFtp.getResponseString());
                                fos=new FileOutputStream(new File(getRemoteFile));
                                while((i=tisGet.read(inBytes))!=-1)
                                            fos.write(inBytes);




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                               fos.close();
                               lsMessage.appendText("--- OK ---");
                   } catch (java.io.IOException e){
                               lsMessage.appendText("Error: "+e.getMessage());
                   }
                   lsMessage.appendText("\r\n");
         }

         private void closeFtpServer(){
                    try{
                                if (!fcAluFtp.serverIsOpen())
                                            return;
                                fcAluFtp.closeServer();
                    } catch (java.io.IOException e){
                                lsMessage.appendText("Errore: "+e.getMessage());
                    }
         }

         public void actionPerformed(ActionEvent e)
         {
                     String selected = e.getActionCommand();
                     if(selected.equals("CHDIR")) {
                                chDir(directory.getText());
                                ls();
                     } else
                                if(selected.equals("Connetti")) {
                                           openFtpServer(server.getText());
                                           ls();
                                } else
                                           if(selected.equals("Preleva"))
         getFile(fFile.getText());
         }
}

I metodi appena visti utilizzano quelli della classe sun.net.ftp per eseguire la connessione al
server FTP, per eseguire la navigazione sulle directory del sistema e per prelevare i files.
Come potete vedere a seguito di una richiesta di cambio directory viene eseguita anche una
DIR (ls) in modo tale da mostrare i contenuti del nuovo posizionamento.
Avrete notato che l’ output ricevuto tramite uno stream TELNET viene visualizzato dentro ad
una TextArea ovvero ad un campo di edit multiriga che viene adibito, nel programma, a
maschera di visualizzazione dei dati che giungono dall’ host a cui si e’ connessi.
Il programma utilizza sempre il LOGIN “anonymous” e la mia EMAIL come password in quanto
si suppone che ci si voglia connettere a sistemi pubblici che normalmente si attengono a
questo sistema.
Se vi interessa effettuare il login su host con LOGIN, e quindi PASSWORD, dedicate potete
modificare il programma aggiungendo alla maschera di inserimento dei dati anche il campo per
contenere il primo dato e un altro per contenerci la password.

fcAluFtp.login("anonymous","flavio@bernardotti.al.it");




Il precedente codice dovra’ essere modificato in modo tale che gli argomenti diventino quelli
letti dai campi aggiunti.
Per gestire un flusso di dati si in input che in output viene utilizzato uno stream Telnet.
Uno stream Telnet puo’ essere ottenuto utilizzando le apposite classi sun.net.
Difatti sono presenti le classi TelnetOutputStream e TelnetInputStream per gestire flussi di dati.



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

La classe FTP dispone inoltre di metodi per settare le comunicazioni in modo ascii o binario.
L’ ultima parte del programma permette di creare una connessione ad un URL specificata
mediante l’ argomento firstpage nel modulo HTML e di creare un elenco di pagine ricavate dall’
analisi alla ricerca delle parole o delle frasi specificate.


A partire dalla pagina specificata viene ripercorso tutto l’ albero sottostante delle pagine HTML.

•       Parte 8 file javaCenter.java

class       javaCenterSHost extends Panel implements ActionListener, ItemListener, Runnable
{
            private int hits = 0;
            private int maxhits = 40;
            private String indexpage = new String();
            private String criteria;
            private URL baseurl = null;
            private Thread th = null;
            private Checkbox checkbox1;
            private Checkbox checkbox2;
            private Checkbox checkbox3;
            private TextField textfield1;
            private Vector allUrls = new Vector();
            private Button button1;
            private java.awt.List tmpLista;
            private Applet applet;
            private TextArea messaggi;

            public javaCenterSHost(String m_firstpage, Applet applet)
            {
                       super();

                      this.applet = applet;

                      baseurl = applet.getDocumentBase();

                      setLayout(new BorderLayout());

                      indexpage = m_firstpage;

                      Panel panel = new Panel();
                      panel.setLayout(new FlowLayout(FlowLayout.CENTER));

                      Label strTmp = new Label("Riporta pagine con");

                      criteria = "qualsiasi parola";

                      checkbox1 = new Checkbox("qualsiasi parola");
                      checkbox1.setFont(new Font("Dialog", 0, 10));
                      checkbox2 = new Checkbox("tutte le parole");
                      checkbox2.setFont(new Font("Dialog", 0, 10));
                      checkbox3 = new Checkbox("frasi");
                      checkbox3.setFont(new Font("Dialog", 0, 10));
                      checkbox1.setState(true);

                      checkbox1.addItemListener(this);
                      checkbox2.addItemListener(this);
                      checkbox3.addItemListener(this);

                      panel.add(strTmp);
                      panel.add(checkbox1);
                      panel.add(checkbox2);
                      panel.add(checkbox3);

                      add(panel, "North");

                      panel = new Panel();
                      panel.setLayout(new FlowLayout(FlowLayout.CENTER));

                      strTmp = new Label("Parole (separate da virgole) :");
                      textfield1 = new TextField("", 40);
                      button1 = new Button("Cerca");

                      panel.add(strTmp);
                      panel.add(textfield1);
                      panel.add(button1);

                      add(panel, "Center");

                      button1.addActionListener(this);

                      panel = new Panel();
                      panel.setLayout(new GridLayout(2,1));




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


                  tmpLista = new java.awt.List(7, false);
                  tmpLista.setForeground(new Color(0,255,0));
                  tmpLista.setBackground(new Color(0,60,0));
                  tmpLista.addItemListener(this);

                  messaggi = new TextArea(5, 30);

                  panel.add(tmpLista);
                  panel.add(messaggi);

                  tmpLista.addItemListener(this);

                  add(panel, "South");

       }

       public void stop()
       {
                  th = null;
       }

       public void run()
       {
                  register(indexpage );
                  Search(textfield1.getText() , criteria , indexpage );
                  stopThread();
       }


       public void startThread()
       {

                  if( th != null ){
                               th.stop();
                               th = null;
                  }
                  th = new Thread( this );
                  th.start();
       }

       public void stopThread()
       {
                  button1.setLabel( "Cerca" );

                  messaggi.appendText("Nessuna altra pagina trovata.\r\n");
                  messaggi.appendText("Eseguite un doppio click su un eventuale url trovato.\r\n");

                  if( th != null )
                  {
                               try{ th.stop(); }catch( Exception e ){}
                               th = null;
                  }
       }

       void Search( String search, String criteria, String url )
       {
                 String content = "";

                  try{
                             content = readURL( url );
                  } catch( Exception e ) { return; }

                  Enumeration links = parseLinks( content );

                  messaggi.appendText("Ricerca su " + url + " di " + search + " (" + criteria + ")\r\n");

                  if(criteria.equalsIgnoreCase( "qualsiasi parola" ) && matchAny( search, content ) )
                               report( url );
                  else
                               if( criteria.equalsIgnoreCase( "tutte le parole" ) && matchAll( search, content ) )
                                            report( url );
                               else
                                            if( criteria.equalsIgnoreCase( "frasi" ) && matchPhrase( search, content ) )
                                                         report( url );

                  while( links.hasMoreElements() )
                             Search( search, criteria, (String)links.nextElement() );
       }

       boolean matchAny( String search, String content )
       {
                String s = search.toLowerCase();
                String c = content.toLowerCase();
                StringTokenizer tok = new StringTokenizer( s , ", " , false );
                while( tok.hasMoreTokens() ){




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                     if( c.indexOf( tok.nextToken() ) != -1 )
                                                 return true;
                        }
                        return false;
            }

            boolean matchAll( String search, String content )
            {
                     String s = search.toLowerCase();
                     String c = content.toLowerCase();
                     StringTokenizer tok = new StringTokenizer( s , ", " , false );
                     int count = tok.countTokens();

                        while( tok.hasMoreTokens())
                        if( c.indexOf( tok.nextToken() ) != -1 )
                                    count--;

                        return( count == 0 );
            }

            boolean matchPhrase( String search, String content )
            {
                     String s = search.toLowerCase().trim();
                     String c = content.toLowerCase();

                        if( c.indexOf( s ) != -1 )
                                    return true;
                        else
                                    return false;
            }


            void report( String url )
            {
                       try{
                                  URL u = new URL( baseurl , url );
                                  tmpLista.addItem( u.toString() );

                                   this.hits++;
                                   if( this.hits >= this.maxhits )
                                                stopThread();
                        } catch( Exception e ){}
            }

            Enumeration parseLinks( String content )
            {
                     String searchfor[] = { " href" , " src" };
                     String delim = "";
                     String look = content.toLowerCase();
                     Vector foundurls = new Vector();
                     int i, j , k, chi1, chi2;
                     String tmp = "";

                        k = 0;

                        while( k < searchfor.length ) {
                                   i = j = 0;
                                   delim = searchfor[ k ];

                                     try{
                                                while( ( j = look.indexOf( delim , j )) != -1 ) {
                                                for( i = ( j + delim.length() ) ; ( look.charAt( i ) == ' ' || look.charAt( i ) == '=' ||
look.charAt( i ) == '\"' ) && i < look.length(); i++ );
                                                chi1 = content.indexOf( " " , i );
                                                              chi2 = content.indexOf( "\"" , i );
                                                              if( chi1 < 0 ) chi1 = 0;
                                                              if( chi2 < 0 ) chi2 = 0;

                                                         tmp = content.substring( i , Math.min( Math.min( chi1 ,
content.length() ) , Math.min( chi2 , content.length() )));
                                                         if( checkURL( tmp ) ) {
                                                                   messaggi.appendText("Ricerco links " + tmp + "\r\n");
                                                                   foundurls.addElement( tmp );
                                                         }
                                                         j = i;
                                  }
                                  }catch( StringIndexOutOfBoundsException strbx ){}
                                  k++;
                       }
                       return foundurls.elements();
           }


            private boolean checkURL( String ustr )
            {
                      try{




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

                                if( isRegistred( ustr ) )
                                            return false;

                                URL turl = new URL( applet.getDocumentBase() , ustr );

                                if(!turl.getHost().equalsIgnoreCase( baseurl.getHost()))
                                             return false;

                                if( ustr.charAt( 0 ) == '#' )
                                return false;

                             if( ! checkSuffix( ustr ) )
                             return false;
                  } catch( Exception uex ) { return false; }

                  register( ustr );

                  return true;
       }

       private void register( String ustr )
       {
                  if(ustr.indexOf( "#" ) != -1)
                              allUrls.addElement( cleanLink(ustr));
                  allUrls.addElement( ustr );
       }

       boolean isRegistred( String ustr )
       {
                 return( allUrls.contains( cleanLink( ustr ) ) );
       }


       boolean checkSuffix( String url )
       {
                 String ustr = "";

                  if( url.indexOf( "#" ) != -1 || url.indexOf( "?" ) != -1 )
                              ustr = cleanLink( url );
                  else
                              ustr = url;

                  ustr = ustr.toLowerCase();

                  if(!(ustr.endsWith( ".html" ) || ustr.endsWith( ".htm" ) ||
                              ustr.endsWith( ".txt" ) || ustr.endsWith( ".java" )||
                              ustr.endsWith( ".asp" ) || ustr.endsWith( ".pl" ) ||
                              ustr.endsWith( ".cgi" ) || ustr.endsWith( ".shtml" ))) {
                              return false;
                  }
                  return true;
       }

       String cleanLink( String url )
       {
                  if( url.indexOf( "#" ) != -1 )
                              return url.substring( 0 , url.indexOf( "#" ) );
                  else
                              if( url.indexOf( "?" ) != -1 )
                                           return url.substring( 0 , url.indexOf( "?" ) );

                  return url;
       }

       String readURL( String filename ) throws java.lang.Exception
       {
                  DataInputStream is       = null;
                  URL filepath         = null;
                  String filecontents = "";
                  String line        = "";

                  filepath = new URL( applet.getDocumentBase() , filename );

                  is = new DataInputStream( new BufferedInputStream( filepath.openStream() ) );
                  while( true ) {
                              line = is.readLine();
                              if( line == null )
                                           break;
                              filecontents += line;
                  }
                  is.close();
                  return filecontents;
       }


       String skipspace( String str )




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

          {
                     int i = 0;
                     StringBuffer nstr = new StringBuffer();

                     while( i < str.length() ) {
                                 if( str.charAt( i ) != ' ' )
                                             nstr.append( str.charAt( i ) );
                                 i++;
                     }

                     return nstr.toString();
          }


          public void actionPerformed(ActionEvent ev)
          {
                     String selection = ev.getActionCommand();

                     if(selection.equals("Cerca")) {
                                 if(skipspace(textfield1.getText() ).equals(""))
                                            return;

                                tmpLista.removeAll();
                                allUrls.removeAllElements();
                                button1.setLabel("Stop");
                                startThread();
                     } else
                                stopThread();
          }

           public void itemStateChanged(ItemEvent e)
           {
                      Object item = e.getSource();
                      if(item == tmpLista) {
                                  try{
                                              applet.getAppletContext().showDocument( new URL( tmpLista.getSelectedItem() )
, "_blank" );
                                  } catch( Exception ex ){}
                      } else
                                  if(item == checkbox1 ) {
                                              checkbox2.setState( false );
                                              checkbox3.setState( false );
                                              messaggi.appendText("Settato criterio a QUALSIASI PAROLA\r\n");
                                              criteria = checkbox1.getLabel().toLowerCase();
                                  } else
                                              if(item == checkbox2 ) {
                                                          checkbox1.setState( false );
                                                          checkbox3.setState( false );
                                                          criteria = checkbox2.getLabel().toLowerCase();
                                                          messaggi.appendText("Settato criterio a TUTTE LE PAROLE\r\n");
                                              } else
                                                          if(item == checkbox3 ) {
                                                                      checkbox1.setState( false );
                                                                      checkbox2.setState( false );
                                                                      criteria = checkbox3.getLabel().toLowerCase();
                                                                      messaggi.appendText("Settato criterio a FRASI\r\n");
                                                          }
           }
}

L’ esempio visto ‘ costituito da 8 pezzi.
Dato che nella versione 1.2 del JDK e’ stata inserita un’ altra classe List la dichirazione List del
AWT creava un errore di ambiguita’.
Per sopperire al problema la dichiarazione, dove serve e’ stata fatta con :

java.awt.List lista = new java.awt.List(10, false);

L’ applet puo’ essere compilato sia con il JDK 1.1 (o con 1.2) oppure con il compilatore
Microsoft 1.12 (anche con la 6.0).

•    GESTIONE ECCEZIONI

Nelle argomentazioni viste precedentemente abbiamo utilizzato l’ intercettazione delle
eccezioni che potevano essere generate dall’ utilizzo delle varie classi.
Vediamo ora di approfondire il discorso in quanto l’ argomento ricopre un ruolo molto
importante.
Avevamo accennato, parlando delle URL, ad un eccezione che veniva generato nel caso in cui
si verificava l’ impossibilita’ di accedere, per problemi di errata definizione del formato, ad una
risorsa.
L’ eccezione in questione era la MalformedURLException.



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

Nei package in cui sono presenti le classi viste sono definite altre eccezioni che ci risultano utili
per l’ identificazione degli inconvenienti legati all’ uso di questi packages.
Vediamone un elenco con a fianco i significati :

    ECCEZIONE                                          CAUSA


BindException                            Dovuto all’ impossibilita’ (porta gia’ in uso) di collegare il socket
ConnectException                         Rifiuto della connessione da parte del socket remoto
MalformedURLException                    Interpretazione errata del URL
NoRouteToHostException                   Blocco da parte di un firewall. Impossibilita’ di raggiungere l’ host.
ProtocolException                        Errore nel protocollo del socket
SocketException                          Eccezione del socket
UnknownHostException                     Errore di risoluzione del nome host.
UnknownServiceException                  La connessione non supporta il servizio

Nel package sun.net invece ritroviamo le seguenti eccezioni

    ECCEZIONE                                          CAUSA


TelNetProtocolException                  Errore del protocollo telnet
SmtpProtocolException                    Errore nel protocollo smtp
FtpLoginException                        Errore accedendo al server FTP
FtpProtocolException                     Errore del protocollo FTP
NntpProtocolException                    Errore del protocollo Nntp

Inizialmente, quando parlavamo della struttura della rete, avevamo visto la definizione del
protocollo UDP e avevamo anche detto che esisteva una serie di classi che erano apposite per
tale protocollo.
Si trattava delle classi per i datagrammi.

•     LA CLASSE DATAGRAMMA

Inizialmente avevamo detto che i datagrammi vengono utilizzati per inviare in modo
indipendente dei pacchetti di dati da un applicazione ad un'altra senza garantirne l’ arrivo.
I pacchetti di dati inviati tramite datagrammi in genere sono indipendenti.
Per fare un esempio pratico vediamo due moduli, uno per il server e uno per il client, che
permettono di inviare le informazioni degli utenti collegati ad un sistema Unix.
Supponiamo che esista un programma che a tempi regolari esegua un who (istruzione Unix
per vedere l’ elenco degli utenti collegati al sistema) e che scriva i dati in un file denominato
users.txt.
Il programma server dovra’ attendere una richiesta di invio di un datagramma da parte di un
software client e dovra’ inviare il contenuto del file.

import java.io.*;
import java.net.*;
import java.util.*;

public class whoClient {
  public static void main(String[] args) throws IOException {
    if (args.length != 1) {
        System.out.println("Usage: java whoClient <hostname>");
        return;
    }
           // Crea il datagramma
           DatagramSocket socket = new DatagramSocket();
           byte[] buffer = new byte[512];
           InetAddress address = InetAddress.getByName(args[0]);
           // Invia la richiesta
           DatagramPacket packet = new DatagramPacket(buffer, buffer.length, address, 5225);
           socket.send(packet);
           // Prende la risposta
           packet = new DatagramPacket(buffer, buffer.length);
           socket.receive(packet);
           // Lo visualizza i dati ricevuti
           String received = new String(packet.getData(), 0);
           System.out.println("User(s) connected: " + received);
           socket.close();
  }
}

Vediamo ora il software del server.

import java.io.*;




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

import java.net.*;
import java.util.*;

public class whoServerThread extends Thread {
           protected DatagramSocket socket = null;
           protected BufferedReader in = null;
           protected boolean flag = true;

           public whoServerThread() throws IOException {
                     this("WhoServerThread");
           }

           public whoServerThread(String name) throws IOException {
                     super(name);
                     socket = new DatagramSocket(5225);
                     try {
                                 in = new BufferedReader(new FileReader("users.txt"));
                     } catch (FileNotFoundException e) {
                                 System.err.println("Could not open who file. ");
                     }
           }

           public void run() {
                      byte[] buf = new byte[256];
                      String returnValue;
                      while (returnValue = in.readLine()) != null) {
                                  try {
                                              // Riceve la richiesta
                                  DatagramPacket packet = new DatagramPacket(buf, buf.length);
                                  socket.receive(packet);
                                              buff = returnValue.getBytes();
                                              // send the response to the client at "address" and "port"
                                  InetAddress address = packet.getAddress();
                                  int port = packet.getPort();
                                  packet = new DatagramPacket(buf, buf.length, address, port);
                                  socket.send(packet);
                                  } catch (IOException e) {
                                  e.printStackTrace();
                                  }
                      }
                      socket.close();
                      in.close();
           }
}

Con la versione 1.2 del JDK i packages legati alla gestione della rete sono ulteriormente
aumentati facendo diventare il numero dei metodi a disposizione una cosa enorme.
Veramente un infinita’ di metodi sufficenti a perdersi dentro.
A peggiorare la situazione ci sono anche le classi create da programmatori e software house
che invadono il mercato sia shareware che commerciale.
Sun esce con la versione 1.2 ed aggiunge le classi Swing e JFC … Microsoft arriva con la sua
3.0 e inserisce AFC.
Ogni botta sono centinaia di metodi che si aggiungono a quelli gia’ esistenti.
Senza contare che quello che oggi e’ recentissimo domani e’ sorpassatissimo.
Con Java e’ proprio il caso di dire : “… chi vivra’ vedra’ !”

Crearsi il proprio linguaggio
Molte volte durante la mia carriera professionale mi sono trovato dinanzi a problematiche che
evolvevano, si modificavano e spesso cambiavano radicalmente.
Altre volte si capiva già in partenza che quel tipo di problematiche avrei potuto ritrovarle altre volte.
Per fare un esempio pratico.
Anni fa ricevetti una commessa da Telecom (allora SIP) la quale aveva questo problema.
La gestione del personale e quindi presenze,
turni ecc., veniva fatta in tutta Italia tramite terminali che permettevano di inserire i dati dentro
ai vari Mainframe che accentravano l'elaborazione di questi.
Le varie agenzie quindi inserivano tutte le informazioni dentro ai sistemi 3090 tramite questi
terminali 3270 su reti IBM SNA e non potevano fare nessuna elaborazione locale delle
informazioni.
La soluzione per permettere di disporre localmente delle informazioni sarebbe stata quella di
poter accedere agli archivi del 3090 IBM,
cosa impossibile in quanto il centro di calcolo non dava questa disponibilit…, anzi trattava i
suoi dati come se fossero TOP SECRET.
Allora le soluzioni alternative sarebbero state quelle di digitare due volte i dati, una volta per
inserirli nel database locale e un altra volta per metterli nel mainframe.



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

La terza soluzione era quella di inserire i dati in una procedura locale e poi questa simulando
un operatore andava a mettere dentro ai campi delle procedure del mainframe le stesse
informazioni usufruendo di funzioni delle API 3270 per reti SNA.
In pratica non potendo accedere agli archivi del mainframe e quindi non potendo fare delle
semplici INSERT il software prendeva i dati dal DB locale e li inseriva nel buffer di tastiera
simulando gli spostamenti da campo in campo dell'applicativo 3090.
Tutte le procedure SIP (Telecom) in genere giravano su sistemi remoti legati ai vari centri di
calcolo e quindi quella di poter scrivere "operatori automatici" sarebbe potuta
essere un tipo di applicazioni ricorrenti per vari scopi in Telecom.
Invece di scrivere una procedura in questo caso conveniva scrivere un linguaggio che
gestisse :

•   database locali
•   funzioni di gestione hardware (interrupt e accessi a memoria)
•   funzioni API 3270 per la gestione delle reti SNA.

Scrivendo un linguaggio che gestisse queste problematiche si sarebe facilmente potuto
scrivere altre applicazioni per questo tipo di architetture.
Comunque questo era solo un esempio in quanto la scrittura di piccoli linguaggi diventa utile
per tutti quei casi in cui ci sono problemi ricorrenti.
Che cosa significa scriversi un linguaggio dedicato ?
Chiaramente parliamo di strutture semplici senza andare in complicazioni particolari.
Scriversi un linguaggio orientato significa analizzare i vari problemi che questo deve risolvere
e scriversi una tabella sintattica e semantica che descriva le strutture di questo linguaggio.
Un linguaggio è inanzi tutto composto da vocaboli che possiamo definire con il termine di
TOKEN i quali possono essere combinati secondo certe regole semantiche.
Prendiamo un operazione di selezione delle informazioni da database.
Il token sarà SELEZIONA il quale potrà essere seguito da un nome di un campo oppure da
un carattere * atto a indicare che si vogliono estrarre tutti i campi.
Se il termine dopo SELEZIONA è * allora il token successivo può essere solo il nome del
DATABASE da cui si vogliono estrarre le informazioni.

(1) Nel caso in cui sia un campo di database il token dopo può essere una virgola (,) a
separazione oppure il nome del database.
Nel caso che sia una virgola si estrae un altro token e si ricomincia la valutazione dal punto (1).

Quindi le cose da fare per scriversi un linguaggetto sono :

Scriversi il flusso del linguaggio in base ai vari costrutti
Scriversi un programma che carichi tutto il programma in un buffer e che possieda
una funzione che estrae un TOKEN alla volta (GetToken).
Scriversi le varie funzionalita' che devono essere eseguite quando si arriva ad interepratre
una certa cosa.

Supponiamo di avere un costrutto del linguaggio che è:

SCRIVIAVIDEO [stringa]

Chiamiamo GetToken il quale ci restituisce SCRIVIAVIDEO.
Capiamo che si tratta di una funzione che deve scrivere la stringa successiva a video.
Richiamiamo GetToken il quale ci restituisce la stringa.
A questo punto chiamiamo un funzione che stampa a video alla quale passeremo come
argomento il secondo token.
Il nostro linguaggio dovrà possedere anche un analizzatore metematico a cui passare
funzioni del tipo :

SCRIVIAVIDEO 34*25+2-1

Questa parte di sorgente incorpora il parser matematico.
L'ultima funzione in basso entry() legge ciclicamente un funzione e ne stampa il risultato.



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

Vi chiederete del perché di tutto questo discorso.
L’obbiettivo che mi voglio mettere in questo capitolo è legato al fatto di riuscire a fornire un
qualche cosa che si evolverà con voi mese dopo mese e anno dopo anno fino a diventare il
vostro sistema di raccolta delle funzionalità di rete.
Dicevamo prima che il primo step che si deve eseguire è quello di creare una sintassi del
linguaggio.
Partiamo dall’idea che il nostro linguaggio dovrà possedere :

DATI
FUNZIONI

Tra i dati ci dovrà essere la possibilità di gestire i tipi fondamentali e il più alcuni tipi legati alle
strutture di base legate al TCP/IP.
Decidiamo che l’identificazione del tipo viene fatto tramite il carattere prima del nome della
variabile

!NOMEVARIABILE                      =          La variabile è numerica
$NOMEVARIABILE                      =          La variabile è stringa

L'ultima funzione in basso entry() legge ciclicamente un funzione e ne stampa il risultato.

char        far buffer[16384];

#define        ERROR                     0
#define        DELIMITER                   1
#define        VARIABLE                  2
#define        NUMBER                      3
#define        INSTRUCTION                     4
#define        LABEL                     5
#define        COUNTER                       6
#define        FINISHED                  7
#define        INSTR_SE                  0
#define        INSTR_INIZIOSE                  1
#define        INSTR_FINESE                2
#define        INSTR_ALTRIMENTI              3
#define        INSTR_ESEGUI                4
#define        INSTR_VAIA                    5
#define        INSTR_STAMPA                6

char   *funcstr[] = {
   "IF",
   "BEGIN",
   "END",
   "ELSE",
   "RUN",
   "GOTO",
   "PRINT",
   ""
};

static   struct label {
   char    labname[12];
   char    *prgptr;
} lbl[50];

static      int numlabel = 0;
char      *prog;
char      token[80];
int       tok_type;
int       tok_istr;
void      level1(float *);



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book


void    serror(int i)
{
       printf(“\nError : %d”, I);
}

float   vars[26] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };

static     int is_in(char ch, char *s)
{
   while(*s)
       if(*s++==ch)
           return 1;
   return 0;
}
static     int isdelim(char c)
{
     if(is_in(c, " +-*/%^=()") || c == 9 || c == '\r' || c == 0)
         return 1;
     return 0;
}
static     void    searchfunction(void)
{
   register i = 0;
   while(funcstr[i]) {
       if(!lstrcmp(token,funcstr[i])) {
           tok_istr = i;
           return;
       }
       ++i;
   }
   tok_istr = ERROR;
}
static     void get_token(void)
{
   register char *temp;
   tok_type = 0;
   temp = token;
   while(isspace(*prog))
       ++prog;
   if(*prog == '\0') {
       tok_type = FINISHED;
       return;
   }
   if(is_in(*prog, "+-/%*^=()")) {
       tok_type = DELIMITER;
       *temp++ = *prog++;
   }
   if(*prog == '!') {
       while(!isdelim(*prog))
           *temp++ = *prog++;
       tok_type = VARIABLE;
   }
   if(isdigit(*prog)) {
       while(!isdelim(*prog))
           *temp++ = *prog++;
       tok_type = NUMBER;
   }
   if(*prog == ':') {
       while(!isdelim(*prog))



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

          *temp++ = *prog++;
       tok_type = LABEL;
   }
   if(*prog == '$') {
      while(!isdelim(*prog))
         *temp++ = *prog++;
      tok_type = COUNTER;
   }
   if(isalpha(*prog)) {
      searchfunction();
      while(!isdelim(*prog))
         *temp++ = *prog++;
      tok_type = INSTRUCTION;
   }
   *temp = '\0';
}
static    float    find_var(char *s)
{
    if(!isalpha(*s)) {
        serror(1);
        return (float) 0.0;
    }
    return vars[*token - 'A'];
}
static    void    putback(void)
{
    char *t;
    t = token;
    for(;*t;t++)
        prog--;
}
static    void    unary(char o, float *r)
{
    if(o == '-')
       *r = -(*r);
}
static    void    arith(char o, float *r, float *h)
{
    float t, ex;
    switch(o) {
         case    '-':
            *r = *r - *h;
            break;
         case    '+':
            *r = *r + *h;
            break;
         case    '*':
            *r = *r * *h;
            break;
         case    '/':
            *r = *r / *h;
            break;
         case    '%':
            t = *r / *h;
            *r = *r - (t * *h);
            break;
         case    '^':
            ex = *r;
            if(*h == 0) {
                *r = (float) 1.0;
                break;



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

             }
             for(t=*h-(float)1.0;t>(float)0.0;--t)
                *r = *r * ex;
             break;
     }
}
static    void    primitive(float *result)
{
     switch(tok_type) {
         case    VARIABLE:
             *result = find_var(token);
             get_token();
             return;
         case    NUMBER:
             *result = (float) atof(token);
             get_token();
             return;
         default:
             serror(0);
     }
}
static    void    level6(float *result)
{
     if(*token == '(' && tok_type == DELIMITER) {
        get_token();
        level1(result);
        if(*token != ')')
            serror(1);
        get_token();
     } else
        primitive(result);
}
static    void    level5(float *result)
{
     register char op;
     op = 0;
   if(tok_type == DELIMITER && *token == '+' || *token == '-') {
        op = *token;
        get_token();
   }
   level6(result);
   if(op)
       unary(op, result);
}
static    void    level4(float *result)
{
     float hold;
     level5(result);
     if(*token == '^') {
         get_token();
         level4(&hold);
         arith('^', result, &hold);
     }
}

static   void level3(float *result)
{
   register char op;
   float hold;
   level4(result);
   while((op = *token) == '*' || op == '/' || op == '%') {



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

        get_token();
        level4(&hold);
        arith(op, result, &hold);
    }
}

static    void    level2(float *result)
{
   register char op;
   float hold;
   level3(result);
   while((op = *token) == '+' || op == '-') {
       get_token();
       level3(&hold);
       arith(op, result, &hold);
     }
}
static    void    level1(float *result)
{
   int slot, ttok_type;
   char temp_token[80];
   if(tok_type == VARIABLE) {
       lstrcpy(temp_token, token);
       ttok_type = tok_type;
       slot = *token - 'A';
       get_token();
       if(*token != '=') {
          putback();
          lstrcpy(token, temp_token);
          tok_type = ttok_type;
       } else {
          get_token();
          level2(result);
          vars[slot] = *result;
          return;
       }
   }
   level2(result);
}

static    void  get_exp(float *result)
{
   get_token();
   if(!*token)
       return;
   level1(result);
}

void    entry(HWND hDlg)
{
    float answer;
    register i = 0;
   while(1) {
      prog = buffer;
      if(SendMessage(GetDlgItem(hDlg, 103), EM_GETLINE, i, (LONG)
(LPSTR) buffer) <= 0)
         break;
       get_exp(&answer);
       wsprintf(buffer, "%ld\n", (long) answer);
       SetDlgItemText(hDlg, 118, buffer);
       ++i;



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

    }
}

In alto viene gestita una tabella dei simboli che viene utilizzata dalla funzione GetToken la quale quando
viene chiamata restituisce non solo il TOKEN ma anche il tipo del token.

staticvoid get_token(void)
{
register char *temp;
tok_type = 0;
temp = token;
while(isspace(*prog))
++prog;
if(*prog == '\0') {
tok_type = FINISHED;
return;
}
if(is_in(*prog, "+-/%*^=()")) {
tok_type = DELIMITER;
*temp++ = *prog++;
}
if(*prog == '!') {
while(!isdelim(*prog))
*temp++ = *prog++;
tok_type = VARIABLE;
}
if(isdigit(*prog)) {
while(!isdelim(*prog))
*temp++ = *prog++;
tok_type = NUMBER;
}
if(*prog == ':') {
while(!isdelim(*prog))
*temp++ = *prog++;
tok_type = LABEL;
}
if(*prog == '$') {
while(!isdelim(*prog))
*temp++ = *prog++;
tok_type = COUNTER;
}
if(isalpha(*prog)) {
searchfunction();
while(!isdelim(*prog))
*temp++ = *prog++;
tok_type = INSTRUCTION;
}
*temp = '\0';
}

Come potete vedere in alto anche i tipi di TOKEN sono definiti.

#defineERROR0
#defineDELIMITER1
#defineVARIABLE2
#defineNUMBER3
#defineINSTRUCTION4
#defineLABEL5
#defineCOUNTER6
#defineFINISHED7
#defineINSTR_SE0



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

#defineINSTR_INIZIOSE1
#defineINSTR_FINESE2
#defineINSTR_ALTRIMENTI3
#defineINSTR_ESEGUI4
#defineINSTR_VAIA5
#defineINSTR_STAMPA6

Infatti il nostro parser permette di inserire nei costrutti anche variabili del tipo :

!A = 23 + !U

Le variabili numeriche ho stabilito che devono iniziare con !

if(*prog == '!') {
     while(!isdelim(*prog))
         *temp++ = *prog++;
     tok_type = VARIABLE;
}

prog è il buffer dove tutto il programma viene letto e che man mano che il tokenizzatore va avanti a
riconoscere ed ad intepretare il puntatore a questo viene
incrementato.
Come potete vedere se il carattere puntato ad prog e' ! allora continua a leggere il nome della
variabile per cui al ritorno da GetToken avremo in tok_type il valore VARIABLE e in token il
valore del token.
Se ci fosse un costrutto del tipo :

STAMPA !A

chiameremmo la prima volta GetToken il quale ci restituirebbe :

tok_type = INSTRUCTION
token = STAMPA

da cui capiremmo che abbiamo a che fare con un istruzione e precisamente con STAMPA.
Il nostro diagramma logico del linguaggio ci potrebbe dire che dopo a tale costrutto potremmo
avere una variabile, una stringa o un numero, negli altri casi ci sarebbe errore.
Richiamiamo GetToken la quale trovando !A ci restituirebbe :

tok_type = VARIABLE
token = NOMEVARIABILE

Dopo aver visto che si tratta di una variabile potremmo volere che questa valutazione venisse
fatta dall'analizzatore matematico.
Quando si chiama GetToken il puntatore del programma viene spostato all'istruzione successiva.

static void putback(void)
{
  char *t;
  t = token;
  for(;*t;t++)
  prog--;
}

putback fa in modo che il programma torni al token precedente per cui dopo aver trovato la
variabile faciamo arretrare il programma e richiamiamo il parser matematico.

static void get_exp(float *result)
{
get_token();
if(!*token)



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

return;
level1(result);
}

il quale ci darà in result il valore dell'espressione valutata.
Ora che abbiamo visto la struttura generale del parser possiamo vedere la specializzazione che lo
spinge a diventare uno strumento hacker.
Come abbiamo visto a questo punto possiamo inserire qualsiasi funzione specificando la sua
sintassi e scrivendo il codice che deve essere eseguito.
Chiaramente le funzionalità nel nostro caso dovranno essere implementate o mediante una
libreria socket oppure utilizzando wincap.
A seconda della scelta fatta dovremo aggiungere anche alcune tipologie complesse che sono
visualizzabili come strutture non come variabili numeriche o stringa normali.
Ma ora iniziamo a creare la sintassi del linguaggio e le loro funzioni di gestione.
Partiamo da quelle legate alla gestione dei canali di comunicazione.




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book




LE PORTE USATE DA TCP & UDP

TCP 0 Reserved                              TCP 64 Communications Integrator (CI)
TCP 1 Port Service Multiplexer              TCP 65 TACACS-Database Service
TCP 2 Management Utility                    TCP 66 Oracle SQL*NET
TCP 3 Compression Process                   TCP 67 Bootstrap Protocol Server
TCP 4 Unassigned                            TCP 68 Bootstrap Protocol Client
TCP 5 Remote Job Entry                      TCP 69 Trivial File Transfer
TCP 6 Unassigned                            TCP 70 Gopher
TCP 7 Echo                                  TCP 71 Remote Job Service
TCP 8 Unassigned                            TCP 72 Remote Job Service
TCP 9 Discard                               TCP 73 Remote Job Service
TCP 10 Unassigned                           TCP 74 Remote Job Service
TCP 11 Active Users                         TCP 75 any private dial out service
TCP 12 Unassigned                           TCP 76 Distributed External Object
TCP 13 Daytime (RFC 867)                    Store
TCP 14 Unassigned                           TCP 77 any private RJE service
TCP 15 Unassigned [was netstat]             TCP 78 vettcp
TCP 16 Unassigned                           TCP 79 Finger
TCP 17 Quote of the Day                     TCP 80 World Wide Web HTTP
TCP 18 Message Send Protocol                TCP 81 HOSTS2 Name Server
TCP 19 Character Generator                  TCP 82 XFER Utility
TCP 20 File Transfer [Default Data]         TCP 83 MIT ML Device
TCP 21 File Transfer [Control]              TCP 84 Common Trace Facility
TCP 22 SSH Remote Login Protocol            TCP 85 MIT ML Device
TCP 23 Telnet                               TCP 86 Micro Focus Cobol
TCP 24 any private mail system              TCP 87 any private terminal link
TCP 25 Simple Mail Transfer                 TCP 88 Kerberos
TCP 26 Unassigned                           TCP 89 SU/MIT Telnet Gateway
TCP 27 NSW User System FE                   TCP 90 DNSIX Securit Attribute Token
TCP 28 Unassigned                           Map
TCP 29 MSG ICP                              TCP 91 MIT Dover Spooler
TCP 30 Unassigned                           TCP 92 Network Printing Protocol
TCP 31 MSG Authentication                   TCP 93 Device Control Protocol
TCP 32 Unassigned                           TCP 94 Tivoli Object Dispatcher
TCP 33 Display Support Protocol             TCP 95 SUPDUP
TCP 34 Unassigned                           TCP 96 DIXIE Protocol Specification
TCP 35 any private printer server           TCP 97 Swift Remote Virtural File
TCP 36 Unassigned                           Protocol
TCP 37 Time                                 TCP 98 TAC News
TCP 38 Route Access Protocol                TCP 99 Metagram Relay
TCP 39 Resource Location Protocol           TCP 100 [unauthorized use]
TCP 40 Unassigned                           TCP 101 NIC Host Name Server
TCP 41 Graphics                             TCP 102 ISO-TSAP Class 0
TCP 42 Host Name Server                     TCP 103 Genesis Point-to-Point Trans
TCP 43 WhoIs                                Net
TCP 44 MPM FLAGS Protocol                   TCP 104 ACR-NEMA Digital Imag. &
TCP 45 Message Processing Module            Comm. 300
[recv]                                      TCP 105 Mailbox Name Nameserver
TCP 46 MPM [default send]                   TCP 106 3COM-TSMUX
TCP 47 NI FTP                               TCP 107 Remote Telnet Service
TCP 48 Digital Audit Daemon                 TCP 108 SNA Gateway Access Server
TCP 49 Login Host Protocol (TACACS)         TCP 109 Post Office Protocol -
TCP 50 Remote Mail Checking Protocol        Version 2
TCP 51 IMP Logical Address                  TCP 110 Post Office Protocol -
Maintenance                                 Version 3
TCP 52 XNS Time Protocol                    TCP 111 SUN Remote Procedure Call
TCP 53 Domain Name Server                   TCP 112 McIDAS Data Transmission
TCP 54 XNS Clearinghouse                    Protocol
TCP 55 ISI Graphics Language                TCP 113 Authentication Service
TCP 56 XNS Authentication                   TCP 114 Audio News Multicast
TCP 57 any private terminal access          TCP 115 Simple File Transfer Protocol
TCP 58 XNS Mail                             TCP 116 ANSA REX Notify
TCP 59 any private file service             TCP 117 UUCP Path Service
TCP 60 Unassigned                           TCP 118 SQL Services
TCP 61 NI MAIL                              TCP 119 Network News Transfer
TCP 62 ACA Services                         Protocol
TCP 63 whois++                              TCP 120 CFDPTKT




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 121 Encore Expedited Remote             TCP 189 Queued File Transport
Pro.Call                                    TCP 190 Gateway Access Control
TCP 122 SMAKYNET                            Protocol
TCP 123 Network Time Protocol               TCP 191 Prospero Directory Service
TCP 124 ANSA REX Trader                     TCP 192 OSU Network Monitoring System
TCP 125 Locus PC-Interface Net Map          TCP 193 Spider Remote Monitoring
Ser                                         Protocol
TCP 126 Unisys Unitary Login                TCP 194 Internet Relay Chat Protocol
TCP 127 Locus PC-Interface Conn             TCP 195 DNSIX Network Level Module
Server                                      Audit
TCP 128 GSS X License Verification          TCP 196 DNSIX Session Mgt Module
TCP 129 Password Generator Protocol         Audit Redir
TCP 130 cisco FNATIVE                       TCP 197 Directory Location Service
TCP 131 cisco TNATIVE                       TCP 198 Directory Location Service
TCP 132 cisco SYSMAINT                      Monitor
TCP 133 Statistics Service                  TCP 199 SMUX
TCP 134 INGRES-NET Service                  TCP 200 IBM System Resource
TCP 135 DCE endpoint resolution             Controller
TCP 136 PROFILE Naming System               TCP 201 AppleTalk Routing Maintenance
TCP 137 NETBIOS Name Service                TCP 202 AppleTalk Name Binding
TCP 138 NETBIOS Datagram Service            TCP 203 AppleTalk Unused
TCP 139 NETBIOS Session Service             TCP 204 AppleTalk Echo
TCP 140 EMFIS Data Service                  TCP 205 AppleTalk Unused
TCP 141 EMFIS Control Service               TCP 206 AppleTalk Zone Information
TCP 142 Britton-Lee IDM                     TCP 207 AppleTalk Unused
TCP 143 Internet Message Access             TCP 208 AppleTalk Unused
Protocol                                    TCP 209 The Quick Mail Transfer
TCP 144 Universal Management                Protocol
Architecture                                TCP 210 ANSI Z39.50
TCP 145 UAAC Protocol                       TCP 211 Texas Instruments 914C/G
TCP 146 ISO-IP0                             Terminal
TCP 147 ISO-IP                              TCP 212 ATEXSSTR
TCP 148 Jargon                              TCP 213 IPX
TCP 149 AED 512 Emulation Service           TCP 214 VM PWSCS
TCP 150 SQL-NET                             TCP 215 Insignia Solutions
TCP 151 HEMS                                TCP 216 Computer Associates Int'l
TCP 152 Background File Transfer            License Server
Program                                     TCP 217 dBASE Unix
TCP 153 SGMP                                TCP 218 Netix Message Posting
TCP 154 NETSC                               Protocol
TCP 155 NETSC                               TCP 219 Unisys ARPs
TCP 156 SQL Service                         TCP 220 Interactive Mail Access
TCP 157 KNET/VM Command/Message             Protocol v3
Protocol                                    TCP 221 Berkeley rlogind with SPX
TCP 158 PCMail Server                       auth
TCP 159 NSS-Routing                         TCP 222 Berkeley rshd with SPX auth
TCP 160 SGMP-TRAPS                          TCP 223 Certificate Distribution
TCP 161 SNMP                                Center
TCP 162 SNMPTRAP                            TCP 224 masqdialer
TCP 163 CMIP/TCP Manager                    TCP 242 Direct
TCP 164 CMIP/TCP Agent                      TCP 243 Survey Measurement
TCP 165 Xerox                               TCP 244 inbusiness
TCP 166 Sirius Systems                      TCP 245 LINK
TCP 167 NAMP                                TCP 246 Display Systems Protocol
TCP 168 RSVD                                TCP 247 SUBNTBCST_TFTP
TCP 169 SEND                                TCP 248 bhfhs
TCP 170 Network PostScript                  TCP 256 RAP/Checkpoint SNMP
TCP 171 Network Innovations Multiplex       TCP 257 Secure Electronic Transaction
TCP 172 Network Innovations CL/1            TCP 258 Yak Winsock Personal Chat
TCP 173 Xyplex                              TCP 259 Efficient Short Remote
TCP 174 MAILQ                               Operations
TCP 175 VMNET                               TCP 260 Openport
TCP 176 GENRAD-MUX                          TCP 261 IIOP Name Service over
TCP 177 X Display Manager Control           TLS/SSL
Protocol                                    TCP 262 Arcisdms
TCP 178 NextStep Window Server              TCP 263 HDAP
TCP 179 Border Gateway Protocol             TCP 264 BGMP
TCP 180 Intergraph                          TCP 265 X-Bone CTL
TCP 181 Unify                               TCP 266 SCSI on ST
TCP 182 Unisys Audit SITP                   TCP 267 Tobit David Service Layer
TCP 183 OCBinder                            TCP 268 Tobit David Replica
TCP 184 OCServer                            TCP 280 HTTP-mgmt
TCP 185 Remote-KIS                          TCP 281 Personal Link
TCP 186 KIS Protocol                        TCP 282 Cable Port A/X
TCP 187 Application Communication           TCP 283 rescap
Interface                                   TCP 284 corerjd
TCP 188 Plus Five's MUMPS                   TCP 286 FXP-1



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 287 K-BLOCK                             TCP 396 Novell Netware over IP
TCP 308 Novastor Backup                     TCP 397 Multi Protocol Trans. Net.
TCP 309 EntrustTime                         TCP 398 Kryptolan
TCP 310 bhmds                               TCP 399 ISO Transport Class 2 Non-
TCP 311 AppleShare IP WebAdmin              Control over TCP
TCP 312 VSLMP                               TCP 400 Workstation Solutions
TCP 313 Magenta Logic                       TCP 401 Uninterruptible Power Supply
TCP 314 Opalis Robot                        TCP 402 Genie Protocol
TCP 315 DPSI                                TCP 403 decap
TCP 316 decAuth                             TCP 404 nced
TCP 317 Zannet                              TCP 405 ncld
TCP 318 PKIX TimeStamp                      TCP 406 Interactive Mail Support
TCP 319 PTP Event                           Protocol
TCP 320 PTP General                         TCP 407 Timbuktu
TCP 321 PIP                                 TCP 408 Prospero Resource Manager
TCP 322 RTSPS                               Sys. Man.
TCP 333 Texar Security Port                 TCP 409 Prospero Resource Manager
TCP 344 Prospero Data Access Protocol       Node Man.
TCP 345 Perf Analysis Workbench             TCP 410 DECLadebug Remote Debug
TCP 346 Zebra server                        Protocol
TCP 347 Fatmen Server                       TCP 411 Remote MT Protocol
TCP 348 Cabletron Management Protocol       TCP 412 Trap Convention Port
TCP 349 mftp                                TCP 413 SMSP
TCP 350 MATIP Type A                        TCP 414 InfoSeek
TCP 351 bhoetty (added 5/21/97)             TCP 415 BNet
TCP 352 bhoedap4 (added 5/21/97)            TCP 416 Silverplatter
TCP 353 NDSAUTH                             TCP 417 Onmux
TCP 354 bh611                               TCP 418 Hyper-G
TCP 355 DATEX-ASN                           TCP 419 Ariel
TCP 356 Cloanto Net 1                       TCP 420 SMPTE
TCP 357 bhevent                             TCP 421 Ariel
TCP 358 Shrinkwrap                          TCP 422 Ariel
TCP 359 Tenebris Network Trace              TCP 423 IBM Operations Planning and
Service                                     Control Start
TCP 360 scoi2odialog                        TCP 424 IBM Operations Planning and
TCP 361 Semantix                            Control Track
TCP 362 SRS Send                            TCP 425 ICAD
TCP 363 RSVP Tunnel                         TCP 426 smartsdp
TCP 364 Aurora CMGR                         TCP 427 Server Location
TCP 365 DTK                                 TCP 428 OCS_CMU
TCP 366 ODMR                                TCP 429 OCS_AMU
TCP 367 MortgageWare                        TCP 430 UTMPSD
TCP 368 QbikGDP                             TCP 431 UTMPCD
TCP 369 rpc2portmap                         TCP 432 IASD
TCP 370 codaauth2                           TCP 433 NNSP
TCP 371 Clearcase                           TCP 434 MobileIP-Agent
TCP 372 ListProcessor                       TCP 435 MobilIP-MN
TCP 373 Legent Corporation                  TCP 436 DNA-CML
TCP 374 Legent Corporation                  TCP 437 comscm
TCP 375 Hassle                              TCP 438 dsfgw
TCP 376 Amiga Envoy Network Inquiry         TCP 439 dasp
Proto                                       TCP 440 sgcp
TCP 377 NEC Corporation                     TCP 441 decvms-sysmgt
TCP 378 NEC Corporation                     TCP 442 cvc_hostd
TCP 379 TIA/EIA/IS-99 modem client          TCP 443 HTTP protocol over TLS/SSL
TCP 380 TIA/EIA/IS-99 modem server          TCP 444 Simple Network Paging
TCP 381 hp performance data collector       Protocol
TCP 382 hp performance data managed         TCP 445 Microsoft-DS
node                                        TCP 446 DDM-RDB
TCP 383 hp performance data alarm           TCP 447 DDM-RFM
manager                                     TCP 448 DDM-SSL
TCP 384 A Remote Network Server             TCP 449 AS Server Mapper
System                                      TCP 450 TServer
TCP 385 IBM Application                     TCP 451 Cray Network Semaphore server
TCP 386 ASA Message Router Object           TCP 452 Cray SFS config server
Def.                                        TCP 453 CreativeServer
TCP 387 Appletalk Update-Based              TCP 454 ContentServer
Routing Pro.                                TCP 455 CreativePartnr
TCP 388 Unidata LDM                         TCP 456 macon-tcp
TCP 389 Lightweight Directory Access        TCP 457 scohelp
Protocol                                    TCP 458 apple quick time
TCP 390 UIS                                 TCP 459 ampr-rcmd
TCP 391 SynOptics SNMP Relay Port           TCP 460 skronk
TCP 392 SynOptics Port Broker Port          TCP 461 DataRampSrv
TCP 393 Data Interpretation System          TCP 462 DataRampSrvSec
TCP 394 EMBL Nucleic Data Transfer          TCP 463 alpes
TCP 395 NETscout Control Protocol           TCP 464 kpasswd



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 465 SMTPS                               TCP 537 Networked Media Streaming
TCP 466 digital-vrc                         Protocol
TCP 467 mylex-mapd                          TCP 538 gdomap
TCP 468 proturis                            TCP 539 Apertus Technologies Load
TCP 469 Radio Control Protocol              Determination
TCP 470 scx-proxy                           TCP 540 uucpd
TCP 471 Mondex                              TCP 541 uucp-rlogin
TCP 472 ljk-login                           TCP 542 commerce
TCP 473 hybrid-pop                          TCP 543 kerberos (v4/v5)
TCP 474 tn-tl-w1                            TCP 544 krcmd
TCP 475 tcpnethaspsrv                       TCP 545 appleqtcsrvr
TCP 476 tn-tl-fd1                           TCP 546 DHCPv6 Client
TCP 477 ss7ns                               TCP 547 DHCPv6 Server
TCP 478 spsc                                TCP 548 AFP over TCP
TCP 479 iafserver                           TCP 549 IDFP
TCP 480 iafdbase                            TCP 550 new-who
TCP 481 Ph service                          TCP 551 cybercash
TCP 482 bgs-nsi                             TCP 552 deviceshare
TCP 483 ulpnet                              TCP 553 pirp
TCP 484 Integra Software Management         TCP 554 Real Time Stream Control
Environment                                 Protocol
TCP 485 Air Soft Power Burst                TCP 555 phAse Zero backdoor (Win 9x,
TCP 486 avian                               NT) / dsf
TCP 487 saft Simple Asynchronous File       TCP 556 rfs server
Transfer                                    TCP 557 openvms-sysipc
TCP 488 gss-HTTP                            TCP 558 SDNSKMP
TCP 489 nest-protocol                       TCP 559 TEEDTAP
TCP 490 micom-pfs                           TCP 560 rmonitord
TCP 491 go-login                            TCP 561 monitor
TCP 492 Transport Independent               TCP 562 chcmd
Convergence for FNA                         TCP 563 nntp protocol over TLS/SSL
TCP 493 Transport Independent               TCP 564 plan 9 file service
Convergence for FNA                         TCP 565 whoami
TCP 494 POV-Ray                             TCP 566 streettalk
TCP 495 intecourier                         TCP 567 banyan-rpc
TCP 496 PIM-RP-DISC                         TCP 568 microsoft shuttle
TCP 497 dantz                               TCP 569 microsoft rome
TCP 498 siam                                TCP 570 demon
TCP 499 ISO ILL Protocol                    TCP 571 udemon
TCP 500 isakmp                              TCP 572 sonar
TCP 501 STMF                                TCP 573 banyan-vip
TCP 502 asa-appl-proto                      TCP 574 FTP Software Agent System
TCP 503 Intrinsa                            TCP 575 VEMMI
TCP 504 citadel                             TCP 576 ipcd
TCP 505 mailbox-lm                          TCP 577 vnas
TCP 506 ohimsrv                             TCP 578 ipdd
TCP 507 crs                                 TCP 579 decbsrv
TCP 508 xvttp                               TCP 580 SNTP HEARTBEAT
TCP 509 snare                               TCP 581 Bundle Discovery Protocol
TCP 510 FirstClass Protocol                 TCP 582 SCC Security
TCP 511 PassGo                              TCP 583 Philips Video-Conferencing
TCP 512 Remote process execution            TCP 584 Key Server
TCP 513 Remote Login                        TCP 585 IMAP4+SSL
TCP 514 Remote Shell                        TCP 586 Password Change
TCP 515 spooler                             TCP 587 Submission
TCP 516 videotex                            TCP 588 CAL
TCP 517 like tenex link but across          TCP 589 EyeLink
TCP 518 talkd                               TCP 590 TNS CML
TCP 519 unixtime                            TCP 591 FileMaker Inc. - HTTP
TCP 520 extended file name server           Alternate
TCP 521 ripng                               TCP 592 Eudora Set
TCP 522 ULP                                 TCP 593 HTTP RPC Ep Map
TCP 523 IBM-DB2                             TCP 594 TPIP
TCP 524 NCP                                 TCP 595 CAB Protocol
TCP 525 timeserver                          TCP 596 SMSD
TCP 526 newdate                             TCP 597 PTC Name Service
TCP 527 Stock IXChange                      TCP 598 SCO Web Server Manager 3
TCP 528 Customer IXChange                   TCP 599 Aeolon Core Protocol
TCP 529 IRC-SERV                            TCP 600 Sun IPC server
TCP 530 rpc                                 TCP 606 Cray Unified Resource Manager
TCP 531 chat                                TCP 607 nqs
TCP 532 readnews                            TCP 608 Sender-Initiated/Unsolicited
TCP 533 for emergency broadcasts            File Transfer
TCP 534 MegaMedia Admin                     TCP 609 npmp-trap
TCP 535 iiop                                TCP 610 npmp-local
TCP 536 opalis-rdv                          TCP 611 npmp-gui
                                            TCP 612 HMMP Indication



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 613 HMMP Operation                      TCP 683 CORBA IIOP
TCP 614 SSLshell                            TCP 684 CORBA IIOP SSL
TCP 615 Internet Configuration              TCP 685 MDC Port Mapper
Manager                                     TCP 686 Hardware Control Protocol
TCP 616 SCO System Administration           Wismar
Server                                      TCP 687 asipregistry
TCP 617 SCO Desktop Administration          TCP 688 REALM-RUSD
Server                                      TCP 689 NMAP
TCP 618 DEI-ICDA                            TCP 690 VATP
TCP 619 Digital EVM                         TCP 691 MS Exchange Routing
TCP 620 SCO WebServer Manager               TCP 692 Hyperwave-ISP
TCP 621 ESCP                                TCP 693 connendp
TCP 622 Collaborator                        TCP 694 ha-cluster
TCP 623 Aux Bus Shunt                       TCP 695 IEEE-MMS-SSL
TCP 624 Crypto Admin                        TCP 696 RUSHD
TCP 625 DEC DLM                             TCP 697 UUIDGEN
TCP 626 ASIA                                TCP 698 OLSR
TCP 627 PassGo Tivoli                       TCP 704 errlog copy/server daemon
TCP 628 QMQP                                TCP 705 AgentX
TCP 629 3Com AMP3                           TCP 706 SILC
TCP 630 RDA                                 TCP 707 Borland DSJ
TCP 631 IPP (Internet Printing              TCP 709 Entrust Key Management
Protocol)                                   Service Handler
TCP 632 bmpp                                TCP 710 Entrust Administration
TCP 633 Service Status update               Service Handler
(Sterling Software)                         TCP 711 Cisco TDP
TCP 634 ginad                               TCP 729 IBM NetView DM/6000
TCP 635 RLZ DBase                           Server/Client
TCP 636 ldap protocol over TLS/SSL          TCP 730 IBM NetView DM/6000 send/tcp
TCP 637 lanserver                           TCP 731 IBM NetView DM/6000
TCP 638 mcns-sec                            receive/tcp
TCP 639 MSDP                                TCP 740 (old) NETscout Control
TCP 640 entrust-sps                         Protocol (old)
TCP 641 repcmd                              TCP 741 netGW
TCP 642 ESRO-EMSDP V1.3                     TCP 742 Network based Rev. Cont. Sys.
TCP 643 SANity                              TCP 744 Flexible License Manager
TCP 644 dwr                                 TCP 747 Fujitsu Device Control
TCP 645 PSSC                                TCP 748 Russell Info Sci Calendar
TCP 646 LDP                                 Manager
TCP 647 DHCP Failover                       TCP 749 kerberos administration
TCP 648 Registry Registrar Protocol         TCP 750 rfile
(RRP)                                       TCP 751 pump
TCP 649 Aminet                              TCP 752 Kerberos password server
TCP 650 OBEX                                TCP 753 Kerberos userreg server
TCP 651 IEEE MMS                            TCP 754 send
TCP 652 UDLR_DTCP                           TCP 758 nlogin
TCP 653 RepCmd                              TCP 759 con
TCP 654 AODV                                TCP 760 kreg, kerberos/4 registration
TCP 655 TINC                                TCP 761 kpwd, Kerberos/4 password
TCP 656 SPMP                                TCP 762 quotad
TCP 657 RMC                                 TCP 763 cycleserv
TCP 658 TenFold                             TCP 764 omserv
TCP 659 URL Rendezvous                      TCP 765 webster
TCP 660 MacOS Server Admin                  TCP 767 phone
TCP 661 HAP                                 TCP 769 vid
TCP 662 PFTP                                TCP 770 cadlock
TCP 663 PureNoise                           TCP 771 rtip
TCP 664 Secure Aux Bus                      TCP 772 cycleserv2
TCP 665 Sun DR                              TCP 773 submit
TCP 666 doom Id Software                    TCP 774 rpasswd
TCP 667 campaign contribution               TCP 775 entomb
disclosures - SDR Technologies              TCP 776 wpages
TCP 668 MeComm                              TCP 777 Multiling HTTP
TCP 669 MeRegister                          TCP 780 wpgs
TCP 670 VACDSM-SWS                          TCP 781 HP performance data collector
TCP 671 VACDSM-APP                          TCP 782 node HP performance data
TCP 672 VPPS-QUA                            managed node
TCP 673 CIMPLEX                             TCP 783 HP performance data alarm
TCP 674 ACAP                                manager
TCP 675 DCTP                                TCP 786 Concert
TCP 676 VPPS Via                            TCP 787 QSC
TCP 677 Virtual Presence Protocol           TCP 799 Remotely Possible
TCP 678 GNU Gereration Foundation NCP       TCP 800 mdbs_daemon
TCP 679 MRM                                 TCP 801 device
TCP 680 entrust-aaas                        TCP 810 FCP
TCP 681 entrust-aams                        TCP 828 itm-mcell-s
TCP 682 XFR                                 TCP 829 PKIX-3 CA/RA



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 871 SUP server                          TCP 1084 Anasoft License Manager
TCP 873 rsync                               TCP 1085 Web Objects
TCP 886 ICL coNETion locate server          TCP 1086 CPL Scrambler Logging
TCP 887 ICL coNETion server info            TCP 1087 CPL Scrambler Internal
TCP 888 CD Database Protocol                TCP 1088 CPL Scrambler Alarm Log
TCP 900 OMG Initial Refs                    TCP 1089 FF Annunciation
TCP 901 SMPNAMERES                          TCP 1090 FF Fieldbus Message
TCP 902 IDEAFARM-CHAT                       Specification
TCP 903 IDEAFARM-CATCH                      TCP 1091 FF System Management
TCP 911 xact-backup                         TCP 1092 OBRPD
TCP 989 ftp protocol data over              TCP 1093 PROOFD
TLS/SSL                                     TCP 1094 ROOTD
TCP 990 ftp protocol control over           TCP 1095 NICELink
TLS/SSL                                     TCP 1096 Common Name Resolution
TCP 991 Netnews Administration System       Protocol
TCP 992 telnet protocol over TLS/SSL        TCP 1097 Sun Cluster Manager
TCP 993 imap4 protocol over TLS/SSL         TCP 1098 RMI Activation
TCP 994 irc protocol over TLS/SSL           TCP 1099 RMI Registry
TCP 995 pop3 protocol over TLS/SSL          TCP 1100 MCTP
TCP 996 vsinet                              TCP 1101 PT2-DISCOVER
TCP 997 maitrd                              TCP 1102 ADOBE SERVER 1
TCP 998 busboy                              TCP 1103 ADOBE SERVER 2
TCP 999 puprouter                           TCP 1104 XRL
TCP 1000 cadlock                            TCP 1105 FTRANHC
TCP 1008 UFS-aware server                   TCP 1106 ISOIPSIGPORT-1
TCP 1010 surf                               TCP 1107 ISOIPSIGPORT-2
TCP 1011 Doly (Windows Trojan)              TCP 1108 ratio-adp
TCP 1023 Reserved                           TCP 1109 Pop with Kerberos
TCP 1024 Reserved                           TCP 1110 Cluster status info
TCP 1025 network blackjack                  TCP 1111 LM Social Server
TCP 1026 remote_login                       TCP 1112 Intelligent Communication
network_terminal                            Protocol
TCP 1030 BBN IAD                            TCP 1114 Mini SQL
TCP 1031 BBN IAD                            TCP 1115 ARDUS Transfer
TCP 1032 BBN IAD                            TCP 1116 ARDUS Control
TCP 1047 Sun's NEO Object Request           TCP 1117 ARDUS Multicast Transfer
Broker                                      TCP 1123 Murray
TCP 1048 Sun's NEO Object Request           TCP 1127 SUP debugging
Broker                                      TCP 1155 Network File Access
TCP 1049 Tobit David Postman VPMN           TCP 1161 Health Polling
TCP 1050 CORBA Management Agent             TCP 1162 Health Trap
TCP 1051 Optima VNET                        TCP 1169 TRIPWIRE
TCP 1052 Dynamic DNS Tools                  TCP 1178 SKK (kanji input)
TCP 1053 Remote Assistant (RA)              TCP 1180 Millicent Client Proxy
TCP 1054 BRVREAD                            TCP 1188 HP Web Admin
TCP 1055 ANSYS - License Manager            TCP 1200 SCOL
TCP 1056 VFO                                TCP 1201 Nucleus Sand
TCP 1057 STARTRON                           TCP 1202 caiccipc
TCP 1058 nim                                TCP 1203 License Validation
TCP 1059 nimreg                             TCP 1204 Log Request Listener
TCP 1060 POLESTAR                           TCP 1205 Accord-MGC
TCP 1061 KIOSK                              TCP 1206 Anthony Data
TCP 1062 Veracity                           TCP 1207 MetaSage
TCP 1063 KyoceraNetDev                      TCP 1208 SEAGULL AIS
TCP 1064 JSTEL                              TCP 1209 IPCD3
TCP 1065 SYSCOMLAN                          TCP 1210 EOSS
TCP 1066 FPO-FNS                            TCP 1211 Groove DPP
TCP 1067 Installation Bootstrap             TCP 1212 lupa
Proto. Serv.                                TCP 1213 MPC LIFENET
TCP 1068 Installation Bootstrap             TCP 1214 KAZAA (Morpheus)
Proto. Cli.                                 TCP 1215 scanSTAT 1.0
TCP 1069 COGNEX-INSIGHT                     TCP 1216 ETEBAC 5
TCP 1070 GMRUpdateSERV                      TCP 1217 HPSS-NDAPI
TCP 1071 BSQUARE-VOIP                       TCP 1218 AeroFlight-ADs
TCP 1072 CARDAX                             TCP 1219 AeroFlight-Ret
TCP 1073 BridgeControl                      TCP 1220 QT SERVER ADMIN
TCP 1074 FASTechnologies License            TCP 1221 SweetWARE Apps
Manager                                     TCP 1222 SNI R&D network
TCP 1075 RDRMSHC                            TCP 1223 TGP
TCP 1076 DAB STI-C                          TCP 1224 VPNz
TCP 1077 IMGames                            TCP 1225 SLINKYSEARCH
TCP 1078 eManageCstp                        TCP 1226 STGXFWS
TCP 1079 ASPROVATalk                        TCP 1227 DNS2Go
TCP 1080 Socks                              TCP 1228 FLORENCE
TCP 1081 PVUNIWIEN                          TCP 1229 Novell ZFS
TCP 1082 AMT-ESD-PROT                       TCP 1234 Infoseek Search Agent
TCP 1083 Anasoft License Manager            TCP 1239 NMSD



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 1241 remote message service             TCP 1394 Network Log Client
TCP 1243 SubSeven (Windows Trojan)          TCP 1395 PC Workstation Manager
TCP 1245 Subseven backdoor remote           software
access tool                                 TCP 1396 DVL Active Mail
TCP 1248 hermes                             TCP 1397 Audio Active Mail
TCP 1300 H323 Host Call Secure              TCP 1398 Video Active Mail
TCP 1310 Husky                              TCP 1399 Cadkey License Manager
TCP 1311 RxMon                              TCP 1400 Cadkey Tablet Daemon
TCP 1312 STI Envision                       TCP 1401 Goldleaf License Manager
TCP 1313 BMC_PATROLDB                       TCP 1402 Prospero Resource Manager
TCP 1314 Photoscript Distributed            TCP 1403 Prospero Resource Manager
Printing System                             TCP 1404 Infinite Graphics License
TCP 1319 Panja-ICSP                         Manager
TCP 1320 Panja-AXBNET                       TCP 1405 IBM Remote Execution Starter
TCP 1321 PIP                                TCP 1406 NetLabs License Manager
TCP 1335 Digital Notary Protocol            TCP 1407 DBSA License Manager
TCP 1345 VPJP                               TCP 1408 Sophia License Manager
TCP 1346 Alta Analytics License             TCP 1409 Here License Manager
Manager                                     TCP 1410 HiQ License Manager
TCP 1347 multi media conferencing           TCP 1411 AudioFile
TCP 1348 multi media conferencing           TCP 1412 InnoSys
TCP 1349 Registration Network               TCP 1413 Innosys-ACL
Protocol                                    TCP 1414 IBM MQSeries
TCP 1350 Registration Network               TCP 1415 DBStar
Protocol                                    TCP 1416 Novell LU6.2
TCP 1351 Digital Tool Works (MIT)           TCP 1417 Timbuktu Service 1 Port
TCP 1352 Lotus Notes                        TCP 1418 Timbuktu Service 2 Port
TCP 1353 Relief Consulting                  TCP 1419 Timbuktu Service 3 Port
TCP 1354 RightBrain Software                TCP 1420 Timbuktu Service 4 Port
TCP 1355 Intuitive Edge                     TCP 1421 Gandalf License Manager
TCP 1356 CuillaMartin Company               TCP 1422 Autodesk License Manager
TCP 1357 Electronic PegBoard                TCP 1423 Essbase Arbor Software
TCP 1358 CONNLCLI                           TCP 1424 Hybrid Encryption Protocol
TCP 1359 FTSRV                              TCP 1425 Zion Software License
TCP 1360 MIMER                              Manager
TCP 1361 LinX                               TCP 1426 Satellite-data Acquisition
TCP 1362 TimeFlies                          System 1
TCP 1363 Network DataMover Requester        TCP 1427 mloadd monitoring tool
TCP 1364 Network DataMover Server           TCP 1428 Informatik License Manager
TCP 1365 Network Software Associates        TCP 1429 Hypercom NMS
TCP 1366 Novell NetWare Comm Service        TCP 1430 Hypercom TPDU
Platform                                    TCP 1431 Reverse Gossip Transport
TCP 1367 DCS                                TCP 1432 Blueberry Software License
TCP 1368 ScreenCast                         Manager
TCP 1369 GlobalView to Unix Shell           TCP 1433 Microsoft-SQL-Server
TCP 1370 Unix Shell to GlobalView           TCP 1434 Microsoft-SQL-Monitor
TCP 1371 Fujitsu Config Protocol            TCP 1435 IBM CICS
TCP 1372 Fujitsu Config Protocol            TCP 1436 Satellite-data Acquisition
TCP 1373 Chromagrafx                        System 2
TCP 1374 EPI Software Systems               TCP 1437 Tabula
TCP 1375 Bytex                              TCP 1438 Eicon Security Agent/Server
TCP 1376 IBM Person to Person               TCP 1439 Eicon X25/SNA Gateway
Software                                    TCP 1440 Eicon Service Location
TCP 1377 Cichlid License Manager            Protocol
TCP 1378 Elan License Manager               TCP 1441 Cadis License Management
TCP 1379 Integrity Solutions                TCP 1442 Cadis License Management
TCP 1380 Telesis Network License            TCP 1443 Integrated Engineering
Manager                                     Software
TCP 1381 Apple Network License              TCP 1444 Marcam License Management
Manager                                     TCP 1445 Proxima License Manager
TCP 1382 udt_os                             TCP 1446 Optical Research Associates
TCP 1383 GW Hannaway Network License        License Manager
Manager                                     TCP 1447 Applied Parallel Research LM
TCP 1384 Objective Solutions License        TCP 1448 OpenConnect License Manager
Manager                                     TCP 1449 PEport
TCP 1385 Atex Publishing License            TCP 1450 Tandem Distributed Workbench
Manager                                     Facility
TCP 1386 CheckSum License Manager           TCP 1451 IBM Information Management
TCP 1387 Computer Aided Design              TCP 1452 GTE Government Systems
Software Inc LM                             License Man
TCP 1388 Objective Solutions DataBase       TCP 1453 Genie License Manager
Cache                                       TCP 1454 interHDL License Manager
TCP 1389 Document Manager                   TCP 1455 ESL License Manager
TCP 1390 Storage Controller                 TCP 1456 DCA
TCP 1391 Storage Access Server              TCP 1457 Valisys License Manager
TCP 1392 Print Manager                      TCP 1458 Nichols Research Corp.
TCP 1393 Network Log Server



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 1459 Proshare Notebook                  TCP 1525 Prospero Directory Service
Application                                 non-priv
TCP 1460 Proshare Notebook                  TCP 1526 Prospero Data Access Prot
Application                                 non-priv
TCP 1461 IBM Wireless LAN                   TCP 1527 oracle
TCP 1462 World License Manager              TCP 1528 micautoreg
TCP 1463 Nucleus                            TCP 1529 oracle
TCP 1464 MSL License Manager                TCP 1530 rap-service
TCP 1465 Pipes Platform                     TCP 1531 rap-listen
TCP 1466 Ocean Software License             TCP 1532 miroconnect
Manager                                     TCP 1533 Virtual Places Software
TCP 1467 CSDMBASE                           TCP 1534 micromuse-lm
TCP 1468 CSDM                               TCP 1535 ampr-info
TCP 1469 Active Analysis Limited            TCP 1536 ampr-inter
License Manager                             TCP 1537 isi-lm
TCP 1470 Universal Analytics                TCP 1538 3ds-lm
TCP 1471 csdmbase                           TCP 1539 Intellistor License Manager
TCP 1472 csdm                               TCP 1540 rds
TCP 1473 OpenMath                           TCP 1541 rds2
TCP 1474 Telefinder                         TCP 1542 gridgen-elmd
TCP 1475 Taligent License Manager           TCP 1543 simba-cs
TCP 1476 clvm-cfg                           TCP 1544 aspeclmd
TCP 1477 ms-sna-server                      TCP 1545 vistium-share
TCP 1478 ms-sna-base                        TCP 1546 abbaccuray
TCP 1479 dberegister                        TCP 1547 laplink
TCP 1480 PacerForum                         TCP 1548 Axon License Manager
TCP 1481 AIRS                               TCP 1549 Shiva Hose
TCP 1482 Miteksys License Manager           TCP 1550 Image Storage license
TCP 1483 AFS License Manager                manager 3M Company
TCP 1484 Confluent License Manager          TCP 1551 HECMTL-DB
TCP 1485 LANSource                          TCP 1552 pciarray
TCP 1486 nms_topo_serv                      TCP 1553 sna-cs
TCP 1487 LocalInfoSrvr                      TCP 1554 CACI Products Company
TCP 1488 DocStor                            License Manager
TCP 1489 dmdocbroker                        TCP 1555 livelan
TCP 1490 insitu-conf                        TCP 1556 AshWin CI Tecnologies
TCP 1491 anynetgateway                      TCP 1557 ArborText License Manager
TCP 1492 stone-design-1                     TCP 1558 xingmpeg
TCP 1493 netmap_lm                          TCP 1559 web2host
TCP 1494 Citrix/ica                         TCP 1560 asci-val
TCP 1495 cvc                                TCP 1561 facilityview
TCP 1496 liberty-lm                         TCP 1562 pconnectmgr
TCP 1497 rfx-lm                             TCP 1563 Cadabra License Manager
TCP 1498 Sybase SQL Any                     TCP 1564 Pay-Per-View
TCP 1499 Federico Heinz Consultora          TCP 1565 WinDD
TCP 1500 VLSI License Manager               TCP 1566 CORELVIDEO
TCP 1501 Satellite-data Acquisition         TCP 1567 jlicelmd
System 3                                    TCP 1568 tsspmap
TCP 1502 Shiva                              TCP 1569 ets
TCP 1503 Databeam                           TCP 1570 orbixd
TCP 1504 EVB Software Engineering           TCP 1571 Oracle Remote Data Base
License Manager                             TCP 1572 Chipcom License Manager
TCP 1505 Funk Software Inc.                 TCP 1573 itscomm-ns
TCP 1506 Universal Time daemon (utcd)       TCP 1574 mvel-lm
TCP 1507 symplex                            TCP 1575 oraclenames
TCP 1508 diagmond                           TCP 1576 moldflow-lm
TCP 1509 Robcad Ltd. License Manager        TCP 1577 hypercube-lm
TCP 1510 Midland Valley Exploration         TCP 1578 Jacobus License Manager
Ltd. Lic. Man.                              TCP 1579 ioc-sea-lm
TCP 1511 3l-l1                              TCP 1580 tn-tl-r1
TCP 1512 Microsoft's Windows Internet       TCP 1581 MIL-2045-47001
Name Service                                TCP 1582 MSIMS
TCP 1513 Fujitsu Systems Business of        TCP 1583 simbaexpress
America Inc                                 TCP 1584 tn-tl-fd2
TCP 1514 Fujitsu Systems Business of        TCP 1585 intv
America Inc                                 TCP 1586 ibm-abtact
TCP 1515 ifor-protocol                      TCP 1587 pra_elmd
TCP 1516 Virtual Places Audio data          TCP 1588 triquest-lm
TCP 1517 Virtual Places Audio control       TCP 1589 VQP
TCP 1518 Virtual Places Video data          TCP 1590 gemini-lm
TCP 1519 Virtual Places Video control       TCP 1591 ncpm-pm
TCP 1520 atm zip office                     TCP 1592 commonspace
TCP 1521 nCube License Manager              TCP 1593 mainsoft-lm
TCP 1522 Ricardo North America              TCP 1594 sixtrak
License Manager                             TCP 1595 radio
TCP 1523 cichild                            TCP 1596 radio-sm
TCP 1524 ingres                             TCP 1597 orbplus-iiop



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 1598 picknfs                            TCP 1671 netview-aix-11
TCP 1599 simbaservices                      TCP 1672 netview-aix-12
TCP 1600 issd                               TCP 1673 Intel Proshare Multicast
TCP 1601 aas                                TCP 1674 Intel Proshare Multicast
TCP 1602 inspect                            TCP 1675 Pacific Data Products
TCP 1603 pickodbc                           TCP 1676 netcomm1
TCP 1604 icabrowser                         TCP 1677 groupwise
TCP 1605 Salutation Manager                 TCP 1678 prolink
(Salutation Protocol)                       TCP 1679 darcorp-lm
TCP 1606 Salutation Manager (SLM-API)       TCP 1680 microcom-sbp
TCP 1607 stt                                TCP 1681 sd-elmd
TCP 1608 Smart Corp. License Manager        TCP 1682 lanyon-lantern
TCP 1609 isysg-lm                           TCP 1683 ncpm-hip
TCP 1610 taurus-wh                          TCP 1684 SnareSecure
TCP 1611 Inter Library Loan                 TCP 1685 n2nremote
TCP 1612 NetBill Transaction Server         TCP 1686 cvmon
TCP 1613 NetBill Key Repository             TCP 1687 nsjtp-ctrl
TCP 1614 NetBill Credential Server          TCP 1688 nsjtp-data
TCP 1615 NetBill Authorization Server       TCP 1689 firefox
TCP 1616 NetBill Product Server             TCP 1690 ng-umds
TCP 1617 Nimrod Inter-Agent                 TCP 1691 empire-empuma
Communication                               TCP 1692 sstsys-lm
TCP 1618 skytelnet                          TCP 1693 rrirtr
TCP 1619 xs-openstorage                     TCP 1694 rrimwm
TCP 1620 faxportwinport                     TCP 1695 rrilwm
TCP 1621 softdataphone                      TCP 1696 rrifmm
TCP 1622 ontime                             TCP 1697 rrisat
TCP 1623 jaleosnd                           TCP 1698 RSVP-ENCAPSULATION-1
TCP 1624 udp-sr-port                        TCP 1699 RSVP-ENCAPSULATION-2
TCP 1625 svs-omagent                        TCP 1700 mps-raft
TCP 1626 Shockwave                          TCP 1701 l2tp
TCP 1627 T.128 Gateway                      TCP 1702 deskshare
TCP 1628 LonTalk normal                     TCP 1703 hb-engine
TCP 1629 LonTalk urgent                     TCP 1704 bcs-broker
TCP 1630 Oracle Net8 Cman                   TCP 1705 slingshot
TCP 1631 Visit view                         TCP 1706 jetform
TCP 1632 PAMMRATC                           TCP 1707 vdmplay
TCP 1633 PAMMRPC                            TCP 1708 gat-lmd
TCP 1634 Log On America Probe               TCP 1709 centra
TCP 1635 EDB Server 1                       TCP 1710 impera
TCP 1636 CableNet Control Protocol          TCP 1711 pptconference
TCP 1637 CableNet Admin Protocol            TCP 1712 resource monitoring service
TCP 1638 CableNet Info Protocol             TCP 1713 ConferenceTalk
TCP 1639 cert-initiator                     TCP 1714 sesi-lm
TCP 1640 cert-responder                     TCP 1715 houdini-lm
TCP 1641 InVision                           TCP 1716 xmsg
TCP 1642 isis-am                            TCP 1717 fj-hdnet
TCP 1643 isis-ambc                          TCP 1718 h323gatedisc
TCP 1644 Satellite-data Acquisition         TCP 1719 h323gatestat
System 4                                    TCP 1720 h323hostcall
TCP 1645 datametrics                        TCP 1721 caicci
TCP 1646 sa-msg-port                        TCP 1722 HKS License Manager
TCP 1647 rsap                               TCP 1723 pptp
TCP 1648 concurrent-lm                      TCP 1724 csbphonemaster
TCP 1649 kermit                             TCP 1725 iden-ralp
TCP 1650 nkd                                TCP 1726 IBERIAGAMES
TCP 1651 shiva_confsrvr                     TCP 1727 winddx
TCP 1652 xnmp                               TCP 1728 TELINDUS
TCP 1653 alphatech-lm                       TCP 1729 CityNL License Management
TCP 1654 stargatealerts                     TCP 1730 roketz
TCP 1655 dec-mbadmin                        TCP 1731 MSICCP
TCP 1656 dec-mbadmin-h                      TCP 1732 proxim
TCP 1657 fujitsu-mmpdc                      TCP 1733 SIMS - SIIPAT Protocol for
TCP 1658 sixnetudr                          Alarm Transmission
TCP 1659 Silicon Grail License              TCP 1734 Camber Corporation License
Manager                                     Management
TCP 1660 skip-mc-gikreq                     TCP 1735 PrivateChat
TCP 1661 netview-aix-1                      TCP 1736 street-stream
TCP 1662 netview-aix-2                      TCP 1737 ultimad
TCP 1663 netview-aix-3                      TCP 1738 GameGen1
TCP 1664 netview-aix-4                      TCP 1739 webaccess
TCP 1665 netview-aix-5                      TCP 1740 encore
TCP 1666 netview-aix-6                      TCP 1741 cisco-net-mgmt
TCP 1667 netview-aix-7                      TCP 1742 3Com-nsd
TCP 1668 netview-aix-8                      TCP 1743 Cinema Graphics License
TCP 1669 netview-aix-9                      Manager
TCP 1670 netview-aix-10                     TCP 1744 ncpm-ft



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 1745 remote-winsock                     TCP 1817 RKB-OSCS
TCP 1746 ftrapid-1                          TCP 1818 Enhanced Trivial File
TCP 1747 ftrapid-2                          Transfer Protocol
TCP 1748 oracle-em1                         TCP 1819 Plato License Manager
TCP 1749 aspen-services                     TCP 1820 mcagent
TCP 1750 Simple Socket Library's            TCP 1821 donnyworld
PortMaster                                  TCP 1822 es-elmd
TCP 1751 SwiftNet                           TCP 1823 Unisys Natural Language
TCP 1752 Leap of Faith Research             License Manager
License Manager                             TCP 1824 metrics-pas
TCP 1753 Translogic License Manager         TCP 1825 DirecPC Video
TCP 1754 oracle-em2                         TCP 1826 ARDT
TCP 1755 ms-streaming                       TCP 1827 ASI
TCP 1756 capfast-lmd                        TCP 1828 itm-mcell-u
TCP 1757 cnhrp                              TCP 1829 Optika eMedia
TCP 1758 tftp-mcast                         TCP 1830 Oracle Net8 CMan Admin
TCP 1759 SPSS License Manager               TCP 1831 Myrtle
TCP 1760 www-ldap-gw                        TCP 1832 ThoughtTreasure
TCP 1761 cft-0                              TCP 1833 udpradio
TCP 1762 cft-1                              TCP 1834 ARDUS Unicast
TCP 1763 cft-2                              TCP 1835 ARDUS Multicast
TCP 1764 cft-3                              TCP 1836 ste-smsc
TCP 1765 cft-4                              TCP 1837 csoft1
TCP 1766 cft-5                              TCP 1838 TALNET
TCP 1767 cft-6                              TCP 1839 netopia-vo1
TCP 1768 cft-7                              TCP 1840 netopia-vo2
TCP 1769 bmc-net-adm                        TCP 1841 netopia-vo3
TCP 1770 bmc-net-svc                        TCP 1842 netopia-vo4
TCP 1771 vaultbase                          TCP 1843 netopia-vo5
TCP 1772 EssWeb Gateway                     TCP 1844 DirecPC-DLL
TCP 1773 KMSControl                         TCP 1850 GSI
TCP 1774 global-dtserv                      TCP 1851 ctcd
TCP 1776 Federal Emergency Management       TCP 1860 SunSCALAR Services
Information System                          TCP 1861 LeCroy VICP
TCP 1777 powerguardian                      TCP 1862 techra-server
TCP 1778 prodigy-internet                   TCP 1863 MSNP
TCP 1779 pharmasoft                         TCP 1864 Paradym 31 Port
TCP 1780 dpkeyserv                          TCP 1865 ENTP
TCP 1781 answersoft-lm                      TCP 1870 SunSCALAR DNS Service
TCP 1782 hp-hcip                            TCP 1871 Cano Central 0
TCP 1783 Port 04/14/00 fujitsu.co.jp        TCP 1872 Cano Central 1
TCP 1784 Finle License Manager              TCP 1873 Fjmpjps
TCP 1785 Wind River Systems License         TCP 1874 Fjswapsnp
Manager                                     TCP 1881 IBM MQSeries
TCP 1786 funk-logger                        TCP 1895 Vista 4GL
TCP 1787 funk-license                       TCP 1899 MC2Studios
TCP 1788 psmond                             TCP 1900 SSDP
TCP 1789 hello                              TCP 1901 Fujitsu ICL Terminal
TCP 1790 Narrative Media Streaming          Emulator Program A
Protocol                                    TCP 1902 Fujitsu ICL Terminal
TCP 1791 EA1                                Emulator Program B
TCP 1792 ibm-dt-2                           TCP 1903 Local Link Name Resolution
TCP 1793 rsc-robot                          TCP 1904 Fujitsu ICL Terminal
TCP 1794 cera-bcm                           Emulator Program C
TCP 1795 dpi-proxy                          TCP 1905 Secure UP.Link Gateway
TCP 1796 Vocaltec Server                    Protocol
Administration                              TCP 1906 TPortMapperReq
TCP 1797 UMA                                TCP 1907 IntraSTAR
TCP 1798 Event Transfer Protocol            TCP 1908 Dawn
TCP 1799 NETRISK                            TCP 1909 Global World Link
TCP 1800 ANSYS-License manager              TCP 1910 ultrabac
TCP 1801 Microsoft Message Que              TCP 1911 Starlight Networks
TCP 1802 ConComp1                           Multimedia Transport Protocol
TCP 1803 HP-HCIP-GWY                        TCP 1912 rhp-iibp
TCP 1804 ENL                                TCP 1913 armadp
TCP 1805 ENL-Name                           TCP 1914 Elm-Momentum
TCP 1806 Musiconline                        TCP 1915 FACELINK
TCP 1807 Fujitsu Hot Standby Protocol       TCP 1916 Persoft Persona
TCP 1808 Oracle-VP2                         TCP 1917 nOAgent
TCP 1809 Oracle-VP1                         TCP 1918 Candle Directory Service -
TCP 1810 Jerand License Manager             NDS
TCP 1811 Scientia-SDB                       TCP 1919 Candle Directory Service -
TCP 1812 RADIUS                             DCH
TCP 1813 RADIUS Accounting                  TCP 1920 Candle Directory Service -
TCP 1814 TDP Suite                          FERRET
TCP 1815 MMPFT                              TCP 1921 NoAdmin
TCP 1816 HARP                               TCP 1922 Tapestry



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 1923 SPICE                              TCP 2026 scrabble
TCP 1924 XIIP                               TCP 2027 shadowserver
TCP 1930 Drive AppServer                    TCP 2028 submitserver
TCP 1931 AMD SCHED                          TCP 2030 device2
TCP 1944 close-combat                       TCP 2032 blackboard
TCP 1945 dialogic-elmd                      TCP 2033 glogger
TCP 1946 tekpls                             TCP 2034 scoremgr
TCP 1947 hlserver                           TCP 2035 imsldoc
TCP 1948 eye2eye                            TCP 2038 objectmanager
TCP 1949 ISMA Easdaq Live                   TCP 2040 lam
TCP 1950 ISMA Easdaq Test                   TCP 2041 interbase
TCP 1951 bcs-lmserver                       TCP 2042 isis
TCP 1952 mpnjsc                             TCP 2043 isis-bcast
TCP 1953 Rapid Base                         TCP 2044 rimsl
TCP 1961 BTS APPSERVER                      TCP 2045 cdfunc
TCP 1962 BIAP-MP                            TCP 2046 sdfunc
TCP 1963 WebMachine                         TCP 2047 dls
TCP 1964 SOLID E ENGINE                     TCP 2048 dls-monitor
TCP 1965 Tivoli NPM                         TCP 2049 Network File System - Sun
TCP 1966 Slush                              Microsystems
TCP 1967 SNS Quote                          TCP 2053 Kerberos de-multiplexer
TCP 1972 Cache                              TCP 2054 distrib-net
TCP 1973 Data Link Switching Remote         TCP 2065 Data Link Switch Read Port
Access Protocol                             Number
TCP 1974 DRP                                TCP 2067 Data Link Switch Write Port
TCP 1975 TCO Flash Agent                    Number
TCP 1976 TCO Reg Agent                      TCP 2090 Load Report Protocol
TCP 1977 TCO Address Book                   TCP 2091 PRP
TCP 1978 UniSQL                             TCP 2092 Descent 3
TCP 1979 UniSQL Java                        TCP 2093 NBX CC
TCP 1984 BB                                 TCP 2094 NBX AU
TCP 1985 Hot Standby Router Protocol        TCP 2095 NBX SER
TCP 1986 cisco license management           TCP 2096 NBX DIR
TCP 1987 cisco RSRB Priority 1 port         TCP 2097 Jet Form Preview
TCP 1988 cisco RSRB Priority 2 port         TCP 2098 Dialog Port
TCP 1989 MHSnet system                      TCP 2099 H.225.0 Annex G
TCP 1990 cisco STUN Priority 1 port         TCP 2100 amiganetfs
TCP 1991 cisco STUN Priority 2 port         TCP 2101 rtcm-sc104
TCP 1992 IPsendmsg                          TCP 2102 Zephyr server
TCP 1993 cisco SNMP TCP port                TCP 2103 Zephyr serv-hm connection
TCP 1994 cisco serial tunnel port           TCP 2104 Zephyr hostmanager
TCP 1995 cisco perf port                    TCP 2105 MiniPay
TCP 1996 cisco Remote SRB port              TCP 2106 MZAP
TCP 1997 cisco Gateway Discovery            TCP 2107 BinTec Admin
Protocol                                    TCP 2108 Comcam
TCP 1998 cisco X.25 service (XOT)           TCP 2109 Ergolight
TCP 1999 cisco identification port /        TCP 2110 UMSP
SubSeven (Windows Trojan) / Backdoor        TCP 2111 DSATP
(Windows Trojan)                            TCP 2112 Idonix MetaNet
TCP 2000 Remotely Anywhere / VIA            TCP 2113 HSL StoRM
NET.WORKS PostOffice Plus                   TCP 2114 NEWHEIGHTS
TCP 2001 Cisco mgmt                         TCP 2115 KDM / Bugs (Windows Trojan)
TCP 2002 globe                              TCP 2116 CCOWCMR
TCP 2003 GNU finger                         TCP 2117 MENTACLIENT
TCP 2004 mailbox                            TCP 2118 MENTASERVER
TCP 2005 encrypted symmetric                TCP 2119 GSIGATEKEEPER
telnet/login                                TCP 2120 Quick Eagle Networks CP
TCP 2006 invokator                          TCP 2121 SCIENTIA-SSDB
TCP 2007 dectalk                            TCP 2122 CauPC Remote Control
TCP 2008 conf                               TCP 2123 GTP-Control Plane (3GPP)
TCP 2009 news                               TCP 2124 ELATELINK
TCP 2010 search                             TCP 2125 LOCKSTEP
TCP 2011 raid                               TCP 2126 PktCable-COPS
TCP 2012 ttyinfo                            TCP 2127 INDEX-PC-WB
TCP 2013 raid-am                            TCP 2128 Net Steward Control
TCP 2014 troff                              TCP 2129 cs-live.com
TCP 2015 cypress                            TCP 2130 SWC-XDS
TCP 2016 bootserver                         TCP 2131 Avantageb2b
TCP 2017 cypress-stat                       TCP 2132 AVAIL-EPMAP
TCP 2018 terminaldb                         TCP 2133 ZYMED-ZPP
TCP 2019 whosockami                         TCP 2134 AVENUE
TCP 2020 xinupageserver                     TCP 2135 Grid Resource Information
TCP 2021 servexec                           Server
TCP 2022 down                               TCP 2136 APPWORXSRV
TCP 2023 xinuexpansion3                     TCP 2137 CONNECT
TCP 2024 xinuexpansion4                     TCP 2138 UNBIND-CLUSTER
TCP 2025 ellpack                            TCP 2139 IAS-AUTH



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 2140 IAS-REG                            TCP 2313 IAPP (Inter Access Point
TCP 2141 IAS-ADMIND                         Protocol)
TCP 2142 TDM-OVER-IP                        TCP 2314 CR WebSystems
TCP 2143 Live Vault Job Control             TCP 2315 Precise Sft.
TCP 2144 Live Vault Fast Object             TCP 2316 SENT License Manager
Transfer                                    TCP 2317 Attachmate G32
TCP 2145 Live Vault Remote Diagnostic       TCP 2318 Cadence Control
Console Support                             TCP 2319 InfoLibria
TCP 2146 Live Vault Admin Event             TCP 2320 Siebel NS
Notification                                TCP 2321 RDLAP over UDP
TCP 2147 Live Vault Authentication          TCP 2322 ofsd
TCP 2148 VERITAS UNIVERSAL                  TCP 2323 3d-nfsd
COMMUNICATION LAYER                         TCP 2324 Cosmocall
TCP 2149 ACPTSYS                            TCP 2325 Design Space License
TCP 2150 DYNAMIC3D                          Management
TCP 2151 DOCENT                             TCP 2326 IDCP
TCP 2152 GTP-User Plane (3GPP)              TCP 2327 xingcsm
TCP 2165 X-Bone API                         TCP 2328 Netrix SFTM
TCP 2166 IWSERVER                           TCP 2329 NVD
TCP 2180 Millicent Vendor Gateway           TCP 2330 TSCCHAT
Server                                      TCP 2331 AGENTVIEW
TCP 2181 eforward                           TCP 2332 RCC Host
TCP 2200 ICI                                TCP 2333 SNAPP
TCP 2201 Advanced Training System           TCP 2334 ACE Client Auth
Program                                     TCP 2335 ACE Proxy
TCP 2202 Int. Multimedia                    TCP 2336 Apple UG Control
Teleconferencing Cosortium                  TCP 2337 ideesrv
TCP 2213 Kali                               TCP 2338 Norton Lambert
TCP 2220 Ganymede                           TCP 2339 3Com WebView
TCP 2221 Rockwell CSP1                      TCP 2340 WRS Registry
TCP 2222 Rockwell CSP2                      TCP 2341 XIO Status
TCP 2223 Rockwell CSP3                      TCP 2342 Seagate Manage Exec
TCP 2232 IVS Video default                  TCP 2343 nati logos
TCP 2233 INFOCRYPT                          TCP 2344 fcmsys
TCP 2234 DirectPlay                         TCP 2345 dbm
TCP 2235 Sercomm-WLink                      TCP 2346 Game Connection Port
TCP 2236 Nani                               TCP 2347 Game Announcement and
TCP 2237 Optech Port1 License Manager       Location
TCP 2238 AVIVA SNA SERVER                   TCP 2348 Information to query for
TCP 2239 Image Query                        game status
TCP 2240 RECIPe                             TCP 2349 Diagnostics Port
TCP 2241 IVS Daemon                         TCP 2350 psbserver
TCP 2242 Folio Remote Server                TCP 2351 psrserver
TCP 2243 Magicom Protocol                   TCP 2352 pslserver
TCP 2244 NMS Server                         TCP 2353 pspserver
TCP 2245 HaO                                TCP 2354 psprserver
TCP 2279 xmquery                            TCP 2355 psdbserver
TCP 2280 LNVPOLLER                          TCP 2356 GXT License Managemant
TCP 2281 LNVCONSOLE                         TCP 2357 UniHub Server
TCP 2282 LNVALARM                           TCP 2358 Futrix
TCP 2283 LNVSTATUS                          TCP 2359 FlukeServer
TCP 2284 LNVMAPS                            TCP 2360 NexstorIndLtd
TCP 2285 LNVMAILMON                         TCP 2361 TL1
TCP 2286 NAS-Metering                       TCP 2362 digiman
TCP 2287 DNA                                TCP 2363 Media Central NFSD
TCP 2288 NETML                              TCP 2364 OI-2000
TCP 2294 Konshus License Manager            TCP 2365 dbref
(FLEX)                                      TCP 2366 qip-login
TCP 2295 Advant License Manager             TCP 2367 Service Control
TCP 2296 Theta License Manager              TCP 2368 OpenTable
(Rainbow)                                   TCP 2369 ACS2000 DSP
TCP 2297 D2K DataMover 1                    TCP 2370 L3-HBMon
TCP 2298 D2K DataMover 2                    TCP 2381 Compaq HTTPS
TCP 2299 PC Telecommute                     TCP 2382 Microsoft OLAP
TCP 2300 CVMMON                             TCP 2383 Microsoft OLAP
TCP 2301 Compaq HTTP                        TCP 2384 SD-REQUEST
TCP 2302 Bindery Support                    TCP 2389 OpenView Session Mgr
TCP 2303 Proxy Gateway                      TCP 2390 RSMTP
TCP 2304 Attachmate UTS                     TCP 2391 3COM Net Management
TCP 2305 MT ScaleServer                     TCP 2392 Tactical Auth
TCP 2306 TAPPI BoxNet                       TCP 2393 MS OLAP 1
TCP 2307 pehelp                             TCP 2394 MS OLAP 2
TCP 2308 sdhelp                             TCP 2395 LAN900 Remote
TCP 2309 SD Server                          TCP 2396 Wusage
TCP 2310 SD Client                          TCP 2397 NCL
TCP 2311 Message Service                    TCP 2398 Orbiter




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 2399 FileMaker Inc. - Data Access       TCP 2473 Aker-cdp
Layer                                       TCP 2474 Vital Analysis
TCP 2400 OpEquus Server                     TCP 2475 ACE Server
TCP 2401 cvspserver                         TCP 2476 ACE Server Propagation
TCP 2402 TaskMaster 2000 Server             TCP 2477 SecurSight Certificate
TCP 2403 TaskMaster 2000 Web                Valifation Service
TCP 2404 IEC870-5-104                       TCP 2478 SecurSight Authentication
TCP 2405 TRC Netpoll                        Server (SLL)
TCP 2406 JediServer                         TCP 2479 SecurSight Event Logging
TCP 2407 Orion                              Server (SSL)
TCP 2408 OptimaNet                          TCP 2480 Lingwood's Detail
TCP 2409 SNS Protocol                       TCP 2481 Oracle GIOP
TCP 2410 VRTS Registry                      TCP 2482 Oracle GIOP SSL
TCP 2411 Netwave AP Management              TCP 2483 Oracle TTC
TCP 2412 CDN                                TCP 2484 Oracle TTC SSL
TCP 2413 orion-rmi-reg                      TCP 2485 Net Objects1
TCP 2414 Interlingua                        TCP 2486 Net Objects2
TCP 2415 COMTEST                            TCP 2487 Policy Notice Service
TCP 2416 RMT Server                         TCP 2488 Moy Corporation
TCP 2417 Composit Server                    TCP 2489 TSILB
TCP 2418 cas                                TCP 2490 qip_qdhcp
TCP 2419 Attachmate S2S                     TCP 2491 Conclave CPP
TCP 2420 DSL Remote Management              TCP 2492 GROOVE
TCP 2421 G-Talk                             TCP 2493 Talarian MQS
TCP 2422 CRMSBITS                           TCP 2494 BMC AR
TCP 2423 RNRP                               TCP 2495 Fast Remote Services
TCP 2424 KOFAX-SVR                          TCP 2496 DIRGIS
TCP 2425 Fujitsu App Manager                TCP 2497 Quad DB
TCP 2426 Appliant TCP                       TCP 2498 ODN-CasTraq
TCP 2427 Media Gateway Control              TCP 2499 UniControl
Protocol Gateway                            TCP 2500 Resource Tracking system
TCP 2428 One Way Trip Time                  server
TCP 2429 FT-ROLE                            TCP 2501 Resource Tracking system
TCP 2430 venus                              client
TCP 2431 venus-se                           TCP 2502 Kentrox Protocol
TCP 2432 codasrv                            TCP 2503 NMS-DPNSS
TCP 2433 codasrv-se                         TCP 2504 WLBS
TCP 2434 pxc-epmap                          TCP 2505 torque-traffic
TCP 2435 OptiLogic                          TCP 2506 jbroker
TCP 2436 TOP/X                              TCP 2507 spock
TCP 2437 UniControl                         TCP 2508 JDataStore
TCP 2438 MSP                                TCP 2509 fjmpss
TCP 2439 SybaseDBSynch                      TCP 2510 fjappmgrbulk
TCP 2440 Spearway Lockers                   TCP 2511 Metastorm
TCP 2441 pvsw-inet                          TCP 2512 Citrix IMA
TCP 2442 Netangel                           TCP 2513 Citrix ADMIN
TCP 2443 PowerClient Central Storage        TCP 2514 Facsys NTP
Facility                                    TCP 2515 Facsys Router
TCP 2444 BT PP2 Sectrans                    TCP 2516 Main Control
TCP 2445 DTN1                               TCP 2517 H.323 Annex E call signaling
TCP 2446 bues_service                       transport
TCP 2447 OpenView NNM daemon                TCP 2518 Willy
TCP 2448 hpppsvr                            TCP 2519 globmsgsvc
TCP 2449 RATL                               TCP 2520 pvsw
TCP 2450 netadmin                           TCP 2521 Adaptec Manager
TCP 2451 netchat                            TCP 2522 WinDb
TCP 2452 SnifferClient                      TCP 2523 Qke LLC V.3
TCP 2453 madge-om                           TCP 2524 Optiwave License Management
TCP 2454 IndX-DDS                           TCP 2525 MS V-Worlds
TCP 2455 WAGO-IO-SYSTEM                     TCP 2526 EMA License Manager
TCP 2456 altav-remmgt                       TCP 2527 IQ Server
TCP 2457 Rapido_IP                          TCP 2528 NCR CCL
TCP 2458 griffin                            TCP 2529 UTS FTP
TCP 2459 Community                          TCP 2530 VR Commerce
TCP 2460 ms-theater                         TCP 2531 ITO-E GUI
TCP 2461 qadmifoper                         TCP 2532 OVTOPMD
TCP 2462 qadmifevent                        TCP 2533 SnifferServer
TCP 2463 Symbios Raid                       TCP 2534 Combox Web Access
TCP 2464 DirecPC SI                         TCP 2535 MADCAP
TCP 2465 Load Balance Management            TCP 2536 btpp2audctr1
TCP 2466 Load Balance Forwarding            TCP 2537 Upgrade Protocol
TCP 2467 High Criteria                      TCP 2538 vnwk-prapi
TCP 2468 qip_msgd                           TCP 2539 VSI Admin
TCP 2469 MTI-TCS-COMM                       TCP 2540 LonWorks
TCP 2470 taskman port                       TCP 2541 LonWorks2
TCP 2471 SeaODBC                            TCP 2542 daVinci
TCP 2472 C3                                 TCP 2543 REFTEK



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 2544   Novell ZEN                       TCP 2620   LPSRecommender
TCP 2545   sis-emt                          TCP 2621   Miles Apart Jukebox Server
TCP 2546   vytalvaultbrtp                   TCP 2622   MetricaDBC
TCP 2547   vytalvaultvsmp                   TCP 2623   LMDP
TCP 2548   vytalvaultpipe                   TCP 2624   Aria
TCP 2549   IPASS                            TCP 2625   Blwnkl Port
TCP 2550   ADS                              TCP 2626   gbjd816
TCP 2551   ISG UDA Server                   TCP 2627   Moshe Beeri
TCP 2552   Call Logging                     TCP 2628   DICT
TCP 2553   efidiningport                    TCP 2629   Sitara Server
TCP 2554   VCnet-Link v10                   TCP 2630   Sitara Management
TCP 2555   Compaq WCP                       TCP 2631   Sitara Dir
TCP 2556   nicetec-nmsvc                    TCP 2632   IRdg Post
TCP 2557   nicetec-mgmt                     TCP 2633   InterIntelli
TCP 2558   PCLE Multi Media                 TCP 2634   PK Electronics
TCP 2559   LSTP                             TCP 2635   Back Burner
TCP 2560   labrat                           TCP 2636   Solve
TCP 2561   MosaixCC                         TCP 2637   Import Document Service
TCP 2562   Delibo                           TCP 2638   Sybase Anywhere
TCP 2563   CTI Redwood                      TCP 2639   AMInet
TCP 2564   HP 3000 NS/VT block mode         TCP 2640   Sabbagh Associates Licence
telnet                                      Manager
TCP 2565   Coordinator Server               TCP 2641   HDL Server
TCP 2566   pcs-pcw                          TCP 2642   Tragic
TCP 2567   Cisco Line Protocol              TCP 2643   GTE-SAMP
TCP 2568   SPAM TRAP                        TCP 2644   Travsoft IPX Tunnel
TCP 2569   Sonus Call Signal                TCP 2645   Novell IPX CMD
TCP 2570   HS Port                          TCP 2646   AND Licence Manager
TCP 2571   CECSVC                           TCP 2647   SyncServer
TCP 2572   IBP                              TCP 2648   Upsnotifyprot
TCP 2573   Trust Establish                  TCP 2649   VPSIPPORT
TCP 2574   Blockade BPSP                    TCP 2650   eristwoguns
TCP 2575   HL7                              TCP 2651   EBInSite
TCP 2576   TCL Pro Debugger                 TCP 2652   InterPathPanel
TCP 2577   Scriptics Lsrvr                  TCP 2653   Sonus
TCP 2578   RVS ISDN DCP                     TCP 2654   Corel VNC Admin
TCP 2579   mpfoncl                          TCP 2655   UNIX Nt Glue
TCP 2580   Tributary                        TCP 2656   Kana
TCP 2581   ARGIS TE                         TCP 2657   SNS Dispatcher
TCP 2582   ARGIS DS                         TCP 2658   SNS Admin
TCP 2583   MON                              TCP 2659   SNS Query
TCP 2584   cyaserv                          TCP 2660   GC Monitor
TCP 2585   NETX Server                      TCP 2661   OLHOST
TCP 2586   NETX Agent                       TCP 2662   BinTec-CAPI
TCP 2587   MASC                             TCP 2663   BinTec-TAPI
TCP 2588   Privilege                        TCP 2664   Command MQ GM
TCP 2589   quartus tcl                      TCP 2665   Command MQ PM
TCP 2590   idotdist                         TCP 2666   extensis
TCP 2591   Maytag Shuffle                   TCP 2667   Alarm Clock Server
TCP 2592   netrek                           TCP 2668   Alarm Clock Client
TCP 2593   MNS Mail Notice Service          TCP 2669   TOAD
TCP 2594   Data Base Server                 TCP 2670   TVE Announce
TCP 2595   World Fusion 1                   TCP 2671   newlixreg
TCP 2596   World Fusion 2                   TCP 2672   nhserver
TCP 2597   Homestead Glory                  TCP 2673   First Call 42
TCP 2598   Citrix MA Client                 TCP 2674   ewnn
TCP 2599   Meridian Data                    TCP 2675   TTC ETAP
TCP 2600   HPSTGMGR                         TCP 2676   SIMSLink
TCP 2601   discp client                     TCP 2677   Gadget Gate 1 Way
TCP 2602   discp server                     TCP 2678   Gadget Gate 2 Way
TCP 2603   Service Meter                    TCP 2679   Sync Server SSL
TCP 2604   NSC CCS                          TCP 2680   pxc-sapxom
TCP 2605   NSC POSA                         TCP 2681   mpnjsomb
TCP 2606   Dell Netmon                      TCP 2682   SRSP
TCP 2607   Dell Connection                  TCP 2683   NCDLoadBalance
TCP 2608   Wag Service                      TCP 2684   mpnjsosv
TCP 2609   System Monitor                   TCP 2685   mpnjsocl
TCP 2610   VersaTek                         TCP 2686   mpnjsomg
TCP 2611   LIONHEAD                         TCP 2687   pq-lic-mgmt
TCP 2612   Qpasa Agent                      TCP 2688   md-cf-HTTP
TCP 2613   SMNTUBootstrap                   TCP 2689   FastLynx
TCP 2614   Never Offline                    TCP 2690   HP NNM Embedded Database
TCP 2615   firepower                        TCP 2691   IT Internet
TCP 2616   appswitch-emp                    TCP 2692   Admins LMS
TCP 2617   Clinical Context Managers        TCP 2693   belarc-HTTP
TCP 2618   Priority E-Com                   TCP 2694   pwrsevent
TCP 2619   bruce                            TCP 2695   VSPREAD



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 2696 Unify Admin                        TCP 2771 Vergence CM
TCP 2697 Oce SNMP Trap Port                 TCP 2772 auris
TCP 2698 MCK-IVPIP                          TCP 2773 PC Backup
TCP 2699 Csoft Plus Client                  TCP 2774 PC Backup
TCP 2700 tqdata                             TCP 2775 SMMP
TCP 2701 SMS RCINFO                         TCP 2776 Ridgeway Systems & Software
TCP 2702 SMS XFER                           TCP 2777 Ridgeway Systems & Software
TCP 2703 SMS CHAT                           TCP 2778 Gwen-Sonya
TCP 2704 SMS REMCTRL                        TCP 2779 LBC Sync
TCP 2705 SDS Admin                          TCP 2780 LBC Control
TCP 2706 NCD Mirroring                      TCP 2781 whosells
TCP 2707 EMCSYMAPIPORT                      TCP 2782 everydayrc
TCP 2708 Banyan-Net                         TCP 2783 AISES
TCP 2709 Supermon                           TCP 2784 world wide web - development
TCP 2710 SSO Service                        TCP 2785 aic-np
TCP 2711 SSO Control                        TCP 2786 aic-oncrpc - Destiny MCD
TCP 2712 Axapta Object Communication        database
Protocol                                    TCP 2787 piccolo - Cornerstone
TCP 2713 Raven1                             Software
TCP 2714 Raven2                             TCP 2788 NetWare Loadable Module -
TCP 2715 HPSTGMGR2                          Seagate Software
TCP 2716 Inova IP Disco                     TCP 2789 Media Agent
TCP 2717 PN REQUESTER                       TCP 2790 PLG Proxy
TCP 2718 PN REQUESTER 2                     TCP 2791 MT Port Registrator
TCP 2719 Scan & Change                      TCP 2792 f5-globalsite
TCP 2720 wkars                              TCP 2793 initlsmsad
TCP 2721 Smart Diagnose                     TCP 2794 aaftp
TCP 2722 Proactive Server                   TCP 2795 LiveStats
TCP 2723 WatchDog NT                        TCP 2796 ac-tech
TCP 2724 qotps                              TCP 2797 esp-encap
TCP 2725 MSOLAP PTP2                        TCP 2798 TMESIS-UPShot
TCP 2726 TAMS                               TCP 2799 ICON Discover
TCP 2727 Media Gateway Control              TCP 2800 ACC RAID
Protocol Call Agent                         TCP 2801 IGCP
TCP 2728 SQDR                               TCP 2802 Veritas TCP1
TCP 2729 TCIM Control                       TCP 2803 btprjctrl
TCP 2730 NEC RaidPlus                       TCP 2804 Telexis VTU
TCP 2731 NetDragon Messanger                TCP 2805 WTA WSP-S
TCP 2732 G5M                                TCP 2806 cspuni
TCP 2733 Signet CTF                         TCP 2807 cspmulti
TCP 2734 CCS Software                       TCP 2808 J-LAN-P
TCP 2735 Monitor Console                    TCP 2809 CORBA LOC
TCP 2736 RADWIZ NMS SRV                     TCP 2810 Active Net Steward
TCP 2737 SRP Feedback                       TCP 2811 GSI FTP
TCP 2738 NDL TCP-OSI Gateway                TCP 2812 atmtcp
TCP 2739 TN Timing                          TCP 2813 llm-pass
TCP 2740 Alarm                              TCP 2814 llm-csv
TCP 2741 TSB                                TCP 2815 LBC Measurement
TCP 2742 TSB2                               TCP 2816 LBC Watchdog
TCP 2743 murx                               TCP 2817 NMSig Port
TCP 2744 honyaku                            TCP 2818 rmlnk
TCP 2745 URBISNET                           TCP 2819 FC Fault Notification
TCP 2746 CPUDPENCAP                         TCP 2820 UniVision
TCP 2747 yk.fujitsu.co.jp                   TCP 2821 vml_dms
TCP 2748 yk.fujitsu.co.jp                   TCP 2822 ka0wuc
TCP 2749 yk.fujitsu.co.jp                   TCP 2823 CQG Net/LAN
TCP 2750 yk.fujitsu.co.jp                   TCP 2826 slc systemlog
TCP 2751 yk.fujitsu.co.jp                   TCP 2827 slc ctrlrloops
TCP 2752 RSISYS ACCESS                      TCP 2828 ITM License Manager
TCP 2753 de-spot                            TCP 2829 silkp1
TCP 2754 APOLLO CC                          TCP 2830 silkp2
TCP 2755 Express Pay                        TCP 2831 silkp3
TCP 2756 simplement-tie                     TCP 2832 silkp4
TCP 2757 CNRP                               TCP 2833 glishd
TCP 2758 APOLLO Status                      TCP 2834 EVTP
TCP 2759 APOLLO GMS                         TCP 2835 EVTP-DATA
TCP 2760 Saba MS                            TCP 2836 catalyst
TCP 2761 DICOM ISCL                         TCP 2837 Repliweb
TCP 2762 DICOM TLS                          TCP 2838 Starbot
TCP 2763 Desktop DNA                        TCP 2839 NMSigPort
TCP 2764 Data Insurance                     TCP 2840 l3-exprt
TCP 2765 qip-audup                          TCP 2841 l3-ranger
TCP 2766 Compaq SCP                         TCP 2842 l3-hawk
TCP 2767 UADTC                              TCP 2843 PDnet
TCP 2768 UACS                               TCP 2844 BPCP POLL
TCP 2769 Single Point MVS                   TCP 2845 BPCP TRAP
TCP 2770 Veronica                           TCP 2846 AIMPP Hello



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 2847     AIMPP Port Req                 TCP 2922     CESD Contents Delivery Data
TCP 2848     AMT-BLC-PORT                   Transfer
TCP 2849     FXP                            TCP 2923     WTA-WSP-WTP-S
TCP 2850     MetaConsole                    TCP 2924     PRECISE-VIP
TCP 2851     webemshttp                     TCP 2925     Firewall Redundancy Protocol
TCP 2852     bears-01                       TCP 2926     MOBILE-FILE-DL
TCP 2853     ISPipes                        TCP 2927     UNIMOBILECTRL
TCP 2854     InfoMover                      TCP 2928     REDSTONE-CPSS
TCP 2856     cesdinv                        TCP 2929     PANJA-WEBADMIN
TCP 2857     SimCtIP                        TCP 2930     PANJA-WEBLINX
TCP 2858     ECNP                           TCP 2931     Circle-X
TCP 2859     Active Memory                  TCP 2932     INCP
TCP 2860     Dialpad Voice 1                TCP 2933     4-TIER OPM GW
TCP 2861     Dialpad Voice 2                TCP 2934     4-TIER OPM CLI
TCP 2862     TTG Protocol                   TCP 2935     QTP
TCP 2863     Sonar Data                     TCP 2936     OTPatch
TCP 2864     main 5001 cmd                  TCP 2937     PNACONSULT-LM
TCP 2865     pit-vpn                        TCP 2938     SM-PAS-1
TCP 2866     lwlistener                     TCP 2939     SM-PAS-2
TCP 2867     esps-portal                    TCP 2940     SM-PAS-3
TCP 2868     NPEP Messaging                 TCP 2941     SM-PAS-4
TCP 2869     ICSLAP                         TCP 2942     SM-PAS-5
TCP 2870     daishi                         TCP 2943     TTNRepository
TCP 2871     MSI Select Play                TCP 2944     Megaco H-248
TCP 2872     CONTRACT                       TCP 2945     H248 Binary
TCP 2873     PASPAR2 ZoomIn                 TCP 2946     FJSVmpor
TCP 2874     dxmessagebase1                 TCP 2947     GPSD
TCP 2875     dxmessagebase2                 TCP 2948     WAP PUSH
TCP 2876     SPS Tunnel                     TCP 2949     WAP PUSH SECURE
TCP 2877     BLUELANCE                      TCP 2950     ESIP
TCP 2878     AAP                            TCP 2951     OTTP
TCP 2879     ucentric-ds                    TCP 2952     MPFWSAS
TCP 2880     synapse                        TCP 2953     OVALARMSRV
TCP 2881     NDSP                           TCP 2954     OVALARMSRV-CMD
TCP 2882     NDTP                           TCP 2955     CSNOTIFY
TCP 2883     NDNP                           TCP 2956     OVRIMOSDBMAN
TCP 2884     Flash Msg                      TCP 2957     JAMCT5
TCP 2885     TopFlow                        TCP 2958     JAMCT6
TCP 2886     RESPONSELOGIC                  TCP 2959     RMOPAGT
TCP 2887     aironet                        TCP 2960     DFOXSERVER
TCP 2888     SPCSDLOBBY                     TCP 2961     BOLDSOFT-LM
TCP 2889     RSOM                           TCP 2962     IPH-POLICY-CLI
TCP 2890     CSPCLMULTI                     TCP 2963     IPH-POLICY-ADM
TCP 2891     CINEGRFX-ELMD License          TCP 2964     BULLANT SRAP
Manager                                     TCP 2965     BULLANT RAP
TCP 2892     SNIFFERDATA                    TCP 2966     IDP-INFOTRIEVE
TCP 2893     VSECONNECTOR                   TCP 2967     SSC-AGENT
TCP 2894     ABACUS-REMOTE                  TCP 2968     ENPP
TCP 2895     NATUS LINK                     TCP 2969     ESSP
TCP 2896     ECOVISIONG6-1                  TCP 2970     INDEX-NET
TCP 2897     Citrix RTMP                    TCP 2971     Net Clip
TCP 2898     APPLIANCE-CFG                  TCP 2972     PMSM Webrctl
TCP 2899     case.nm.fujitsu.co.jp          TCP 2973     SV Networks
TCP 2900     magisoft.com                   TCP 2974     Signal
TCP 2901     ALLSTORCNS                     TCP 2975     Fujitsu Configuration
TCP 2902     NET ASPI                       Management   Service
TCP 2903     SUITCASE                       TCP 2976     CNS Server Port
TCP 2904     M2UA                           TCP 2977     TTCs Enterprise Test Access
TCP 2905     M3UA                           Protocol -   NS
TCP 2906     CALLER9                        TCP 2978     TTCs Enterprise Test Access
TCP 2907     WEBMETHODS B2B                 Protocol -   DS
TCP 2908     mao                            TCP 2979     H.263 Video Streaming
TCP 2909     Funk Dialout                   TCP 2980     Instant Messaging Service
TCP 2910     TDAccess                       TCP 2981     MYLXAMPORT
TCP 2911     Blockade                       TCP 2982     IWB-WHITEBOARD
TCP 2912     Epicon                         TCP 2983     NETPLAN
TCP 2913     Booster Ware                   TCP 2984     HPIDSADMIN
TCP 2914     Game Lobby                     TCP 2985     HPIDSAGENT
TCP 2915     TK Socket                      TCP 2986     STONEFALLS
TCP 2916     Elvin Server                   TCP 2987     IDENTIFY
TCP 2917     Elvin Client                   TCP 2988     CLASSIFY
TCP 2918     Kasten Chase Pad               TCP 2989     ZARKOV
TCP 2919     ROBOER                         TCP 2990     BOSCAP
TCP 2920     ROBOEDA                        TCP 2991     WKSTN-MON
TCP 2921     CESD Contents Delivery         TCP 2992     ITB301
Management                                  TCP 2993     VERITAS VIS1
                                            TCP 2994     VERITAS VIS2



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 2995   IDRS                             TCP 3077 Orbix 2000 Locator SSL
TCP 2996   vsixml                           TCP 3078 Orbix 2000 Locator SSL
TCP 2997   REBOL                            TCP 3079 LV Front Panel
TCP 2998   Real Secure                      TCP 3080 stm_pproc
TCP 2999   RemoteWare Unassigned            TCP 3081 TL1-LV
TCP 3000   RemoteWare Client                TCP 3082 TL1-RAW
TCP 3001   Redwood Broker                   TCP 3083 TL1-TELNET
TCP 3002   RemoteWare Server                TCP 3084 ITM-MCCS
TCP 3003   CGMS                             TCP 3085 PCIHReq
TCP 3004   Csoft Agent                      TCP 3086 JDL-DBKitchen
TCP 3005   Genius License Manager           TCP 3105 Cardbox
TCP 3006   Instant Internet Admin           TCP 3106 Cardbox HTTP
TCP 3007   Lotus Mail Tracking Agent        TCP 3128 squid-http
Protocol                                    TCP 3129 Master's Paradise (Windows
TCP 3008   Midnight Technologies            Trojan)
TCP 3009   PXC-NTFY                         TCP 3130 ICPv2
TCP 3010   Telerate Workstation             TCP 3131 Net Book Mark
TCP 3011   Trusted Web                      TCP 3141 VMODEM
TCP 3012   Trusted Web Client               TCP 3142 RDC WH EOS
TCP 3013   Gilat Sky Surfer                 TCP 3143 Sea View
TCP 3014   Broker Service                   TCP 3144 Tarantella
TCP 3015   NATI DSTP                        TCP 3145 CSI-LFAP
TCP 3016   Notify Server                    TCP 3147 RFIO
TCP 3017   Event Listener                   TCP 3148 NetMike Game Administrator
TCP 3018   Service Registry                 TCP 3149 NetMike Game Server
TCP 3019   Resource Manager                 TCP 3150 NetMike Assessor
TCP 3020   CIFS                             Administrator
TCP 3021   AGRI Server                      TCP 3151 NetMike Assessor
TCP 3022   CSREGAGENT                       TCP 3180 Millicent Broker Server
TCP 3023   magicnotes                       TCP 3181 BMC Patrol Agent
TCP 3024   NDS_SSO                          TCP 3182 BMC Patrol Rendezvous
TCP 3025   Arepa Raft                       TCP 3262 NECP
TCP 3026   AGRI Gateway                     TCP 3264 cc:mail/lotus
TCP 3027   LiebDevMgmt_C                    TCP 3265 Altav Tunnel
TCP 3028   LiebDevMgmt_DM                   TCP 3266 NS CFG Server
TCP 3029   LiebDevMgmt_A                    TCP 3267 IBM Dial Out
TCP 3030   Arepa Cas                        TCP 3268 Microsoft Global Catalog
TCP 3031   AgentVU                          TCP 3269 Microsoft Global Catalog
TCP 3032   Redwood Chat                     with LDAP/SSL
TCP 3033   PDB                              TCP 3270 Verismart
TCP 3034   Osmosis AEEA                     TCP 3271 CSoft Prev Port
TCP 3035   FJSV gssagt                      TCP 3272 Fujitsu User Manager
TCP 3036   Hagel DUMP                       TCP 3273 Simple Extensible
TCP 3037   HP SAN Mgmt                      Multiplexed Protocol
TCP 3038   Santak UPS                       TCP 3274 Ordinox Server
TCP 3039   Cogitate Inc.                    TCP 3275 SAMD
TCP 3040   Tomato Springs                   TCP 3276 Maxim ASICs
TCP 3041   di-traceware                     TCP 3277 AWG Proxy
TCP 3042   journee                          TCP 3278 LKCM Server
TCP 3043   BRP                              TCP 3279 admind
TCP 3045   ResponseNet                      TCP 3280 VS Server
TCP 3046   di-ase                           TCP 3281 SYSOPT
TCP 3047   Fast Security HL Server          TCP 3282 Datusorb
TCP 3048   Sierra Net PC Trader             TCP 3283 Net Assistant
TCP 3049   NSWS                             TCP 3284 4Talk
TCP 3050   gds_db                           TCP 3285 Plato
TCP 3051   Galaxy Server                    TCP 3286 E-Net
TCP 3052   APCPCNS                          TCP 3287 DIRECTVDATA
TCP 3053   dsom-server                      TCP 3288 COPS
TCP 3054   AMT CNF PROT                     TCP 3289 ENPC
TCP 3055   Policy Server                    TCP 3290 CAPS LOGISTICS TOOLKIT - LM
TCP 3056   CDL Server                       TCP 3291 S A Holditch & Associates -
TCP 3057   GoAhead FldUp                    LM
TCP 3058   videobeans                       TCP 3292 Cart O Rama
TCP 3059   qsoft                            TCP 3293 fg-fps
TCP 3060   interserver                      TCP 3294 fg-gip
TCP 3061   cautcpd                          TCP 3295 Dynamic IP Lookup
TCP 3062   ncacn-ip-tcp                     TCP 3296 Rib License Manager
TCP 3063   ncadg-ip-udp                     TCP 3297 Cytel License Manager
TCP 3065   slinterbase                      TCP 3298 Transview
TCP 3066   NETATTACHSDMP                    TCP 3299 pdrncs
TCP 3067   FJHPJP                           TCP 3300 bmc-patrol-agent
TCP 3068   ls3 Broadcast                    TCP 3301 Unathorised use by SAP R/3
TCP 3069   ls3                              TCP 3302 MCS Fastmail
TCP 3070   MGXSWITCH                        TCP 3303 OP Session Client
TCP 3075   Orbix 2000 Locator               TCP 3304 OP Session Server
TCP 3076   Orbix 2000 Config                TCP 3305 ODETTE-FTP



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 3306 MySQL                              TCP 3385 qnxnetman
TCP 3307 OP Session Proxy                   TCP 3386 GPRS Data
TCP 3308 TNS Server                         TCP 3387 Back Room Net
TCP 3309 TNS ADV                            TCP 3388 CB Server
TCP 3310 Dyna Access                        TCP 3389 MS Terminal Server
TCP 3311 MCNS Tel Ret                       TCP 3390 Distributed Service
TCP 3312 Application Management             Coordinator
Server                                      TCP 3391 SAVANT
TCP 3313 Unify Object Broker                TCP 3392 EFI License Management
TCP 3314 Unify Object Host                  TCP 3393 D2K Tapestry Client to
TCP 3315 CDID                               Server
TCP 3316 AICC/CMI                           TCP 3394 D2K Tapestry Server to
TCP 3317 VSAI PORT                          Server
TCP 3318 Swith to Swith Routing             TCP 3395 Dyna License Manager (Elam)
Information Protocol                        TCP 3396 Printer Agent
TCP 3319 SDT License Manager                TCP 3397 Cloanto License Manager
TCP 3320 Office Link 2000                   TCP 3398 Mercantile
TCP 3321 VNSSTR                             TCP 3399 CSMS
TCP 3325 isi.edu                            TCP 3400 CSMS2
TCP 3326 SFTU                               TCP 3401 filecast
TCP 3327 BBARS                              TCP 3421 Bull Apprise portmapper
TCP 3328 Eaglepoint License Manager         TCP 3454 Apple Remote Access Protocol
TCP 3329 HP Device Disc                     TCP 3455 RSVP Port
TCP 3330 MCS Calypso ICF                    TCP 3456 VAT default data
TCP 3331 MCS Messaging                      TCP 3457 VAT default control
TCP 3332 MCS Mail Server                    TCP 3458 D3WinOsfi
TCP 3333 DEC Notes                          TCP 3459 TIP Integral
TCP 3334 Direct TV Webcasting               TCP 3460 EDM Manger
TCP 3335 Direct TV Software Updates         TCP 3461 EDM Stager
TCP 3336 Direct TV Tickers                  TCP 3462 EDM STD Notify
TCP 3337 Direct TV Data Catalog             TCP 3463 EDM ADM Notify
TCP 3338 OMF data b                         TCP 3464 EDM MGR Sync
TCP 3339 OMF data l                         TCP 3465 EDM MGR Cntrl
TCP 3340 OMF data m                         TCP 3466 WORKFLOW
TCP 3341 OMF data h                         TCP 3467 RCST
TCP 3342 WebTIE                             TCP 3468 TTCM Remote Controll
TCP 3343 MS Cluster Net                     TCP 3469 Pluribus
TCP 3344 BNT Manager                        TCP 3470 jt400
TCP 3345 Influence                          TCP 3471 jt400-ssl
TCP 3346 Trnsprnt Proxy                     TCP 3535 MS-LA
TCP 3347 Phoenix RPC                        TCP 3563 Watcom Debug
TCP 3348 Pangolin Laser                     TCP 3572 harlequin.co.uk
TCP 3349 Chevin Services                    TCP 3672 harlequinorb
TCP 3350 FINDVIATV                          TCP 3802 VHD
TCP 3351 BTRIEVE                            TCP 3845 V-ONE Single Port Proxy
TCP 3352 SSQL                               TCP 3862 GIGA-POCKET
TCP 3353 FATPIPE                            TCP 3875 PNBSCADA
TCP 3354 SUITJD                             TCP 3900 Unidata UDT OS
TCP 3355 Ordinox Dbase                      TCP 3984 MAPPER network node manager
TCP 3356 UPNOTIFYPS                         TCP 3985 MAPPER TCP/IP server
TCP 3357 Adtech Test IP                     TCP 3986 MAPPER workstation server
TCP 3358 Mp Sys Rmsvr                       TCP 3987 Centerline
TCP 3359 WG NetForce                        TCP 4000 Terabase
TCP 3360 KV Server                          TCP 4001 Cisco mgmt/NewOak
TCP 3361 KV Agent                           TCP 4002 pxc-spvr-ft
TCP 3362 DJ ILM                             TCP 4003 pxc-splr-ft
TCP 3363 NATI Vi Server                     TCP 4004 pxc-roid
TCP 3364 Creative Server                    TCP 4005 pxc-pin
TCP 3365 Content Server                     TCP 4006 pxc-spvr
TCP 3366 Creative Partner                   TCP 4007 pxc-splr
TCP 3371 ccm.jf.intel.com                   TCP 4008 NetCheque accounting
TCP 3372 TIP 2                              TCP 4009 Chimera HWM
TCP 3373 Lavenir License Manager            TCP 4010 Samsung Unidex
TCP 3374 Cluster Disc                       TCP 4011 Alternate Service Boot
TCP 3375 VSNM Agent                         TCP 4012 PDA Gate
TCP 3376 CD Broker                          TCP 4013 ACL Manager
TCP 3377 Cogsys Network License             TCP 4014 TAICLOCK
Manager                                     TCP 4015 Talarian Mcast
TCP 3378 WSICOPY                            TCP 4016 Talarian Mcast
TCP 3379 SOCORFS                            TCP 4017 Talarian Mcast
TCP 3380 SNS Channels                       TCP 4018 Talarian Mcast
TCP 3381 Geneous                            TCP 4019 Talarian Mcast
TCP 3382 Fujitsu Network Enhanced           TCP 4045 nfs-lockd
Antitheft function                          TCP 4096 BRE (Bridge Relay Element)
TCP 3383 Enterprise Software Products       TCP 4097 Patrol View
License Manager                             TCP 4098 drmsfsd
TCP 3384 Cluster Management Services        TCP 4099 DPCP



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 4132 NUTS Daemon                        TCP 5020 zenginkyo-1
TCP 4133 NUTS Bootp Server                  TCP 5021 zenginkyo-2
TCP 4134 NIFTY-Serve HMI protocol           TCP 5042 asnaacceler8db
TCP 4141 Workflow Server                    TCP 5050 multimedia conference
TCP 4142 Document Server                    control tool
TCP 4143 Document Replication               TCP 5051 ITA Agent
TCP 4144 Compuserve pc windows              TCP 5052 ITA Manager
TCP 4160 Jini Discovery                     TCP 5055 UNOT
TCP 4199 EIMS ADMIN                         TCP 5060 SIP
TCP 4299 earth.path.net                     TCP 5069 I/Net 2000-NPR
TCP 4300 Corel CCam                         TCP 5071 PowerSchool
TCP 4321 Remote Who Is                      TCP 5093 Sentinel LM
TCP 4333 mini-sql server                    TCP 5099 SentLM Srv2Srv
TCP 4343 UNICALL                            TCP 5145 RMONITOR SECURE
TCP 4344 VinaInstall                        TCP 5150 Ascend Tunnel Management
TCP 4345 Macro 4 Network AS                 Protocol
TCP 4346 ELAN LM                            TCP 5151 ESRI SDE Instance
TCP 4347 LAN Surveyor                       TCP 5152 ESRI SDE Instance Discovery
TCP 4348 ITOSE                              TCP 5165 ife_1corp
TCP 4349 File System Port Map               TCP 5190 America-Online
TCP 4350 Net Device                         TCP 5191 AmericaOnline1
TCP 4351 PLCY Net Services                  TCP 5192 AmericaOnline2
TCP 4353 F5 iQuery                          TCP 5193 AmericaOnline3
TCP 4442 Saris                              TCP 5200 Targus AIB 1
TCP 4443 Pharos                             TCP 5201 Targus AIB 2
TCP 4444 NV Video default                   TCP 5202 Targus TNTS 1
TCP 4445 UPNOTIFYP                          TCP 5203 Targus TNTS 2
TCP 4446 N1-FWP                             TCP 5232 SGI Distribution Graphics
TCP 4447 N1-RMGMT                           TCP 5236 padl2sim
TCP 4448 ASC Licence Manager                TCP 5272 PK
TCP 4449 PrivateWire                        TCP 5300 HA cluster heartbeat
TCP 4450 Camp                               TCP 5301 HA cluster general services
TCP 4451 CTI System Msg                     TCP 5302 HA cluster configuration
TCP 4452 CTI Program Load                   TCP 5303 HA cluster probing
TCP 4453 NSS Alert Manager                  TCP 5304 HA Cluster Commands
TCP 4454 NSS Agent Manager                  TCP 5305 HA Cluster Test
TCP 4455 PR Chat User                       TCP 5306 Sun MC Group
TCP 4456 PR Chat Server                     TCP 5307 SCO AIP
TCP 4457 PR Register                        TCP 5308 CFengine
TCP 4500 sae-urn                            TCP 5309 J Printer
TCP 4501 urn-x-cdchoice                     TCP 5310 Outlaws
TCP 4545 WorldScores                        TCP 5311 TM Login
TCP 4546 SF License Manager                 TCP 5400 Excerpt Search / Blade
(Sentinel)                                  Runner (Windows Trojan)
TCP 4547 Lanner License Manager             TCP 5401 Excerpt Search Secure /
TCP 4557 FAX transmission service           Blade Runner (Windows Trojan)
TCP 4559 HylaFAX client-service             TCP 5402 MFTP / Blade Runner (Windows
protocol                                    Trojan)
TCP 4567 TRAM                               TCP 5403 HPOMS-CI-LSTN
TCP 4568 BMC Reporting                      TCP 5404 HPOMS-DPS-LSTN
TCP 4600 Piranha1                           TCP 5405 NetSupport
TCP 4601 Piranha2                           TCP 5406 Systemics Sox
TCP 4672 remote file access server          TCP 5407 Foresyte-Clear
TCP 4800 Icona Instant Messenging           TCP 5408 Foresyte-Sec
System                                      TCP 5409 Salient Data Server
TCP 4801 Icona Web Embedded Chat            TCP 5410 Salient User Manager
TCP 4802 Icona License System Server        TCP 5411 ActNet
TCP 4827 HTCP                               TCP 5412 Continuus
TCP 4837 Varadero-0                         TCP 5413 WWIOTALK
TCP 4838 Varadero-1                         TCP 5414 StatusD
TCP 4868 Photon Relay                       TCP 5415 NS Server
TCP 4869 Photon Relay Debug                 TCP 5416 SNS Gateway
TCP 4885 ABBS                               TCP 5417 SNS Agent
TCP 4983 AT&T Intercom                      TCP 5418 MCNTP
TCP 5000 UPnP / filmaker.com / Socket       TCP 5419 DJ-ICE
de Troie (Windows Trojan)                   TCP 5420 Cylink-C
TCP 5001 filmaker.com / Socket de           TCP 5421 Net Support 2
Troie (Windows Trojan)                      TCP 5422 Salient MUX
TCP 5002 radio free ethernet                TCP 5423 VIRTUALUSER
TCP 5003 FileMaker Inc. - Proprietary       TCP 5426 DEVBASIC
transport                                   TCP 5427 SCO-PEER-TTA
TCP 5004 avt-profile-1                      TCP 5428 TELACONSOLE
TCP 5005 avt-profile-2                      TCP 5429 Billing and Accounting
TCP 5006 wsm server                         System Exchange
TCP 5007 wsm server ssl                     TCP 5430 RADEC CORP
TCP 5010 TelepathStart                      TCP 5431 PARK AGENT
TCP 5011 TelepathAttack                     TCP 5432 postgres database server



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 5435 Data Tunneling Transceiver         TCP 6069 TRIP
Linking (DTTL)                              TCP 6070 Messageasap
TCP 5454 apc-tcp-udp-4                      TCP 6071 SSDTP
TCP 5455 apc-tcp-udp-5                      TCP 6072 DIAGNOSE-PROC
TCP 5456 apc-tcp-udp-6                      TCP 6073 DirectPlay8
TCP 5461 SILKMETER                          TCP 6100 SynchroNet-db
TCP 5462 TTL Publisher                      TCP 6101 SynchroNet-rtc
TCP 5465 NETOPS-BROKER                      TCP 6102 SynchroNet-upd
TCP 5500 fcp-addr-srvr1                     TCP 6103 RETS
TCP 5501 fcp-addr-srvr2                     TCP 6104 DBDB
TCP 5502 fcp-srvr-inst1                     TCP 6105 Prima Server
TCP 5503 fcp-srvr-inst2                     TCP 6106 MPS Server
TCP 5504 fcp-cics-gw1                       TCP 6107 ETC Control
TCP 5510 ACE/Server Services                TCP 6108 Sercomm-SCAdmin
TCP 5520 ACE/Server Services                TCP 6109 GLOBECAST-ID
TCP 5530 ACE/Server Services                TCP 6110 HP SoftBench CM
TCP 5540 ACE/Server Services                TCP 6111 HP SoftBench Sub-Process
TCP 5550 ACE/Server Services                Control
TCP 5554 SGI ESP HTTP                       TCP 6112 dtspcd
TCP 5555 Personal Agent                     TCP 6123 Backup Express
TCP 5556 Mtbd (mtb backup)                  TCP 6141 Meta Corporation License
TCP 5559 Enterprise Security Remote         Manager
Install axent.com                           TCP 6142 Aspen Technology License
TCP 5599 Enterprise Security Remote         Manager
Install                                     TCP 6143 Watershed License Manager
TCP 5600 Enterprise Security Manager        TCP 6144 StatSci License Manager - 1
TCP 5601 Enterprise Security Agent          TCP 6145 StatSci License Manager - 2
TCP 5602 A1-MSC                             TCP 6146 Lone Wolf Systems License
TCP 5603 A1-BS                              Manager
TCP 5604 A3-SDUNode                         TCP 6147 Montage License Manager
TCP 5605 A4-SDUNode                         TCP 6148 Ricardo North America
TCP 5631 pcANYWHEREdata                     License Manager
TCP 5632 pcANYWHEREstat                     TCP 6149 tal-pod
TCP 5678 Remote Replication Agent           TCP 6253 CRIP
Connection                                  TCP 6321 Empress Software
TCP 5679 Direct Cable Connect Manager       Connectivity Server 1
TCP 5680 Canna (Japanese Input)             TCP 6322 Empress Software
TCP 5713 proshare conf audio                Connectivity Server 2
TCP 5714 proshare conf video                TCP 6346 Gnutella file sharing
TCP 5715 proshare conf data                 Application
TCP 5716 proshare conf request              TCP 6389 clariion-evr01
TCP 5717 proshare conf notify               TCP 6400 saegatesoftware.com
TCP 5729 Openmail User Agent Layer          TCP 6401 saegatesoftware.com
TCP 5741 IDA Discover Port 1                TCP 6402 saegatesoftware.com
TCP 5742 IDA Discover Port 2 /              TCP 6403 saegatesoftware.com
Wincrash (Windows Trojan)                   TCP 6404 saegatesoftware.com
TCP 5745 fcopy-server                       TCP 6405 saegatesoftware.com
TCP 5746 fcopys-server                      TCP 6406 saegatesoftware.com
TCP 5755 OpenMail Desk Gateway server       TCP 6407 saegatesoftware.com
TCP 5757 OpenMail X.500 Directory           TCP 6408 saegatesoftware.com
Server                                      TCP 6409 saegatesoftware.com
TCP 5766 OpenMail NewMail Server            TCP 6410 saegatesoftware.com
TCP 5767 OpenMail Suer Agent Layer          TCP 6455 SKIP Certificate Receive
(Secure)                                    TCP 6456 SKIP Certificate Send
TCP 5768 OpenMail CMTS Server               TCP 6471 LVision License Manager
TCP 5771 NetAgent                           TCP 6500 BoKS Master
TCP 5800 VNC Virtual Network                TCP 6501 BoKS Servc
Computing                                   TCP 6502 BoKS Servm
TCP 5801 vnc                                TCP 6503 BoKS Clntd
TCP 5813 ICMPD                              TCP 6505 BoKS Admin Private Port
TCP 5859 WHEREHOO                           TCP 6506 BoKS Admin Public Port
TCP 5968 mppolicy-v5                        TCP 6507 BoKS Dir Server Private Port
TCP 5969 mppolicy-mgr                       TCP 6508 BoKS Dir Server Public Port
TCP 5977 NCD preferences TCP port           TCP 6547 apc-tcp-udp-1
TCP 5978 NCD diagnostic TCP port            TCP 6548 apc-tcp-udp-2
TCP 5979 NCD configuration TCP port         TCP 6549 apc-tcp-udp-3
TCP 5997 NCD preferences telnet port        TCP 6550 fg-sysupdate
TCP 5998 NCD diagnostic telnet port         TCP 6558 xdsxdm
TCP 5999 CVSup                              TCP 6665 Internet Relay Chat
TCP 6000 X-Windows                          TCP 6666 IRC
TCP 6001 Cisco mgmt                         TCP 6667 IRC
TCP 6063 X Windows System mit.edu           TCP 6669 Internet Relay Chat
TCP 6064 NDL-AHP-SVC                        TCP 6670 Vocaltec Global Online
TCP 6065 WinPharaoh                         Directory / Deep Throat 2 (Windows
TCP 6066 EWCTSP                             Trojan)
TCP 6067 SRB                                TCP 6672 vision_server
TCP 6068 GSMP                               TCP 6673 vision_elmd



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 6699 Napster                            TCP 7588 Sun License Manager
TCP 6700 Napster / Carracho (server)        TCP 7597 TROJAN WORM
TCP 6701 Napster / Carracho (server)        TCP 7633 PMDF Management
TCP 6711 SubSeven (Windows Trojan)          TCP 7640 CUSeeMe
TCP 6701 KTI/ICAD Nameserver                TCP 7777 cbt
TCP 6723 DDOS communication TCP             TCP 7778 Interwise
TCP 6767 BMC PERFORM AGENT                  TCP 7781 accu-lmgr
TCP 6768 BMC PERFORM MGRD                   TCP 7786 MINIVEND
TCP 6776 SubSeven/BackDoor-G (Windows       TCP 7932 Tier 2 Data Resource Manager
Trojan)                                     TCP 7933 Tier 2 Business Rules
TCP 6790 HNMP                               Manager
TCP 6831 ambit-lm                           TCP 7967 Supercell
TCP 6841 Netmo Default                      TCP 7979 Micromuse-ncps
TCP 6842 Netmo HTTP                         TCP 7980 Quest Vista
TCP 6850 ICCRUSHMORE                        TCP 7999 iRDMI2
TCP 6888 MUSE                               TCP 8000 HTTP/iRDMI
TCP 6961 JMACT3                             TCP 8001 HTTP/VCOM Tunnel
TCP 6962 jmevt2                             TCP 8002 HTTP/Teradata ORDBMS
TCP 6963 swismgr1                           TCP 8008 HTTP Alternate
TCP 6964 swismgr2                           TCP 8032 ProEd
TCP 6965 swistrap                           TCP 8033 MindPrint
TCP 6966 swispol                            TCP 8080 HTTP
TCP 6969 acmsoda                            TCP 8130 INDIGO-VRMI
TCP 6998 IATP-highPri                       TCP 8131 INDIGO-VBCP
TCP 6999 IATP-normalPri                     TCP 8160 Patrol
TCP 7000 file server itself                 TCP 8161 Patrol SNMP
TCP 7001 callbacks to cache managers        TCP 8181 IPSwitch IMail / Monitor
TCP 7002 users & groups database            TCP 8200 TRIVNET
TCP 7003 volume location database           TCP 8201 TRIVNET
TCP 7004 AFS/Kerberos authentication        TCP 8204 LM Perfworks
service                                     TCP 8205 LM Instmgr
TCP 7005 volume managment server            TCP 8206 LM Dta
TCP 7006 error interpretation service       TCP 8207 LM SServer
TCP 7007 basic overseer process             TCP 8208 LM Webwatcher
TCP 7008 server-to-server updater           TCP 8351 Server Find
TCP 7009 remote cache manager service       TCP 8376 Cruise ENUM
TCP 7010 onlinet uninterruptable            TCP 8377 Cruise SWROUTE
power supplies                              TCP 8378 Cruise CONFIG
TCP 7011 Talon Discovery Port               TCP 8379 Cruise DIAGS
TCP 7012 Talon Engine                       TCP 8380 Cruise UPDATE
TCP 7013 Microtalon Discovery               TCP 8484 Ipswitch IMail
TCP 7014 Microtalon Communications          TCP 8400 cvd
TCP 7015 Talon Webserver                    TCP 8401 sabarsd
TCP 7020 DP Serve                           TCP 8402 abarsd
TCP 7021 DP Serve Admin                     TCP 8403 admind
TCP 7070 ARCP                               TCP 8431 Micro PC-Cilin
TCP 7099 lazy-ptop                          TCP 8450 npmp
TCP 7100 X Font Service                     TCP 8473 Virtual Point to Point
TCP 7121 Virtual Prototypes License         TCP 8484 Ipswitch Web Calendar
Manager                                     TCP 8554 RTSP Alternate (see port
TCP 7141 vnet.ibm.com                       554)
TCP 7161 Catalyst                           TCP 8733 iBus
TCP 7174 Clutild                            TCP 8763 MC-APPSERVER
TCP 7200 FODMS FLIP                         TCP 8764 OPENQUEUE
TCP 7201 DLIP                               TCP 8765 Ultraseek HTTP
TCP 7323 3.11 Remote Administration         TCP 8804 truecm
TCP 7326 Internet Citizen's Band            TCP 8880 CDDBP
TCP 7390 The Swiss Exchange swx.ch          TCP 8888 NewsEDGE server TCP (TCP
TCP 7395 winqedit                           1)
TCP 7426 OpenView DM Postmaster             TCP 8889 Desktop Data TCP 1
Manager                                     TCP 8890 Desktop Data TCP 2
TCP 7427 OpenView DM Event Agent            TCP 8891 Desktop Data TCP 3: NESS
Manager                                     application
TCP 7428 OpenView DM Log Agent              TCP 8892 Desktop Data TCP 4: FARM
Manager                                     product
TCP 7429 OpenView DM rqt                    TCP 8893 Desktop Data TCP 5:
communication                               NewsEDGE/Web application
TCP 7430 OpenView DM xmpv7 api pipe         TCP 8894 Desktop Data TCP 6: COAL
TCP 7431 OpenView DM ovc/xmpv3 api          application
pipe                                        TCP 8900 JMB-CDS 1
TCP 7437 Faximum                            TCP 8901 JMB-CDS 2
TCP 7491 telops-lmd                         TCP 8999 Firewall
TCP 7511 pafec-lm                           TCP 9000 CSlistener
TCP 7544 FlowAnalyzer DisplayServer         TCP 9001 cisco-xremote
TCP 7545 FlowAnalyzer UtilityServer         TCP 9090 WebSM
TCP 7566 VSI Omega                          TCP 9100 HP JetDirect card hp.com
TCP 7570 Aries Kfinder                      TCP 9160 NetLOCK1



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 9161 NetLOCK2                           TCP 12004 IBM Enterprise Extender SNA
TCP 9162 NetLOCK3                           COS Low Priority
TCP 9163 NetLOCK4                           TCP 12172 HiveP
TCP 9164 NetLOCK5                           TCP 12345 Netbus (Windows Trojan)
TCP 9200 WAP connectionless session         TCP 12346 NetBus (Windows Trojan)
service                                     TCP 12361 Whack-a-mole (Windows
TCP 9201 WAP session service                Trojan)
TCP 9202 WAP secure connectionless          TCP 12362 Whack-a-mole (Windows
session service                             Trojan)
TCP 9203 WAP secure session service         TCP 12753 tsaf port
TCP 9204 WAP vCard                          TCP 12754 DDOS communication TCP
TCP 9205 WAP vCal                           TCP 13160 I-ZIPQD
TCP 9206 WAP vCard Secure                   TCP 13223 PowWow Client
TCP 9207 WAP vCal Secure                    TCP 13224 PowWow Server
TCP 9321 guibase                            TCP 13326 game
TCP 9343 MpIdcMgr                           TCP 13720 BPRD Protocol (VERITAS
TCP 9344 Mphlpdmc                           NetBackup)
TCP 9374 fjdmimgr                           TCP 13721 BPBRM Protocol (VERITAS
TCP 9396 fjinvmgr                           NetBackup)
TCP 9397 MpIdcAgt                           TCP 13722 BP Java MSVC Protocol
TCP 9500 ismserver                          TCP 13782 VERITAS NetBackup
TCP 9535 Remote man server                  TCP 13783 VOPIED Protnocol
TCP 9537 Remote man server, testing         TCP 13818 DSMCC Config
TCP 9594 Message System                     TCP 13819 DSMCC Session Messages
TCP 9595 Ping Discovery Service             TCP 13820 DSMCC Pass-Thru Messages
TCP 9600 MICROMUSE-NCPW                     TCP 13821 DSMCC Download Protocol
TCP 9753 rasadv                             TCP 13822 DSMCC Channel Change
TCP 9876 Session Director                   Protocol
TCP 9888 CYBORG Systems                     TCP 14001 ITU SCCP (SS7)
TCP 9898 MonkeyCom                          TCP 15104 DDOS communication TCP
TCP 9899 SCTP TUNNELING                     TCP 16360 netserialext1
TCP 9900 IUA                                TCP 16361 netserialext2
TCP 9909 domaintime                         TCP 16367 netserialext3
TCP 9950 APCPCPLUSWIN1                      TCP 16368 netserialext4
TCP 9951 APCPCPLUSWIN2                      TCP 16660 Stacheldraht distributed
TCP 9952 APCPCPLUSWIN3                      attack tool client
TCP 9992 Palace                             TCP 16959 Subseven DEFCON8 2.1
TCP 9993 Palace                             backdoor remote access tool
TCP 9994 Palace                             TCP 16991 INTEL-RCI-MP
TCP 9995 Palace                             TCP 17007 isode-dua
TCP 9996 Palace                             TCP 17219 Chipper
TCP 9997 Palace                             TCP 18000 Beckman Instruments Inc.
TCP 9998 Distinct32                         TCP 18181 OPSEC CVP
TCP 9999 distinct                           TCP 18182 OPSEC UFP
TCP 10000 Network Data Management           TCP 18183 OPSEC SAM
Protocol                                    TCP 18184 OPSEC LEA
TCP 10001 queue                             TCP 18185 OPSEC OMI
TCP 10002 poker                             TCP 18187 OPSEC ELA
TCP 10003 gateway                           TCP 18463 AC Cluster
TCP 10004 remp                              TCP 18753 Shaft distributed attack
TCP 10005 Secure telnet                     tool handler -agent
TCP 10007 MVS Capacity                      TCP 18888 APCNECMP
TCP 10012 qmaster                           TCP 19283 Key Server for SASSAFRAS
TCP 10080 Amanda                            TCP 19315 Key Shadow for SASSAFRAS
TCP 10082 Amanda Indexing                   TCP 19410 hp-sco
TCP 10083 Amanda Tape Indexing              TCP 19411 hp-sca
TCP 10113 NetIQ Endpoint                    TCP 19412 HP-SESSMON
TCP 10114 NetIQ Qcheck                      TCP 19541 JCP Client
TCP 10115 Ganymede Endpoint                 TCP 20000 DNP
TCP 10128 BMC-PERFORM-SERVICE DAEMON        TCP 20005 xcept4 (German Telekom's
TCP 10288 Blocks                            CEPT videotext service)
TCP 10520 Acid Shivers (Windows             TCP 20034 NetBus 2 Pro (Windows
Trojan)                                     Trojan)
TCP 11000 IRISA                             TCP 20432 Shaft distributed attack
TCP 11001 Metasys                           client
TCP 11111 Viral Computing Environment       TCP 20670 Track
(VCE)                                       TCP 20999 At Hand MMP
TCP 11367 ATM UHAS                          TCP 21554 (trojan)
TCP 11720 h323 Call Signal Alternate        TCP 21590 VoFR Gateway
TCP 12000 IBM Enterprise Extender SNA       TCP 21845 webphone
XID Exchange                                TCP 21846 NetSpeak Corp. Directory
TCP 12001 IBM Enterprise Extender SNA       Services
COS Network Priority                        TCP 21847 NetSpeak Corp. Connection
TCP 12002 IBM Enterprise Extender SNA       Services
COS High Priority                           TCP 21848 NetSpeak Corp. Automatic
TCP 12003 IBM Enterprise Extender SNA       Call Distribution
COS Medium Priority



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

TCP 21849 NetSpeak Corp. Credit             TCP 47557 Databeam Corporation
Processing System                           TCP 47624 Direct Play Server
TCP 22000 SNAPenetIO                        TCP 47806 ALC Protocol
TCP 22001 OptoControl                       TCP 47808 Building Automation and
TCP 22273 wnn6                              Control Networks
TCP 22289 Wnn6 (Chinese Input)              TCP 48000 Nimbus Controller
TCP 22305 Wnn6 (Korean Input)               TCP 48001 Nimbus Spooler
TCP 22321 Wnn6 (Taiwanese Input)            TCP 48002 Nimbus Hub
TCP 22555 Vocaltec Web Conference           TCP 48003 Nimbus Gateway
TCP 22800 Telerate Information              TCP 54320 Orifice 2000 (TCP)
Platform LAN                                TCP 65000 distributed attack tool /
TCP 22951 Telerate Information              Devil (Windows Trojan)
Platform WAN                                TCP 65301 pcAnywhere-def
TCP 24000 med-ltp
TCP 24001 med-fsp-rx
TCP 24002 med-fsp-tx                             Up to the TCP port list
TCP 24003 med-supp                          21             UDP Ports
TCP 24004 med-ovw                           UDP 0 Reserved
TCP 24005 med-ci                            UDP 1 Port Service Multiplexer
TCP 24006 med-net-svc                       UDP 2 Management Utility
TCP 24386 Intel RCI                         UDP 3 Compression Process
TCP 24554 BINKP                             UDP 4 Unassigned
TCP 25000 icl-twobase1                      UDP 5 Remote Job Entry
TCP 25001 icl-twobase2                      UDP 6 Unassigned
TCP 25002 icl-twobase3                      UDP 7 Echo
TCP 25003 icl-twobase4                      UDP 8 Unassigned
TCP 25004 icl-twobase5                      UDP 9 Discard
TCP 25005 icl-twobase6                      UDP 10 Unassigned
TCP 25006 icl-twobase7                      UDP 11 Active Users
TCP 25007 icl-twobase8                      UDP 12 Unassigned
TCP 25008 icl-twobase9                      UDP 13 Daytime
TCP 25009 icl-twobase10                     UDP 14 Unassigned
TCP 21554 Girlfriend (Windows Trojan)       UDP 15 Unassigned
TCP 25793 Vocaltec Address Server           UDP 16 Unassigned
TCP 26000 quake                             UDP 17 Quote of the Day
TCP 26208 wnn6-ds                           UDP 18 Message Send Protocol
TCP 26274 Delta Source (Windows             UDP 19 Character Generator
Trojan)                                     UDP 20 File Transfer [Default Data]
TCP 27374 Linux.Ramen.Worm (RedHat          UDP 21 File Transfer [Control]
Linux)                                      UDP 22 SSH Remote Login Protocol
TCP 27665 Trinoo distributed attack         UDP 23 Telnet
tool Master server control port             UDP 24 any private mail system
TCP 27999 TW Authentication/Key             UDP 25 Simple Mail Transfer
Distribution and                            UDP 26 Unassigned
TCP 30100 Netsphere (Windows Trojan)        UDP 27 NSW User System FE
TCP 30101 Netsphere (Windows Trojan)        UDP 28 Unassigned
TCP 30102 Netsphere (Windows Trojan)        UDP 29 MSG ICP
TCP 31337 BO2K                              UDP 30 Unassigned
TCP 31785 Hack-A-Tack (Windows              UDP 31 MSG Authentication
Trojan)                                     UDP 32 Unassigned
TCP 31787 Hack-A-Tack (Windows              UDP 33 Display Support Protocol
Trojan)                                     UDP 34 Unassigned
TCP 32000 XtraMail v1.11                    UDP 35 any private printer server
TCP 32768 Filenet TMS                       UDP 36 Unassigned
TCP 32769 Filenet RPC                       UDP 37 Time
TCP 32770 Filenet NCH                       UDP 38 Route Access Protocol
TCP 32771 Sun RPC                           UDP 39 Resource Location Protocol
TCP 32780 RPC                               UDP 40 Unassigned
TCP 33434 traceroute use                    UDP 41 Graphics
TCP 34324 Big Gluck (Windows Trojan)        UDP 42 Host Name Server
TCP 36865 KastenX Pipe                      UDP 43 Who Is
TCP 40421 Master's Paradise (Windows        UDP 44 MPM FLAGS Protocol
Trojan)                                     UDP 45 Message Processing Module
TCP 40422 Master's Paradise (Windows        [recv]
Trojan)                                     UDP 46 MPM [default send]
TCP 40423 Master's Paradise (Windows        UDP 47 NI FTP
Trojan)                                     UDP 48 Digital Audit Daemon
TCP 40426 Master's Paradise (Windows        UDP 49 Login Host Protocol (TACACS)
Trojan)                                     UDP 50 Remote Mail Checking Protocol
TCP 40841 CSCP                              UDP 51 IMP Logical Address
TCP 43118 reachout                          Maintenance
TCP 43188 Reachout                          UDP 52 XNS Time Protocol
TCP 44818 Rockwell Encapsulation            UDP 53 Domain Name Server
TCP 45678 EBA PRISE                         UDP 54 XNS Clearinghouse
TCP 45966 SSRServerMgr                      UDP 55 ISI Graphics Language
TCP 47262 Delta Source (Windows             UDP 56 XNS Authentication
Trojan)



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 57 any private terminal access          UDP 125 Locus PC-Interface Net Map
UDP 58 XNS Mail                             Ser
UDP 59 any private file service             UDP 126 Unisys Unitary Login
UDP 60 Unassigned                           UDP 127 Locus PC-Interface Conn
UDP 61 NI MAIL                              Server
UDP 62 ACA Services                         UDP 128 GSS X License Verification
UDP 63 whois++                              UDP 129 Password Generator Protocol
UDP 64 Communications Integrator (CI)       UDP 130 cisco FNATIVE
UDP 65 TACACS-Database Service              UDP 131 cisco TNATIVE
UDP 66 Oracle SQL*NET                       UDP 132 cisco SYSMAINT
UDP 67 Bootstrap Protocol Server            UDP 133 Statistics Service
UDP 68 Bootstrap Protocol Client            UDP 134 INGRES-NET Service
UDP 69 Trivial File Transfer                UDP 135 DCE endpoint resolution
UDP 70 Gopher                               UDP 136 PROFILE Naming System
UDP 71 Remote Job Service                   UDP 137 NETBIOS Name Service
UDP 72 Remote Job Service                   UDP 138 NETBIOS Datagram Service
UDP 73 Remote Job Service                   UDP 139 NETBIOS Session Service
UDP 74 Remote Job Service                   UDP 140 EMFIS Data Service
UDP 75 any private dial out service         UDP 141 EMFIS Control Service
UDP 76 Distributed External Object          UDP 142 Britton-Lee IDM
Store                                       UDP 143 Internet Message Access
UDP 77 any private RJE service              Protocol
UDP 78 vettcp                               UDP 144 Universal Management
UDP 79 Finger                               Architecture
UDP 80 World Wide Web HTTP                  UDP 145 UAAC Protocol
UDP 81 HOSTS2 Name Server                   UDP 146 ISO-IP0
UDP 82 XFER Utility                         UDP 147 ISO-IP
UDP 83 MIT ML Device                        UDP 148 Jargon
UDP 84 Common Trace Facility                UDP 149 AED 512 Emulation Service
UDP 85 MIT ML Device                        UDP 150 SQL-NET
UDP 86 Micro Focus Cobol                    UDP 151 HEMS
UDP 87 any private terminal link            UDP 152 Background File Transfer
UDP 88 Kerberos                             Program
UDP 89 SU/MIT Telnet Gateway                UDP 153 SGMP
UDP 90 DNSIX Securit Attribute Token        UDP 154 NETSC
Map                                         UDP 155 NETSC
UDP 91 MIT Dover Spooler                    UDP 156 SQL Service
UDP 92 Network Printing Protocol            UDP 157 KNET/VM Command/Message
UDP 93 Device Control Protocol              Protocol
UDP 94 Tivoli Object Dispatcher             UDP 158 PCMail Server
UDP 95 SUPDUP                               UDP 159 NSS-Routing
UDP 96 DIXIE Protocol Specification         UDP 160 SGMP-TRAPS
UDP 97 Swift Remote Virtural File           UDP 161 SNMP
Protocol                                    UDP 162 SNMPTRAP
UDP 98 TAC News                             UDP 163 CMIP/TCP Manager
UDP 99 Metagram Relay                       UDP 164 CMIP/TCP Agent
UDP 101 NIC Host Name Server                UDP 165 Xerox
UDP 102 ISO-TSAP Class 0                    UDP 166 Sirius Systems
UDP 103 Genesis Point-to-Point Trans        UDP 167 NAMP
Net                                         UDP 168 RSVD
UDP 104 ACR-NEMA Digital Imag. &            UDP 169 SEND
Comm. 300                                   UDP 170 Network PostScript
UDP 105 Mailbox Name Nameserver             UDP 171 Network Innovations Multiplex
UDP 106 3COM-TSMUX                          UDP 172 Network Innovations CL/1
UDP 107 Remote Telnet Service               UDP 173 Xyplex
UDP 108 SNA Gateway Access Server           UDP 174 MAILQ
UDP 109 Post Office Protocol -              UDP 175 VMNET
Version 2                                   UDP 176 GENRAD-MUX
UDP 110 Post Office Protocol -              UDP 177 X Display Manager Control
Version 3                                   Protocol
UDP 111 SUN Remote Procedure Call           UDP 178 NextStep Window Server
UDP 112 McIDAS Data Transmission            UDP 179 Border Gateway Protocol
Protocol                                    UDP 180 Intergraph
UDP 113 Authentication Service              UDP 181 Unify
UDP 114 Audio News Multicast                UDP 182 Unisys Audit SITP
UDP 115 Simple File Transfer Protocol       UDP 183 OCBinder
UDP 116 ANSA REX Notify                     UDP 184 OCServer
UDP 117 UUCP Path Service                   UDP 185 Remote-KIS
UDP 118 SQL Services                        UDP 186 KIS Protocol
UDP 119 Network News Transfer               UDP 187 Application Communication
Protocol                                    Interface
UDP 120 CFDPTKT                             UDP 188 Plus Five's MUMPS
UDP 121 Encore Expedited Remote             UDP 189 Queued File Transport
Pro.Call                                    UDP 190 Gateway Access Control
UDP 122 SMAKYNET                            Protocol
UDP 123 Network Time Protocol               UDP 191 Prospero Directory Service
UDP 124 ANSA REX Trader                     UDP 192 OSU Network Monitoring System



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 193 Spider Remote Monitoring            UDP 312 VSLMP
Protocol                                    UDP 313 Magenta Logic
UDP 194 Internet Relay Chat Protocol        UDP 314 Opalis Robot
UDP 195 DNSIX Network Level Module          UDP 315 DPSI
Audit                                       UDP 316 decAuth
UDP 196 DNSIX Session Mgt Module            UDP 317 Zannet
Audit Redir                                 UDP 318 PKIX TimeStamp
UDP 197 Directory Location Service          UDP 319 PTP Event
UDP 198 Directory Location Service          UDP 320 PTP General
Monitor                                     UDP 321 PIP
UDP 199 SMUX                                UDP 322 RTSPS
UDP 200 IBM System Resource                 UDP 333 Texar Security Port
Controller                                  UDP 344 Prospero Data Access Protocol
UDP 201 AppleTalk Routing Maintenance       UDP 345 Perf Analysis Workbench
UDP 202 AppleTalk Name Binding              UDP 346 Zebra server
UDP 203 AppleTalk Unused                    UDP 347 Fatmen Server
UDP 204 AppleTalk Echo                      UDP 348 Cabletron Management Protocol
UDP 205 AppleTalk Unused                    UDP 349 mftp
UDP 206 AppleTalk Zone Information          UDP 350 MATIP Type A
UDP 207 AppleTalk Unused                    UDP 351 bhoetty
UDP 208 AppleTalk Unused                    UDP 352 bhoedap4
UDP 209 The Quick Mail Transfer             UDP 353 NDSAUTH
Protocol                                    UDP 354 bh611
UDP 210 ANSI Z39.50                         UDP 355 DATEX-ASN
UDP 211 Texas Instruments 914C/G            UDP 356 Cloanto Net 1
Terminal                                    UDP 357 bhevent
UDP 212 ATEXSSTR                            UDP 358 Shrinkwrap
UDP 213 IPX                                 UDP 359 Tenebris Network Trace
UDP 214 VM PWSCS                            Service
UDP 215 Insignia Solutions                  UDP 360 scoi2odialog
UDP 216 Computer Associates Int'l           UDP 361 Semantix
License Server                              UDP 362 SRS Send
UDP 217 dBASE Unix                          UDP 363 RSVP Tunnel
UDP 218 Netix Message Posting               UDP 364 Aurora CMGR
Protocol                                    UDP 365 DTK
UDP 219 Unisys ARPs                         UDP 366 ODMR
UDP 220 Interactive Mail Access             UDP 367 MortgageWare
Protocol v3                                 UDP 368 QbikGDP
UDP 221 Berkeley rlogind with SPX           UDP 369 rpc2portmap
auth                                        UDP 370 codaauth2
UDP 222 Berkeley rshd with SPX auth         UDP 371 Clearcase
UDP 223 Certificate Distribution            UDP 372 ListProcessor
Center                                      UDP 373 Legent Corporation
UDP 224 masqdialer                          UDP 374 Legent Corporation
UDP 242 Direct                              UDP 375 Hassle
UDP 243 Survey Measurement                  UDP 376 Amiga Envoy Network Inquiry
UDP 244 inbusiness                          Proto
UDP 245 LINK                                UDP 377 NEC Corporation
UDP 246 Display Systems Protocol            UDP 378 NEC Corporation
UDP 247 SUBNTBCST_TFTP                      UDP 379 TIA/EIA/IS-99 modem client
UDP 248 bhfhs                               UDP 380 TIA/EIA/IS-99 modem server
UDP 256 RAP                                 UDP 381 hp performance data collector
UDP 257 Secure Electronic Transaction       UDP 382 hp performance data managed
UDP 258 Yak Winsock Personal Chat           node
UDP 259 Efficient Short Remote              UDP 383 hp performance data alarm
Operations                                  manager
UDP 260 Openport                            UDP 384 A Remote Network Server
UDP 261 IIOP Name Service over              System
TLS/SSL                                     UDP 385 IBM Application
UDP 262 Arcisdms                            UDP 386 ASA Message Router Object
UDP 263 HDAP                                Def.
UDP 264 BGMP                                UDP 387 Appletalk Update-Based
UDP 265 X-Bone CTL                          Routing Pro.
UDP 266 SCSI on ST                          UDP 388 Unidata LDM
UDP 267 Tobit David Service Layer           UDP 389 Lightweight Directory Access
UDP 268 Tobit David Replica                 Protocol
UDP 280 HTTP-mgmt                           UDP 390 UIS
UDP 281 Personal Link                       UDP 391 SynOptics SNMP Relay Port
UDP 282 Cable Port A/X                      UDP 392 SynOptics Port Broker Port
UDP 283 rescap                              UDP 393 Data Interpretation System
UDP 284 corerjd                             UDP 394 EMBL Nucleic Data Transfer
UDP 286 FXP-1                               UDP 395 NETscout Control Protocol
UDP 287 K-BLOCK                             UDP 396 Novell Netware over IP
UDP 308 Novastor Backup                     UDP 397 Multi Protocol Trans. Net.
UDP 309 EntrustTime                         UDP 398 Kryptolan
UDP 310 bhmds                               UDP 399 ISO Transport Class 2 Non-
UDP 311 AppleShare IP WebAdmin              Control over TCP



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 400 Workstation Solutions               UDP 470 scx-proxy
UDP 401 Uninterruptible Power Supply        UDP 471 Mondex
UDP 402 Genie Protocol                      UDP 472 ljk-login
UDP 403 decap                               UDP 473 hybrid-pop
UDP 404 nced                                UDP 474 tn-tl-w2
UDP 405 ncld                                UDP 475 tcpnethaspsrv
UDP 406 Interactive Mail Support            UDP 476 tn-tl-fd1
Protocol                                    UDP 477 ss7ns
UDP 407 Timbuktu                            UDP 478 spsc
UDP 408 Prospero Resource Manager           UDP 479 iafserver
Sys. Man.                                   UDP 480 iafdbase
UDP 409 Prospero Resource Manager           UDP 481 Ph service
Node Man.                                   UDP 482 bgs-nsi
UDP 410 DECLadebug Remote Debug             UDP 483 ulpnet
Protocol                                    UDP 484 Integra Software Management
UDP 411 Remote MT Protocol                  Environment
UDP 412 Trap Convention Port                UDP 485 Air Soft Power Burst
UDP 413 SMSP                                UDP 486 avian
UDP 414 InfoSeek                            UDP 487 saft Simple Asynchronous File
UDP 415 BNet                                Transfer
UDP 416 Silverplatter                       UDP 488 gss-HTTP
UDP 417 Onmux                               UDP 489 nest-protocol
UDP 418 Hyper-G                             UDP 490 micom-pfs
UDP 419 Ariel                               UDP 491 go-login
UDP 420 SMPTE                               UDP 492 Transport Independent
UDP 421 Ariel                               Convergence for FNA
UDP 422 Ariel                               UDP 493 Transport Independent
UDP 423 IBM Operations Planning and         Convergence for FNA
Control Start                               UDP 494 POV-Ray
UDP 424 IBM Operations Planning and         UDP 495 intecourier
Control Track                               UDP 496 PIM-RP-DISC
UDP 425 ICAD                                UDP 497 dantz
UDP 426 smartsdp                            UDP 498 siam
UDP 427 Server Location                     UDP 499 ISO ILL Protocol
UDP 428 OCS_CMU                             UDP 500 isakmp
UDP 429 OCS_AMU                             UDP 501 STMF
UDP 430 UTMPSD                              UDP 502 asa-appl-proto
UDP 431 UTMPCD                              UDP 503 Intrinsa
UDP 432 IASD                                UDP 504 citadel
UDP 433 NNSP                                UDP 505 mailbox-lm
UDP 434 MobileIP-Agent                      UDP 506 ohimsrv
UDP 435 MobilIP-MN                          UDP 507 crs
UDP 436 DNA-CML                             UDP 508 xvttp
UDP 437 comscm                              UDP 509 snare
UDP 438 dsfgw                               UDP 510 FirstClass Protocol
UDP 439 dasp                                UDP 511 PassGo
UDP 440 sgcp                                UDP 512 used by mail system to notify
UDP 441 decvms-sysmgt                       users
UDP 442 cvc_hostd                           UDP 513 maintains data bases showing
UDP 443 HTTP protocol over TLS/SSL          who's
UDP 444 Simple Network Paging               UDP 514 BSD syslogd
Protocol                                    UDP 515 spooler
UDP 445 Microsoft-DS                        UDP 516 videotex
UDP 446 DDM-RDB                             UDP 517 like tenex link but across
UDP 447 DDM-RFM                             UDP 518 talkd
UDP 448 DDM-SSL                             UDP 519 unixtime
UDP 449 AS Server Mapper                    UDP 520 local routing process (on
UDP 450 TServer                             site)
UDP 451 Cray Network Semaphore server       UDP 521 ripng
UDP 452 Cray SFS config server              UDP 522 ULP
UDP 453 CreativeServer                      UDP 523 IBM-DB2
UDP 454 ContentServer                       UDP 524 NCP
UDP 455 CreativePartnr                      UDP 525 timeserver
UDP 456 macon-udp                           UDP 526 newdate
UDP 457 scohelp                             UDP 527 Stock IXChange
UDP 458 apple quick time                    UDP 528 Customer IXChange
UDP 459 ampr-rcmd                           UDP 529 IRC-SERV
UDP 460 skronk                              UDP 530 rpc
UDP 461 DataRampSrv                         UDP 531 chat
UDP 462 DataRampSrvSec                      UDP 532 readnews
UDP 463 alpes                               UDP 533 for emergency broadcasts
UDP 464 kpasswd                             UDP 534 MegaMedia Admin
UDP 465 smtp protocol over TLS/SSL          UDP 535 iiop
UDP 466 digital-vrc                         UDP 536 opalis-rdv
UDP 467 mylex-mapd                          UDP 537 Networked Media Streaming
UDP 468 proturis                            Protocol
UDP 469 Radio Control Protocol              UDP 538 gdomap



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 539 Apertus Technologies Load           UDP 615 Internet Configuration
Determination                               Manager
UDP 540 uucpd                               UDP 616 SCO System Administration
UDP 541 uucp-rlogin                         Server
UDP 542 commerce                            UDP 617 SCO Desktop Administration
UDP 543 kerberos (v4/v5)                    Server
UDP 544 krcmd                               UDP 618 DEI-ICDA
UDP 545 appleqtcsrvr                        UDP 619 Digital EVM
UDP 546 DHCPv6 Client                       UDP 620 SCO WebServer Manager
UDP 547 DHCPv6 Server                       UDP 621 ESCP
UDP 548 AFP over TCP                        UDP 622 Collaborator
UDP 549 IDFP                                UDP 623 Aux Bus Shunt
UDP 550 new-who                             UDP 624 Crypto Admin
UDP 551 cybercash                           UDP 625 DEC DLM
UDP 552 deviceshare                         UDP 626 ASIA
UDP 553 pirp                                UDP 627 PassGo Tivoli
UDP 554 Real Time Stream Control            UDP 628 QMQP
Protocol                                    UDP 629 3Com AMP3
UDP 555 phAse Zero backdoor (Windows)       UDP 630 RDA
/ dsf                                       UDP 631 IPP (Internet Printing
UDP 556 rfs server                          Protocol)
UDP 557 openvms-sysipc                      UDP 632 bmpp
UDP 558 SDNSKMP                             UDP 633 Service Status update
UDP 559 TEEDTAP                             (Sterling Software)
UDP 560 rmonitord                           UDP 634 ginad
UDP 561 monitor                             UDP 635 RLZ DBase
UDP 562 chcmd                               UDP 636 ldap protocol over TLS/SSL
UDP 563 nntp protocol over TLS/SSL          UDP 637 lanserver
UDP 564 plan 9 file service                 UDP 638 mcns-sec
UDP 565 whoami                              UDP 639 MSDP
UDP 566 streettalk                          UDP 640 entrust-sps
UDP 567 banyan-rpc                          UDP 641 repcmd
UDP 568 microsoft shuttle                   UDP 642 ESRO-EMSDP V1.3
UDP 569 microsoft rome                      UDP 643 SANity
UDP 570 demon                               UDP 644 dwr
UDP 571 udemon                              UDP 645 PSSC
UDP 572 sonar                               UDP 646 LDP
UDP 573 banyan-vip                          UDP 647 DHCP Failover
UDP 574 FTP Software Agent System           UDP 648 Registry Registrar Protocol
UDP 575 VEMMI                               (RRP)
UDP 576 ipcd                                UDP 649 Aminet
UDP 577 vnas                                UDP 650 OBEX
UDP 578 ipdd                                UDP 651 IEEE MMS
UDP 579 decbsrv                             UDP 652 UDLR_DTCP
UDP 580 SNTP HEARTBEAT                      UDP 653 RepCmd
UDP 581 Bundle Discovery Protocol           UDP 654 AODV
UDP 582 SCC Security                        UDP 655 TINC
UDP 583 Philips Video-Conferencing          UDP 656 SPMP
UDP 584 Key Server                          UDP 657 RMC
UDP 585 IMAP4+SSL                           UDP 658 TenFold
UDP 586 Password Change                     UDP 659 URL Rendezvous
UDP 587 Submission                          UDP 660 MacOS Server Admin
UDP 588 CAL                                 UDP 661 HAP
UDP 589 EyeLink                             UDP 662 PFTP
UDP 590 TNS CML                             UDP 663 PureNoise
UDP 591 FileMaker Inc. - HTTP               UDP 664 Secure Aux Bus
Alternate                                   UDP 665 Sun DR
UDP 592 Eudora Set                          UDP 666 doom Id Software
UDP 593 HTTP RPC Ep Map                     UDP 667 campaign contribution
UDP 594 TPIP                                disclosures - SDR Technologies
UDP 595 CAB Protocol                        UDP 668 MeComm
UDP 596 SMSD                                UDP 669 MeRegister
UDP 597 PTC Name Service                    UDP 670 VACDSM-SWS
UDP 598 SCO Web Server Manager 3            UDP 671 VACDSM-APP
UDP 599 Aeolon Core Protocol                UDP 672 VPPS-QUA
UDP 600 Sun IPC server                      UDP 673 CIMPLEX
UDP 606 Cray Unified Resource Manager       UDP 674 ACAP
UDP 607 nqs                                 UDP 675 DCTP
UDP 608 Sender-Initiated/Unsolicited        UDP 676 VPPS Via
File Transfer                               UDP 677 Virtual Presence Protocol
UDP 609 npmp-trap                           UDP 678 GNU Generation Foundation NCP
UDP 610 npmp-local                          UDP 679 MRM
UDP 611 npmp-gui                            UDP 680 entrust-aaas
UDP 612 HMMP Indication                     UDP 681 entrust-aams
UDP 613 HMMP Operation                      UDP 682 XFR
UDP 614 SSLshell                            UDP 683 CORBA IIOP
                                            UDP 684 CORBA IIOP SSL



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 685 MDC Port Mapper                     UDP 888 AccessBuilder
UDP 686 Hardware Control Protocol           UDP 900 OMG Initial Refs
Wismar                                      UDP 901 SMPNAMERES
UDP 687 asipregistry                        UDP 902 IDEAFARM-CHAT
UDP 688 REALM-RUSD                          UDP 903 IDEAFARM-CATCH
UDP 689 NMAP                                UDP 911 xact-backup
UDP 690 VATP                                UDP 989 ftp protocol data over
UDP 691 MS Exchange Routing                 TLS/SSL
UDP 692 Hyperwave-ISP                       UDP 990 ftp protocol control over
UDP 693 connendp                            TLS/SSL
UDP 694 ha-cluster                          UDP 991 Netnews Administration System
UDP 695 IEEE-MMS-SSL                        UDP 992 telnet protocol over TLS/SSL
UDP 696 RUSHD                               UDP 993 imap4 protocol over TLS/SSL
UDP 697 UUIDGEN                             UDP 994 irc protocol over TLS/SSL
UDP 698 OLSR                                UDP 995 pop3 protocol over TLS/SSL
UDP 704 errlog copy/server daemon           UDP 996 vsinet
UDP 705 AgentX                              UDP 997 maitrd
UDP 706 SILC                                UDP 998 puparp
UDP 707 Borland DSJ                         UDP 999 Applix ac
UDP 709 Entrust Key Management              UDP 1000 ock
Service Handler                             UDP 1008 Solaris
UDP 710 Entrust Administration              UDP 1010 surf
Service Handler                             UDP 1012 This is rstatd on a openBSD
UDP 711 Cisco TDP                           box
UDP 729 IBM NetView DM/6000                 UDP 1023 Reserved
Server/Client                               UDP 1024 Reserved
UDP 730 IBM NetView DM/6000 send/tcp        UDP 1025 network blackjack
UDP 731 IBM NetView DM/6000                 UDP 1030 BBN IAD
receive/tcp                                 UDP 1031 BBN IAD
UDP 740 (old) NETscout Control              UDP 1032 BBN IAD
Protocol (old)                              UDP 1047 Sun's NEO Object Request
UDP 741 netGW                               Broker
UDP 742 Network based Rev. Cont. Sys.       UDP 1048 Sun's NEO Object Request
UDP 744 Flexible License Manager            Broker
UDP 747 Fujitsu Device Control              UDP 1049 Tobit David Postman VPMN
UDP 748 Russell Info Sci Calendar           UDP 1050 CORBA Management Agent
Manager                                     UDP 1051 Optima VNET
UDP 749 kerberos administration             UDP 1052 Dynamic DNS Tools
UDP 750 kerberos version iv                 UDP 1053 Remote Assistant (RA)
UDP 751 pump                                UDP 1054 BRVREAD
UDP 752 Kerberos password server            UDP 1055 ANSYS - License Manager
UDP 753 Kerberos userreg server             UDP 1056 VFO
UDP 754 send                                UDP 1057 STARTRON
UDP 758 nlogin                              UDP 1058 nim
UDP 759 con                                 UDP 1059 nimreg
UDP 760 ns                                  UDP 1060 POLESTAR
UDP 761 rxe                                 UDP 1061 KIOSK
UDP 762 quotad                              UDP 1062 Veracity
UDP 763 cycleserv                           UDP 1063 KyoceraNetDev
UDP 764 omserv                              UDP 1064 JSTEL
UDP 765 webster                             UDP 1065 SYSCOMLAN
UDP 767 phone                               UDP 1066 FPO-FNS
UDP 769 vid                                 UDP 1067 Installation Bootstrap
UDP 770 cadlock                             Proto. Serv.
UDP 771 rtip                                UDP 1068 Installation Bootstrap
UDP 772 cycleserv2                          Proto. Cli.
UDP 773 notify                              UDP 1069 COGNEX-INSIGHT
UDP 774 acmaint_dbd                         UDP 1070 GMRUpdateSERV
UDP 775 acmaint_transd                      UDP 1071 BSQUARE-VOIP
UDP 776 wpages                              UDP 1072 CARDAX
UDP 777 Multiling HTTP                      UDP 1073 BridgeControl
UDP 780 wpgs                                UDP 1074 FASTechnologies License
UDP 781 HP performance data collector       Manager
UDP 782 node HP performance data            UDP 1075 RDRMSHC
managed node                                UDP 1076 DAB STI-C
UDP 783 HP performance data alarm           UDP 1077 IMGames
manager                                     UDP 1078 eManageCstp
UDP 786 Concert                             UDP 1079 ASPROVATalk
UDP 787 QSC                                 UDP 1080 Socks
UDP 800 mdbs_daemon                         UDP 1081 PVUNIWIEN
UDP 801 device                              UDP 1082 AMT-ESD-PROT
UDP 810 FCP Datagram                        UDP 1083 Anasoft License Manager
UDP 828 itm-mcell-s                         UDP 1084 Anasoft License Manager
UDP 829 PKIX-3 CA/RA                        UDP 1085 Web Objects
UDP 873 rsync                               UDP 1086 CPL Scrambler Logging
UDP 886 ICL coNETion locate server          UDP 1087 CPL Scrambler Internal
UDP 887 ICL coNETion server info            UDP 1088 CPL Scrambler Alarm Log



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 1089 FF Annunciation                    UDP 1314 Photoscript Distributed
UDP 1090 FF Fieldbus Message                Printing System
Specification                               UDP 1319 Panja-ICSP
UDP 1091 FF System Management               UDP 1320 Panja-AXBNET
UDP 1092 OBRPD                              UDP 1321 PIP
UDP 1093 PROOFD                             UDP 1335 Digital Notary Protocol
UDP 1094 ROOTD                              UDP 1345 VPJP
UDP 1095 NICELink                           UDP 1346 Alta Analytics License
UDP 1096 Common Name Resolution             Manager
Protocol                                    UDP 1347 multi media conferencing
UDP 1097 Sun Cluster Manager                UDP 1348 multi media conferencing
UDP 1098 RMI Activation                     UDP 1349 Registration Network
UDP 1099 RMI Registry                       Protocol
UDP 1100 MCTP                               UDP 1350 Registration Network
UDP 1101 PT2-DISCOVER                       Protocol
UDP 1102 ADOBE SERVER 1                     UDP 1351 Digital Tool Works (MIT)
UDP 1103 ADOBE SERVER 2                     UDP 1352 Lotus Note
UDP 1104 XRL                                UDP 1353 Relief Consulting
UDP 1105 FTRANHC                            UDP 1354 RightBrain Software
UDP 1106 ISOIPSIGPORT-1                     UDP 1355 Intuitive Edge
UDP 1107 ISOIPSIGPORT-2                     UDP 1356 CuillaMartin Company
UDP 1108 ratio-adp                          UDP 1357 Electronic PegBoard
UDP 1110 Client status info                 UDP 1358 CONNLCLI
UDP 1111 LM Social Server                   UDP 1359 FTSRV
UDP 1112 Intelligent Communication          UDP 1360 MIMER
Protocol                                    UDP 1361 LinX
UDP 1114 Mini SQL                           UDP 1362 TimeFlies
UDP 1115 ARDUS Transfer                     UDP 1363 Network DataMover Requester
UDP 1116 ARDUS Control                      UDP 1364 Network DataMover Server
UDP 1117 ARDUS Multicast Transfer           UDP 1365 Network Software Associates
UDP 1123 Murray                             UDP 1366 Novell NetWare Comm Service
UDP 1155 Network File Access                Platform
UDP 1161 Health Polling                     UDP 1367 DCS
UDP 1162 Health Trap                        UDP 1368 ScreenCast
UDP 1167 conference calling                 UDP 1369 GlobalView to Unix Shell
UDP 1169 TRIPWIRE                           UDP 1370 Unix Shell to GlobalView
UDP 1180 Millicent Client Proxy             UDP 1371 Fujitsu Config Protocol
UDP 1188 HP Web Admin                       UDP 1372 Fujitsu Config Protocol
UDP 1200 SCOL                               UDP 1373 Chromagrafx
UDP 1201 Nucleus Sand                       UDP 1374 EPI Software Systems
UDP 1202 caiccipc                           UDP 1375 Bytex
UDP 1203 License Validation                 UDP 1376 IBM Person to Person
UDP 1204 Log Request Listener               Software
UDP 1205 Accord-MGC                         UDP 1377 Cichlid License Manager
UDP 1206 Anthony Data                       UDP 1378 Elan License Manager
UDP 1207 MetaSage                           UDP 1379 Integrity Solutions
UDP 1208 SEAGULL AIS                        UDP 1380 Telesis Network License
UDP 1209 IPCD3                              Manager
UDP 1210 EOSS                               UDP 1381 Apple Network License
UDP 1211 Groove DPP                         Manager
UDP 1212 lupa                               UDP 1382 udt_os
UDP 1213 MPC LIFENET                        UDP 1383 GW Hannaway Network License
UDP 1214 KAZAA                              Manager
UDP 1215 scanSTAT 1.0                       UDP 1384 Objective Solutions License
UDP 1216 ETEBAC 5                           Manager
UDP 1217 HPSS-NDAPI                         UDP 1385 Atex Publishing License
UDP 1218 AeroFlight-ADs                     Manager
UDP 1219 AeroFlight-Ret                     UDP 1386 CheckSum License Manager
UDP 1220 QT SERVER ADMIN                    UDP 1387 Computer Aided Design
UDP 1221 SweetWARE Apps                     Software Inc LM
UDP 1222 SNI R&D network                    UDP 1388 Objective Solutions DataBase
UDP 1223 TGP                                Cache
UDP 1224 VPNz                               UDP 1389 Document Manager
UDP 1225 SLINKYSEARCH                       UDP 1390 Storage Controller
UDP 1226 STGXFWS                            UDP 1391 Storage Access Server
UDP 1227 DNS2Go                             UDP 1392 Print Manager
UDP 1228 FLORENCE                           UDP 1393 Network Log Server
UDP 1229 Novell ZFS                         UDP 1394 Network Log Client
UDP 1234 Infoseek Search Agent              UDP 1395 PC Workstation Manager
UDP 1239 NMSD                               software
UDP 1248 hermes                             UDP 1396 DVL Active Mail
UDP 1300 H323 Host Call Secure              UDP 1397 Audio Active Mail
UDP 1310 Husky                              UDP 1398 Video Active Mail
UDP 1311 RxMon                              UDP 1399 Cadkey License Manager
UDP 1312 STI Envision                       UDP 1400 Cadkey Tablet Daemon
UDP 1313 BMC_PATROLDB                       UDP 1401 Goldleaf License Manager
                                            UDP 1402 Prospero Resource Manager



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 1403 Prospero Resource Manager          UDP 1466 Ocean Software License
UDP 1404 Infinite Graphics License          Manager
Manager                                     UDP 1467 CSDMBASE
UDP 1405 IBM Remote Execution Starter       UDP 1468 CSDM
UDP 1406 NetLabs License Manager            UDP 1469 Active Analysis Limited
UDP 1407 DBSA License Manager               License Manager
UDP 1408 Sophia License Manager             UDP 1470 Universal Analytics
UDP 1409 Here License Manager               UDP 1471 csdmbase
UDP 1410 HiQ License Manager                UDP 1472 csdm
UDP 1411 AudioFile                          UDP 1473 OpenMath
UDP 1412 InnoSys                            UDP 1474 Telefinder
UDP 1413 Innosys-ACL                        UDP 1475 Taligent License Manager
UDP 1414 IBM MQSeries                       UDP 1476 clvm-cfg
UDP 1415 DBStar                             UDP 1477 ms-sna-server
UDP 1416 Novell LU6.2                       UDP 1478 ms-sna-base
UDP 1417 Timbuktu Service 1 Port            UDP 1479 dberegister
UDP 1418 Timbuktu Service 2 Port            UDP 1480 PacerForum
UDP 1419 Timbuktu Service 3 Port            UDP 1481 AIRS
UDP 1420 Timbuktu Service 4 Port            UDP 1482 Miteksys License Manager
UDP 1421 Gandalf License Manager            UDP 1483 AFS License Manager
UDP 1422 Autodesk License Manager           UDP 1484 Confluent License Manager
UDP 1423 Essbase Arbor Software             UDP 1485 LANSource
UDP 1424 Hybrid Encryption Protocol         UDP 1486 nms_topo_serv
UDP 1425 Zion Software License              UDP 1487 LocalInfoSrvr
Manager                                     UDP 1488 DocStor
UDP 1426 Satellite-data Acquisition         UDP 1489 dmdocbroker
System 1                                    UDP 1490 insitu-conf
UDP 1427 mloadd monitoring tool             UDP 1491 anynetgateway
UDP 1428 Informatik License Manager         UDP 1492 stone-design-1
UDP 1429 Hypercom NMS                       UDP 1493 netmap_lm
UDP 1430 Hypercom TPDU                      UDP 1494 ica
UDP 1431 Reverse Gossip Transport           UDP 1495 cvc
UDP 1432 Blueberry Software License         UDP 1496 liberty-lm
Manager                                     UDP 1497 rfx-lm
UDP 1433 Microsoft-SQL-Server               UDP 1498 Sybase SQL Any
UDP 1434 Microsoft-SQL-Monitor              UDP 1499 Federico Heinz Consultora
UDP 1435 IBM CICS                           UDP 1500 VLSI License Manager
UDP 1436 Satellite-data Acquisition         UDP 1501 Satellite-data Acquisition
System 2                                    System 3
UDP 1437 Tabula                             UDP 1502 Shiva
UDP 1438 Eicon Security Agent/Server        UDP 1503 Databeam
UDP 1439 Eicon X25/SNA Gateway              UDP 1504 EVB Software Engineering
UDP 1440 Eicon Service Location             License Manager
Protocol                                    UDP 1505 Funk Software Inc.
UDP 1441 Cadis License Management           UDP 1506 Universal Time daemon (utcd)
UDP 1442 Cadis License Management           UDP 1507 symplex
UDP 1443 Integrated Engineering             UDP 1508 diagmond
Software                                    UDP 1509 Robcad Ltd. License Manager
UDP 1444 Marcam License Management          UDP 1510 Midland Valley Exploration
UDP 1445 Proxima License Manager            Ltd. Lic. Man.
UDP 1446 Optical Research Associates        UDP 1511 3l-l1
License Manager                             UDP 1512 Microsoft's Windows Internet
UDP 1447 Applied Parallel Research LM       Name Service
UDP 1448 OpenConnect License Manager        UDP 1513 Fujitsu Systems Business of
UDP 1449 PEport                             America Inc
UDP 1450 Tandem Distributed Workbench       UDP 1514 Fujitsu Systems Business of
Facility                                    America Inc
UDP 1451 IBM Information Management         UDP 1515 ifor-protocol
UDP 1452 GTE Government Systems             UDP 1516 Virtual Places Audio data
License Man                                 UDP 1517 Virtual Places Audio control
UDP 1453 Genie License Manager              UDP 1518 Virtual Places Video data
UDP 1454 interHDL License Manager           UDP 1519 Virtual Places Video control
UDP 1455 ESL License Manager                UDP 1520 atm zip office
UDP 1456 DCA                                UDP 1521 nCube License Manager
UDP 1457 Valisys License Manager            UDP 1522 Ricardo North America
UDP 1458 Nichols Research Corp.             License Manager
UDP 1459 Proshare Notebook                  UDP 1523 cichild
Application                                 UDP 1524 ingres
UDP 1460 Proshare Notebook                  UDP 1525 Prospero Directory Service
Application                                 non-priv
UDP 1461 IBM Wireless LAN                   UDP 1526 Prospero Data Access Prot
UDP 1462 World License Manager              non-priv
UDP 1463 Nucleus                            UDP 1527 oracle
UDP 1464 MSL License Manager                UDP 1528 micautoreg
UDP 1465 Pipes Platform                     UDP 1529 oracle
mfarlin@peerlogic.com                       UDP 1530 rap-service
                                            UDP 1531 rap-listen



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 1532 miroconnect                        UDP 1606 Salutation Manager (SLM-API)
UDP 1533 Virtual Places Software            UDP 1607 stt
UDP 1534 micromuse-lm                       UDP 1608 Smart Corp. License Manager
UDP 1535 ampr-info                          UDP 1609 isysg-lm
UDP 1536 ampr-inter                         UDP 1610 taurus-wh
UDP 1537 isi-lm                             UDP 1611 Inter Library Loan
UDP 1538 3ds-lm                             UDP 1612 NetBill Transaction Server
UDP 1539 Intellistor License Manager        UDP 1613 NetBill Key Repository
UDP 1540 rds                                UDP 1614 NetBill Credential Server
UDP 1541 rds2                               UDP 1615 NetBill Authorization Server
UDP 1542 gridgen-elmd                       UDP 1616 NetBill Product Server
UDP 1543 simba-cs                           UDP 1617 Nimrod Inter-Agent
UDP 1544 aspeclmd                           Communication
UDP 1545 vistium-share                      UDP 1618 skytelnet
UDP 1546 abbaccuray                         UDP 1619 xs-openstorage
UDP 1547 laplink                            UDP 1620 faxportwinport
UDP 1548 Axon License Manager               UDP 1621 softdataphone
UDP 1549 Shiva Sound                        UDP 1622 ontime
UDP 1550 Image Storage license              UDP 1623 jaleosnd
manager 3M Company                          UDP 1624 udp-sr-port
UDP 1551 HECMTL-DB                          UDP 1625 svs-omagent
UDP 1552 pciarray                           UDP 1626 Shockwave
UDP 1553 sna-cs                             UDP 1627 T.128 Gateway
UDP 1554 CACI Products Company              UDP 1628 LonTalk normal
License Manager                             UDP 1629 LonTalk urgent
UDP 1555 livelan                            UDP 1630 Oracle Net8 Cman
UDP 1556 AshWin CI Tecnologies              UDP 1631 Visit view
UDP 1557 ArborText License Manager          UDP 1632 PAMMRATC
UDP 1558 xingmpeg                           UDP 1633 PAMMRPC
UDP 1559 web2host                           UDP 1634 Log On America Probe
UDP 1560 asci-val                           UDP 1635 EDB Server 1
UDP 1561 facilityview                       UDP 1636 CableNet Control Protocol
UDP 1562 pconnectmgr                        UDP 1637 CableNet Admin Protocol
UDP 1563 Cadabra License Manager            UDP 1638 CableNet Info Protocol
UDP 1564 Pay-Per-View                       UDP 1639 cert-initiator
UDP 1565 WinDD                              UDP 1640 cert-responder
UDP 1566 CORELVIDEO                         UDP 1641 InVision
UDP 1567 jlicelmd                           UDP 1642 isis-am
UDP 1568 tsspmap                            UDP 1643 isis-ambc
UDP 1569 ets                                UDP 1644 Satellite-data Acquistion
UDP 1570 orbixd                             Systems 4
UDP 1571 Oracle Remote Data Base            UDP 1645 datametrics
UDP 1572 Chipcom License Manager            UDP 1646 sa-msg-port
UDP 1573 itscomm-ns                         UDP 1647 rsap
UDP 1574 mvel-lm                            UDP 1648 concurrent-lm
UDP 1575 oraclenames                        UDP 1649 kermit
UDP 1576 moldflow-lm                        UDP 1650 nkd
UDP 1577 hypercube-lm                       UDP 1651 shiva_confsrvr
UDP 1578 Jacobus License Manager            UDP 1652 xnmp
UDP 1579 ioc-sea-lm                         UDP 1653 alphatech-lm
UDP 1580 tn-tl-r2                           UDP 1654 stargatealerts
UDP 1581 MIL-2045-47001                     UDP 1655 dec-mbadmin
UDP 1582 MSIMS                              UDP 1656 dec-mbadmin-h
UDP 1583 simbaexpress                       UDP 1657 fujitsu-mmpdc
UDP 1584 tn-tl-fd2                          UDP 1658 sixnetudr
UDP 1585 intv                               UDP 1659 Silicon Grail License
UDP 1586 ibm-abtact                         Manager
UDP 1587 pra_elmd                           UDP 1660 skip-mc-gikreq
UDP 1588 triquest-lm                        UDP 1661 netview-aix-1
UDP 1589 VQP                                UDP 1662 netview-aix-2
UDP 1590 gemini-lm                          UDP 1663 netview-aix-3
UDP 1591 ncpm-pm                            UDP 1664 netview-aix-4
UDP 1592 commonspace                        UDP 1665 netview-aix-5
UDP 1593 mainsoft-lm                        UDP 1666 netview-aix-6
UDP 1594 sixtrak                            UDP 1667 netview-aix-7
UDP 1595 radio                              UDP 1668 netview-aix-8
UDP 1596 radio-bc                           UDP 1669 netview-aix-9
UDP 1597 orbplus-iiop                       UDP 1670 netview-aix-10
UDP 1598 picknfs                            UDP 1671 netview-aix-11
UDP 1599 simbaservices                      UDP 1672 netview-aix-12
UDP 1600 issd                               UDP 1673 Intel Proshare Multicast
UDP 1601 aas                                UDP 1674 Intel Proshare Multicast
UDP 1602 inspect                            UDP 1675 Pacific Data Products
UDP 1603 pickodbc                           UDP 1676 netcomm2
UDP 1604 icabrowser                         UDP 1677 groupwise
UDP 1605 Salutation Manager                 UDP 1678 prolink
(Salutation Protocol)                       UDP 1679 darcorp-lm



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 1680 microcom-sbp                       UDP 1752 Leap of Faith Research
UDP 1681 sd-elmd                            License Manager
UDP 1682 lanyon-lantern                     UDP 1753 Translogic License Manager
UDP 1683 ncpm-hip                           UDP 1754 oracle-em2
UDP 1684 SnareSecure                        UDP 1755 ms-streaming
UDP 1685 n2nremote                          UDP 1756 capfast-lmd
UDP 1686 cvmon                              UDP 1757 cnhrp
UDP 1687 nsjtp-ctrl                         UDP 1758 tftp-mcast
UDP 1688 nsjtp-data                         UDP 1759 SPSS License Manager
UDP 1689 firefox                            UDP 1760 www-ldap-gw
UDP 1690 ng-umds                            UDP 1761 cft-0
UDP 1691 empire-empuma                      UDP 1762 cft-1
UDP 1692 sstsys-lm                          UDP 1763 cft-2
UDP 1693 rrirtr                             UDP 1764 cft-3
UDP 1694 rrimwm                             UDP 1765 cft-4
UDP 1695 rrilwm                             UDP 1766 cft-5
UDP 1696 rrifmm                             UDP 1767 cft-6
UDP 1697 rrisat                             UDP 1768 cft-7
UDP 1698 RSVP-ENCAPSULATION-1               UDP 1769 bmc-net-adm
UDP 1699 RSVP-ENCAPSULATION-2               UDP 1770 bmc-net-svc
UDP 1700 mps-raft                           UDP 1771 vaultbase
UDP 1701 l2tp                               UDP 1772 EssWeb Gateway
UDP 1702 deskshare                          UDP 1773 KMSControl
UDP 1703 hb-engine                          UDP 1774 global-dtserv
UDP 1704 bcs-broker                         UDP 1776 Federal Emergency Management
UDP 1705 slingshot                          Information System
UDP 1706 jetform                            UDP 1777 powerguardian
UDP 1707 vdmplay                            UDP 1778 prodigy-internet
UDP 1708 gat-lmd                            UDP 1779 pharmasoft
UDP 1709 centra                             UDP 1780 dpkeyserv
UDP 1710 impera                             UDP 1781 answersoft-lm
UDP 1711 pptconference                      UDP 1782 hp-hcip
UDP 1712 resource monitoring service        UDP 1783 Port 04/14/00 fujitsu.co.jp
UDP 1713 ConferenceTalk                     UDP 1784 Finle License Manager
UDP 1714 sesi-lm                            UDP 1785 Wind River Systems License
UDP 1715 houdini-lm                         Manager
UDP 1716 xmsg                               UDP 1786 funk-logger
UDP 1717 fj-hdnet                           UDP 1787 funk-license
UDP 1718 h323gatedisc                       UDP 1788 psmond
UDP 1719 h323gatestat                       UDP 1789 hello
UDP 1720 h323hostcall                       UDP 1790 Narrative Media Streaming
UDP 1721 caicci                             Protocol
UDP 1722 HKS License Manager                UDP 1791 EA1
UDP 1723 pptp                               UDP 1792 ibm-dt-2
UDP 1724 csbphonemaster                     UDP 1793 rsc-robot
UDP 1725 iden-ralp                          UDP 1794 cera-bcm
UDP 1726 IBERIAGAMES                        UDP 1795 dpi-proxy
UDP 1727 winddx                             UDP 1796 Vocaltec Server
UDP 1728 TELINDUS                           Administration
UDP 1729 CityNL License Management          UDP 1797 UMA
UDP 1730 roketz                             UDP 1798 Event Transfer Protocol
UDP 1731 MSICCP                             UDP 1799 NETRISK
UDP 1732 proxim                             UDP 1800 ANSYS-License manager
UDP 1733 SIMS - SIIPAT Protocol for         UDP 1801 Microsoft Message Que
Alarm Transmission                          UDP 1802 ConComp1
UDP 1734 Camber Corporation License         UDP 1803 HP-HCIP-GWY
Management                                  UDP 1804 ENL
UDP 1735 PrivateChat                        UDP 1805 ENL-Name
UDP 1736 street-stream                      UDP 1806 Musiconline
UDP 1737 ultimad                            UDP 1807 Fujitsu Hot Standby Protocol
UDP 1738 GameGen1                           UDP 1808 Oracle-VP2
UDP 1739 webaccess                          UDP 1809 Oracle-VP1
UDP 1740 encore                             UDP 1810 Jerand License Manager
UDP 1741 cisco-net-mgmt                     UDP 1811 Scientia-SDB
UDP 1742 3Com-nsd                           UDP 1812 RADIUS
UDP 1743 Cinema Graphics License            UDP 1813 RADIUS Accounting
Manager                                     UDP 1814 TDP Suite
UDP 1744 ncpm-ft                            UDP 1815 MMPFT
UDP 1745 remote-winsock                     UDP 1816 HARP
UDP 1746 ftrapid-1                          UDP 1817 RKB-OSCS
UDP 1747 ftrapid-2                          UDP 1818 Enhanced Trivial File
UDP 1748 oracle-em1                         Transfer Protocol
UDP 1749 aspen-services                     UDP 1819 Plato License Manager
UDP 1750 Simple Socket Library's            UDP 1820 mcagent
PortMaster                                  UDP 1821 donnyworld
UDP 1751 SwiftNet                           UDP 1822 es-elmd




Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 1823 Unisys Natural Language            UDP 1947 hlserver
License Manager                             UDP 1948 eye2eye
UDP 1824 metrics-pas                        UDP 1949 ISMA Easdaq Live
UDP 1825 DirecPC Video                      UDP 1950 ISMA Easdaq Test
UDP 1826 ARDT                               UDP 1951 bcs-lmserver
UDP 1827 ASI                                UDP 1952 mpnjsc
UDP 1828 itm-mcell-u                        UDP 1953 Rapid Base
UDP 1829 Optika eMedia                      UDP 1961 BTS APPSERVER
UDP 1830 Oracle Net8 CMan Admin             UDP 1962 BIAP-MP
UDP 1831 Myrtle                             UDP 1963 WebMachine
UDP 1832 ThoughtTreasure                    UDP 1964 SOLID E ENGINE
UDP 1833 udpradio                           UDP 1965 Tivoli NPM
UDP 1834 ARDUS Unicast                      UDP 1966 Slush
UDP 1835 ARDUS Multicast                    UDP 1967 SNS Quote
UDP 1836 ste-smsc                           UDP 1972 Cache
UDP 1837 csoft1                             UDP 1973 Data Link Switching Remote
UDP 1838 TALNET                             Access Protocol
UDP 1839 netopia-vo1                        UDP 1974 DRP
UDP 1840 netopia-vo2                        UDP 1975 TCO Flash Agent
UDP 1841 netopia-vo3                        UDP 1976 TCO Reg Agent
UDP 1842 netopia-vo4                        UDP 1977 TCO Address Book
UDP 1843 netopia-vo5                        UDP 1978 UniSQL
UDP 1844 DirecPC-DLL                        UDP 1979 UniSQL Java
UDP 1850 GSI                                UDP 1984 BB
UDP 1851 ctcd                               UDP 1985 Hot Standby Router Protocol
UDP 1860 SunSCALAR Services                 UDP 1986 cisco license management
UDP 1861 LeCroy VICP                        UDP 1987 cisco RSRB Priority 1 port
UDP 1862 techra-server                      UDP 1988 cisco RSRB Priority 2 port
UDP 1863 MSNP                               UDP 1989 MHSnet system
UDP 1864 Paradym 31 Port                    UDP 1990 cisco STUN Priority 1 port
UDP 1865 ENTP                               UDP 1991 cisco STUN Priority 2 port
UDP 1870 SunSCALAR DNS Service              UDP 1992 IPsendmsg
UDP 1871 Cano Central 0                     UDP 1993 cisco SNMP TCP port
UDP 1872 Cano Central 1                     UDP 1994 cisco serial tunnel port
UDP 1873 Fjmpjps                            UDP 1995 cisco perf port
UDP 1874 Fjswapsnp                          UDP 1996 cisco Remote SRB port
UDP 1881 IBM MQSeries                       UDP 1997 cisco Gateway Discovery
UDP 1895 Vista 4GL                          Protocol
UDP 1899 MC2Studios                         UDP 1998 cisco X.25 service (XOT)
UDP 1900 UPnP SSDP                          UDP 1999 cisco identification port
UDP 1901 Fujitsu ICL Terminal               UDP 2000 callbook
Emulator Program A                          UDP 2001 curry
UDP 1902 Fujitsu ICL Terminal               UDP 2002 globe
Emulator Program B                          UDP 2004 CCWS mm conf
UDP 1903 Local Link Name Resolution         UDP 2005 oracle
UDP 1904 Fujitsu ICL Terminal               UDP 2006 raid
Emulator Program C                          UDP 2007 raid-am
UDP 1905 Secure UP.Link Gateway             UDP 2008 terminaldb
Protocol                                    UDP 2009 whosockami
UDP 1906 TPortMapperReq                     UDP 2010 pipe-server
UDP 1907 IntraSTAR                          UDP 2011 servserv
UDP 1908 Dawn                               UDP 2012 raid-ac
UDP 1909 Global World Link                  UDP 2013 raid-cd
UDP 1910 ultrabac                           UDP 2014 raid-sf
UDP 1911 Starlight Networks                 UDP 2015 raid-cs
Multimedia Transport Protocol               UDP 2016 bootserver
UDP 1912 rhp-iibp                           UDP 2017 bootclient
UDP 1913 armadp                             UDP 2018 rellpack
UDP 1914 Elm-Momentum                       UDP 2019 about
UDP 1915 FACELINK                           UDP 2020 xinupageserver
UDP 1916 Persoft Persona                    UDP 2021 xinuexpansion1
UDP 1917 nOAgent                            UDP 2022 xinuexpansion2
UDP 1918 Candle Directory Service -         UDP 2023 xinuexpansion3
NDS                                         UDP 2024 xinuexpansion4
UDP 1919 Candle Directory Service -         UDP 2025 xribs
DCH                                         UDP 2026 scrabble
UDP 1920 Candle Directory Service -         UDP 2027 shadowserver
FERRET                                      UDP 2028 submitserver
UDP 1921 NoAdmin                            UDP 2030 device2
UDP 1922 Tapestry                           UDP 2032 blackboard
UDP 1923 SPICE                              UDP 2033 glogger
UDP 1924 XIIP                               UDP 2034 scoremgr
UDP 1930 Drive AppServer                    UDP 2035 imsldoc
UDP 1931 AMD SCHED                          UDP 2038 objectmanager
UDP 1944 close-combat                       UDP 2040 lam
UDP 1945 dialogic-elmd                      UDP 2041 interbase
UDP 1946 tekpls                             UDP 2042 isis



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 2043 isis-bcast                         UDP 2148 VERITAS UNIVERSAL
UDP 2044 rimsl                              COMMUNICATION LAYER
UDP 2045 cdfunc                             UDP 2149 ACPTSYS
UDP 2046 sdfunc                             UDP 2150 DYNAMIC3D
UDP 2047 dls                                UDP 2151 DOCENT
UDP 2048 dls-monitor                        UDP 2152 GTP-User Plane (3GPP)
UDP 2049 Network File System - Sun          UDP 2165 X-Bone API
Microsystems                                UDP 2166 IWSERVER
UDP 2065 Data Link Switch Read Port         UDP 2180 Millicent Vendor Gateway
Number                                      Server
UDP 2067 Data Link Switch Write Port        UDP 2181 eforward
Number                                      UDP 2200 ICI
UDP 2090 Load Report Protocol               UDP 2201 Advanced Training System
UDP 2091 PRP                                Program
UDP 2092 Descent 3                          UDP 2202 Int. Multimedia
UDP 2093 NBX CC                             Teleconferencing Cosortium
UDP 2094 NBX AU                             UDP 2213 Kali
UDP 2095 NBX SER                            UDP 2220 Ganymede
UDP 2096 NBX DIR                            UDP 2221 Rockwell CSP1
UDP 2097 Jet Form Preview                   UDP 2222 Rockwell CSP2
UDP 2098 Dialog Port                        UDP 2223 Rockwell CSP3
UDP 2099 H.225.0 Annex G                    UDP 2232 IVS Video default
UDP 2100 amiganetfs                         UDP 2233 INFOCRYPT
UDP 2101 rtcm-sc104                         UDP 2234 DirectPlay
UDP 2102 Zephyr server                      UDP 2235 Sercomm-WLink
UDP 2103 Zephyr serv-hm connection          UDP 2236 Nani
UDP 2104 Zephyr hostmanager                 UDP 2237 Optech Port1 License Manager
UDP 2105 MiniPay                            UDP 2238 AVIVA SNA SERVER
UDP 2106 MZAP                               UDP 2239 Image Query
UDP 2107 BinTec Admin                       UDP 2240 RECIPe
UDP 2108 Comcam                             UDP 2241 IVS Daemon
UDP 2109 Ergolight                          UDP 2242 Folio Remote Server
UDP 2110 UMSP                               UDP 2243 Magicom Protocol
UDP 2111 DSATP                              UDP 2244 NMS Server
UDP 2112 Idonix MetaNet                     UDP 2245 HaO
UDP 2113 HSL StoRM                          UDP 2279 xmquery
UDP 2114 NEWHEIGHTS                         UDP 2280 LNVPOLLER
UDP 2115 KDM                                UDP 2281 LNVCONSOLE
UDP 2116 CCOWCMR                            UDP 2282 LNVALARM
UDP 2117 MENTACLIENT                        UDP 2283 LNVSTATUS
UDP 2118 MENTASERVER                        UDP 2284 LNVMAPS
UDP 2119 GSIGATEKEEPER                      UDP 2285 LNVMAILMON
UDP 2120 Quick Eagle Networks CP            UDP 2286 NAS-Metering
UDP 2121 SCIENTIA-SSDB                      UDP 2287 DNA
UDP 2122 CauPC Remote Control               UDP 2288 NETML
UDP 2123 GTP-Control Plane (3GPP)           UDP 2294 Konshus License Manager
UDP 2124 ELATELINK                          (FLEX)
UDP 2125 LOCKSTEP                           UDP 2295 Advant License Manager
UDP 2126 PktCable-COPS                      UDP 2296 Theta License Manager
UDP 2127 INDEX-PC-WB                        (Rainbow)
UDP 2128 Net Steward Control                UDP 2297 D2K DataMover 1
UDP 2129 cs-live.com                        UDP 2298 D2K DataMover 2
UDP 2130 SWC-XDS                            UDP 2299 PC Telecommute
UDP 2131 Avantageb2b                        UDP 2300 CVMMON
UDP 2132 AVAIL-EPMAP                        UDP 2301 Compaq HTTP
UDP 2133 ZYMED-ZPP                          UDP 2302 Bindery Support
UDP 2134 AVENUE                             UDP 2303 Proxy Gateway
UDP 2135 Grid Resource Information          UDP 2304 Attachmate UTS
Server                                      UDP 2305 MT ScaleServer
UDP 2136 APPWORXSRV                         UDP 2306 TAPPI BoxNet
UDP 2137 CONNECT                            UDP 2307 pehelp
UDP 2138 UNBIND-CLUSTER                     UDP 2308 sdhelp
UDP 2139 IAS-AUTH                           UDP 2309 SD Server
UDP 2140 IAS-REG / Deep Throat              UDP 2310 SD Client
(Windows Trojan) / Deep Throat 2            UDP 2311 Message Service
(Windows Trojan)                            UDP 2313 IAPP (Inter Access Point
UDP 2141 IAS-ADMIND                         Protocol)
UDP 2142 TDM-OVER-IP                        UDP 2314 CR WebSystems
UDP 2143 Live Vault Job Control             UDP 2315 Precise Sft.
UDP 2144 Live Vault Fast Object             UDP 2316 SENT License Manager
Transfer                                    UDP 2317 Attachmate G32
UDP 2145 Live Vault Remote Diagnostic       UDP 2318 Cadence Control
Console Support                             UDP 2319 InfoLibria
UDP 2146 Live Vault Admin Event             UDP 2320 Siebel NS
Notification                                UDP 2321 RDLAP
UDP 2147 Live Vault Authentication          UDP 2322 ofsd
                                            UDP 2323 3d-nfsd



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 2324 Cosmocall                          UDP 2411 Netwave AP Management
UDP 2325 Design Space License               UDP 2412 CDN
Management                                  UDP 2413 orion-rmi-reg
UDP 2326 IDCP                               UDP 2414 Interlingua
UDP 2327 xingcsm                            UDP 2415 COMTEST
UDP 2328 Netrix SFTM                        UDP 2416 RMT Server
UDP 2329 NVD                                UDP 2417 Composit Server
UDP 2330 TSCCHAT                            UDP 2418 cas
UDP 2331 AGENTVIEW                          UDP 2419 Attachmate S2S
UDP 2332 RCC Host                           UDP 2420 DSL Remote Management
UDP 2333 SNAPP                              UDP 2421 G-Talk
UDP 2334 ACE Client Auth                    UDP 2422 CRMSBITS
UDP 2335 ACE Proxy                          UDP 2423 RNRP
UDP 2336 Apple UG Control                   UDP 2424 KOFAX-SVR
UDP 2337 ideesrv                            UDP 2425 Fujitsu App Manager
UDP 2338 Norton Lambert                     UDP 2426 Appliant UDP
UDP 2339 3Com WebView                       UDP 2427 Media Gateway Control
UDP 2340 WRS Registry                       Protocol Gateway
UDP 2341 XIO Status                         UDP 2428 One Way Trip Time
UDP 2342 Seagate Manage Exec                UDP 2429 FT-ROLE
UDP 2343 nati logos                         UDP 2430 venus
UDP 2344 fcmsys                             UDP 2431 venus-se
UDP 2345 dbm                                UDP 2432 codasrv
UDP 2346 Game Connection Port               UDP 2433 codasrv-se
UDP 2347 Game Announcement and              UDP 2434 pxc-epmap
Location                                    UDP 2435 OptiLogic
UDP 2348 Information to query for           UDP 2436 TOP/X
game status                                 UDP 2437 UniControl
UDP 2349 Disgnostics Port                   UDP 2438 MSP
UDP 2350 psbserver                          UDP 2439 SybaseDBSynch
UDP 2351 psrserver                          UDP 2440 Spearway Lockser
UDP 2352 pslserver                          UDP 2441 pvsw-inet
UDP 2353 pspserver                          UDP 2442 Netangel
UDP 2354 psprserver                         UDP 2443 PowerClient Central Storage
UDP 2355 psdbserver                         Facility
UDP 2356 GXT License Managemant             UDP 2444 BT PP2 Sectrans
UDP 2357 UniHub Server                      UDP 2445 DTN1
UDP 2358 Futrix                             UDP 2446 bues_service
UDP 2359 FlukeServer                        UDP 2447 OpenView NNM daemon
UDP 2360 NexstorIndLtd                      UDP 2448 hpppsvr
UDP 2361 TL1                                UDP 2449 RATL
UDP 2362 digiman                            UDP 2450 netadmin
UDP 2363 Media Central NFSD                 UDP 2451 netchat
UDP 2364 OI-2000                            UDP 2452 SnifferClient
UDP 2365 dbref                              UDP 2453 madge-om
UDP 2366 qip-login                          UDP 2454 IndX-DDS
UDP 2367 Service Control                    UDP 2455 WAGO-IO-SYSTEM
UDP 2368 OpenTable                          UDP 2456 altav-remmgt
UDP 2369 ACS2000 DSP                        UDP 2457 Rapido_IP
UDP 2370 L3-HBMon                           UDP 2458 griffin
UDP 2381 Compaq HTTPS                       UDP 2459 Community
UDP 2382 Microsoft OLAP                     UDP 2460 ms-theater
UDP 2383 Microsoft OLAP                     UDP 2461 qadmifoper
UDP 2384 SD-REQUEST                         UDP 2462 qadmifevent
UDP 2389 OpenView Session Mgr               UDP 2463 Symbios Raid
UDP 2390 RSMTP                              UDP 2464 DirecPC SI
UDP 2391 3COM Net Management                UDP 2465 Load Balance Management
UDP 2392 Tactical Auth                      UDP 2466 Load Balance Forwarding
UDP 2393 MS OLAP 1                          UDP 2467 High Criteria
UDP 2394 MA OLAP 2                          UDP 2468 qip_msgd
UDP 2395 LAN900 Remote                      UDP 2469 MTI-TCS-COMM
UDP 2396 Wusage                             UDP 2470 taskman port
UDP 2397 NCL                                UDP 2471 SeaODBC
UDP 2398 Orbiter                            UDP 2472 C3
UDP 2399 FileMaker Inc. - Data Access       UDP 2473 Aker-cdp
Layer                                       UDP 2474 Vital Analysis
UDP 2400 OpEquus Server                     UDP 2475 ACE Server
UDP 2401 cvspserver                         UDP 2476 ACE Server Propagation
UDP 2402 TaskMaster 2000 Server             UDP 2477 SecurSight Certificate
UDP 2403 TaskMaster 2000 Web                Valifation Service
UDP 2404 IEC870-5-104                       UDP 2478 SecurSight Authentication
UDP 2405 TRC Netpoll                        Server (SSL)
UDP 2406 JediServer                         UDP 2479 SecurSight Event Logging
UDP 2407 Orion                              Server (SSL)
UDP 2408 OptimaNet                          UDP 2480 Lingwood's Detail
UDP 2409 SNS Protocol                       UDP 2481 Oracle GIOP
UDP 2410 VRTS Registry                      UDP 2482 Oracle GIOP SSL



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 2483    Oracel TTC                      UDP   2557   nicetec-mgmt
UDP 2484    Oracle TTC SSL                  UDP   2558   PCLE Multi Media
UDP 2485    Net Objects1                    UDP   2559   LSTP
UDP 2486    Net Objects2                    UDP   2560   labrat
UDP 2487    Policy Notice Service           UDP   2561   MosaixCC
UDP 2488    Moy Corporation                 UDP   2562   Delibo
UDP 2489    TSILB                           UDP   2563   CTI Redwood
UDP 2490    qip_qdhcp                       UDP   2565   Coordinator Server
UDP 2491    Conclave CPP                    UDP   2566   pcs-pcw
UDP 2492    GROOVE                          UDP   2567   Cisco Line Protocol
UDP 2493    Talarian MQS                    UDP   2568   SPAM TRAP
UDP 2494    BMC AR                          UDP   2569   Sonus Call Signal
UDP 2495    Fast Remote Services            UDP   2570   HS Port
UDP 2496    DIRGIS                          UDP   2571   CECSVC
UDP 2497    Quad DB                         UDP   2572   IBP
UDP 2498    ODN-CasTraq                     UDP   2573   Trust Establish
UDP 2499    UniControl                      UDP   2574   Blockade BPSP
UDP 2500    Resource Tracking system        UDP   2575   HL7
server                                      UDP   2576   TCL Pro Debugger
UDP 2501    Resource Tracking system        UDP   2577   Scriptics Lsrvr
client                                      UDP   2578   RVS ISDN DCP
UDP 2502    Kentrox Protocol                UDP   2579   mpfoncl
UDP 2503    NMS-DPNSS                       UDP   2580   Tributary
UDP 2504    WLBS                            UDP   2581   ARGIS TE
UDP 2505    torque-traffic                  UDP   2582   ARGIS DS
UDP 2506    jbroker                         UDP   2583   MON
UDP 2507    spock                           UDP   2584   cyaserv
UDP 2508    JDataStore                      UDP   2585   NETX Server
UDP 2509    fjmpss                          UDP   2586   NETX Agent
UDP 2510    fjappmgrbulk                    UDP   2587   MASC
UDP 2511    Metastorm                       UDP   2588   Privilege
UDP 2512    Citrix IMA                      UDP   2589   quartus tcl
UDP 2513    Citrix ADMIN                    UDP   2590   idotdist
UDP 2514    Facsys NTP                      UDP   2591   Maytag Shuffle
UDP 2515    Facsys Router                   UDP   2592   netrek
UDP 2516    Main Control                    UDP   2593   MNS Mail Notice Service
UDP 2517    H.323 Annex E call signaling    UDP   2594   Data Base Server
transport                                   UDP   2595   World Fusion 1
UDP 2518    Willy                           UDP   2596   World Fusion 2
UDP 2519    globmsgsvc                      UDP   2597   Homestead Glory
UDP 2520    pvsw                            UDP   2598   Citrix MA Client
UDP 2521    Adaptec Manager                 UDP   2599   Meridian Data
UDP 2522    WinDb                           UDP   2600   HPSTGMGR
UDP 2523    Qke LLC V.3                     UDP   2601   discp client
UDP 2524    Optiwave License Management     UDP   2602   discp server
UDP 2525    MS V-Worlds                     UDP   2603   Service Meter
UDP 2526    EMA License Manager             UDP   2604   NSC CCS
UDP 2527    IQ Server                       UDP   2605   NSC POSA
UDP 2528    NCR CCL                         UDP   2606   Dell Netmon
UDP 2529    UTS FTP                         UDP   2607   Dell Connection
UDP 2530    VR Commerce                     UDP   2608   Wag Service
UDP 2531    ITO-E GUI                       UDP   2609   System Monitor
UDP 2532    OVTOPMD                         UDP   2610   VersaTek
UDP 2533    SnifferServer                   UDP   2611   LIONHEAD
UDP 2534    Combox Web Access               UDP   2612   Qpasa Agent
UDP 2535    MADCAP                          UDP   2613   SMNTUBootstrap
UDP 2536    btpp2audctr1                    UDP   2614   Never Offline
UDP 2537    Upgrade Protocol                UDP   2615   firepower
UDP 2538    vnwk-prapi                      UDP   2616   appswitch-emp
UDP 2539    VSI Admin                       UDP   2617   Clinical Context Managers
UDP 2540    LonWorks                        UDP   2618   Priority E-Com
UDP 2541    LonWorks2                       UDP   2619   bruce
UDP 2542    daVinci                         UDP   2620   LPSRecommender
UDP 2543    REFTEK                          UDP   2621   Miles Apart Jukebox Server
UDP 2544    Novell ZEN novell.com           UDP   2622   MetricaDBC
UDP 2545    sis-emt                         UDP   2623   LMDP
UDP 2546    vytalvaultbrtp                  UDP   2624   Aria
UDP 2547    vytalvaultvsmp                  UDP   2625   Blwnkl Port
UDP 2548    vytalvaultpipe                  UDP   2626   gbjd816
UDP 2549    IPASS                           UDP   2627   Moshe Beeri
UDP 2550    ADS                             UDP   2628   DICT
UDP 2551    ISG UDA Server                  UDP   2629   Sitara Server
UDP 2552    Call Logging                    UDP   2630   Sitara Management
UDP 2553    efidiningport                   UDP   2631   Sitara Dir
UDP 2554    VCnet-Link v10                  UDP   2632   IRdg Post
UDP 2555    Compaq WCP                      UDP   2633   InterIntelli
UDP 2556    nicetec-nmsvc                   UDP   2634   PK Electronics



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 2635   Back Burner                      UDP 2711 SSO Control
UDP 2636   Solve                            UDP 2712 Axapta Object Communication
UDP 2637   Import Document Service          Protocol
UDP 2638   Sybase Anywhere                  UDP 2713 Raven1
UDP 2639   AMInet                           UDP 2714 unified-technologies.com
UDP 2640   Sabbagh Associates Licence       UDP 2715 HPSTGMGR2
Manager                                     UDP 2716 Inova IP Disco
UDP 2641   HDL Server                       UDP 2717 PN REQUESTER
UDP 2642   Tragic                           UDP 2718 PN REQUESTER 2
UDP 2643   GTE-SAMP                         UDP 2719 Scan & Change
UDP 2644   Travsoft IPX Tunnel              UDP 2720 wkars
UDP 2645   Novell IPX CMD                   UDP 2721 Smart Diagnose
UDP 2646   AND License Manager              UDP 2722 Proactive Server
UDP 2647   SyncServer                       UDP 2723 WatchDog NT
UDP 2648   Upsnotifyprot                    UDP 2724 qotps
UDP 2649   VPSIPPORT                        UDP 2725 MSOLAP PTP2
UDP 2650   eristwoguns                      UDP 2726 TAMS
UDP 2651   EBInSite                         UDP 2727 Media Gateway Control
UDP 2652   InterPathPanel                   Protocol Call Agent
UDP 2653   Sonus                            UDP 2728 SQDR
UDP 2654   Corel VNC Admin                  UDP 2729 TCIM Control
UDP 2655   UNIX Nt Glue                     UDP 2730 NEC RaidPlus
UDP 2656   Kana                             UDP 2731 NetDragon Messanger
UDP 2657   SNS Dispatcher                   UDP 2732 G5M
UDP 2658   SNS Admin                        UDP 2733 Signet CTF
UDP 2659   SNS Query                        UDP 2734 CCS Software
UDP 2660   GC Monitor                       UDP 2735 Monitor Console
UDP 2661   OLHOST                           UDP 2736 RADWIZ NMS SRV
UDP 2662   BinTec-CAPI                      UDP 2737 SRP Feedback
UDP 2663   BinTec-TAPI                      UDP 2738 NDL TCP-OSI Gateway
UDP 2664   Command MQ GM                    UDP 2739 TN Timing
UDP 2665   Command MQ PM                    UDP 2740 Alarm
UDP 2666   extensis                         UDP 2741 TSB
UDP 2667   Alarm Clock Server               UDP 2742 TSB2
UDP 2668   Alarm Clock Client               UDP 2743 murx
UDP 2669   TOAD                             UDP 2744 honyaku
UDP 2670   TVE Announce                     UDP 2745 URBISNET
UDP 2671   newlixreg                        UDP 2746 CPUDPENCAP
UDP 2672   nhserver                         UDP 2747 yk.fujitsu.co.jp
UDP 2673   First Call 42                    UDP 2748 yk.fujitsu.co.jp
UDP 2674   ewnn                             UDP 2749 yk.fujitsu.co.jp
UDP 2675   TTC ETAP                         UDP 2750 yk.fujitsu.co.jp
UDP 2676   SIMSLink                         UDP 2751 yk.fujitsu.co.jp
UDP 2677   Gadget Gate 1 Way                UDP 2752 RSISYS ACCESS
UDP 2678   Gadget Gate 2 Way                UDP 2753 de-spot
UDP 2679   Sync Server SSL                  UDP 2754 APOLLO CC
UDP 2680   pxc-sapxom                       UDP 2755 Express Pay
UDP 2681   mpnjsomb                         UDP 2756 simplement-tie
UDP 2682   SRSP                             UDP 2757 CNRP
UDP 2683   NCDLoadBalance                   UDP 2758 APOLLO Status
UDP 2684   mpnjsosv                         UDP 2759 APOLLO GMS
UDP 2685   mpnjsocl                         UDP 2760 Saba MS
UDP 2686   mpnjsomg                         UDP 2761 DICOM ISCL
UDP 2687   pq-lic-mgmt                      UDP 2762 DICOM TLS
UDP 2688   md-cf-HTTP                       UDP 2763 Desktop DNA
UDP 2689   FastLynx                         UDP 2764 Data Insurance
UDP 2690   HP NNM Embedded Database         UDP 2765 qip-audup
UDP 2691   IT Internet                      UDP 2766 Compaq SCP
UDP 2692   Admins LMS                       UDP 2767 UADTC
UDP 2693   belarc-HTTP                      UDP 2768 UACS
UDP 2694   pwrsevent                        UDP 2769 Single Point MVS
UDP 2695   VSPREAD                          UDP 2770 Veronica
UDP 2696   Unify Admin                      UDP 2771 Vergence CM
UDP 2697   Oce SNMP Trap Port               UDP 2772 auris
UDP 2698   MCK-IVPIP                        UDP 2773 PC Backup
UDP 2699   Csoft Plus Client                UDP 2774 PC Backup
UDP 2700   tqdata                           UDP 2775 SMMP
UDP 2701   SMS RCINFO                       UDP 2776 Ridgeway Systems & Software
UDP 2702   SMS XFER                         UDP 2777 Ridgeway Systems & Software
UDP 2703   SMS CHAT                         UDP 2778 Gwen-Sonya
UDP 2704   SMS REMCTRL                      UDP 2779 LBC Sync
UDP 2705   SDS Admin                        UDP 2780 LBC Control
UDP 2706   NCD Mirroring                    UDP 2781 whosells
UDP 2707   EMCSYMAPIPORT                    UDP 2782 everydayrc
UDP 2708   Banyan-Net                       UDP 2783 AISES
UDP 2709   Supermon                         UDP 2784 world wide web - development
UDP 2710   SSO Service                      UDP 2785 aic-np



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 2786 aic-oncrpc - Destiny MCD           UDP 2863     Sonar Data
database                                    UDP 2864     main 5001 cmd
UDP 2787 piccolo - Cornerstone              UDP 2865     pit-vpn
Software                                    UDP 2866     lwlistener
UDP 2788 NetWare Loadable Module -          UDP 2867     esps-portal
Seagate Software                            UDP 2868     NPEP Messaging
UDP 2789 Media Agent                        UDP 2869     ICSLAP
UDP 2790 PLG Proxy                          UDP 2870     daishi
UDP 2791 MT Port Registrator                UDP 2871     MSI Select Play
UDP 2792 f5-globalsite                      UDP 2872     CONTRACT
UDP 2793 initlsmsad                         UDP 2873     PASPAR2 ZoomIn
UDP 2794 aaftp                              UDP 2874     dxmessagebase1
UDP 2795 LiveStats                          UDP 2875     dxmessagebase2
UDP 2796 ac-tech                            UDP 2876     SPS Tunnel
UDP 2797 esp-encap                          UDP 2877     BLUELANCE
UDP 2798 TMESIS-UPShot                      UDP 2878     AAP
UDP 2799 ICON Discover                      UDP 2879     ucentric-ds
UDP 2800 ACC RAID                           UDP 2880     synapse
UDP 2801 IGCP                               UDP 2881     NDSP
UDP 2802 Veritas UDP1                       UDP 2882     NDTP
UDP 2803 btprjctrl                          UDP 2883     NDNP
UDP 2804 Telexis VTU                        UDP 2884     Flash Msg
UDP 2805 WTA WSP-S                          UDP 2885     TopFlow
UDP 2806 cspuni                             UDP 2886     RESPONSELOGIC
UDP 2807 cspmulti                           UDP 2887     aironet
UDP 2808 J-LAN-P                            UDP 2888     SPCSDLOBBY
UDP 2809 CORBA LOC                          UDP 2889     RSOM
UDP 2810 Active Net Steward                 UDP 2890     CSPCLMULTI
UDP 2811 GSI FTP                            UDP 2891     CINEGRFX-ELMD License
UDP 2812 atmtcp                             Manager
UDP 2813 llm-pass                           UDP 2892     SNIFFERDATA
UDP 2814 llm-csv                            UDP 2893     VSECONNECTOR
UDP 2815 LBC Measurement                    UDP 2894     ABACUS-REMOTE
UDP 2816 LBC Watchdog                       UDP 2895     NATUS LINK
UDP 2817 NMSig Port                         UDP 2896     ECOVISIONG6-1
UDP 2818 rmlnk                              UDP 2897     Citrix RTMP
UDP 2819 FC Fault Notification              UDP 2898     APPLIANCE-CFG
UDP 2820 UniVision                          UDP 2899     POWERGEMPLUS
UDP 2821 vml_dms                            UDP 2900     QUICKSUITE
UDP 2822 ka0wuc                             UDP 2901     ALLSTORCNS
UDP 2823 CQG Net/LAN                        UDP 2902     NET ASPI
UDP 2826 slc systemlog                      UDP 2903     SUITCASE
UDP 2827 slc ctrlrloops                     UDP 2904     M2UA
UDP 2828 ITM License Manager                UDP 2905     M3UA
UDP 2829 silkp1                             UDP 2906     CALLER9
UDP 2830 silkp2                             UDP 2907     WEBMETHODS B2B
UDP 2831 silkp3                             UDP 2908     mao
UDP 2832 silkp4                             UDP 2909     Funk Dialout
UDP 2833 glishd                             UDP 2910     TDAccess
UDP 2834 EVTP                               UDP 2911     Blockade
UDP 2835 EVTP-DATA                          UDP 2912     Epicon
UDP 2836 catalyst                           UDP 2913     Booster Ware
UDP 2837 Repliweb                           UDP 2914     Game Lobby
UDP 2838 Starbot                            UDP 2915     TK Socket
UDP 2839 NMSigPort                          UDP 2916     Elvin Server
UDP 2840 l3-exprt                           UDP 2917     Elvin Client
UDP 2841 l3-ranger                          UDP 2918     Kasten Chase Pad
UDP 2842 l3-hawk                            UDP 2919     ROBOER
UDP 2843 PDnet                              UDP 2920     ROBOEDA
UDP 2844 BPCP POLL                          UDP 2921     CESD Contents Delivery
UDP 2845 BPCP TRAP                          Management
UDP 2846 AIMPP Hello                        UDP 2922     CESD Contents Delivery Data
UDP 2847 AIMPP Port Req                     Transfer
UDP 2848 AMT-BLC-PORT                       UDP 2923     WTA-WSP-WTP-S
UDP 2849 FXP                                UDP 2924     PRECISE-VIP
UDP 2850 MetaConsole                        UDP 2925     Firewall Redundancy Protocol
UDP 2851 webemshttp                         UDP 2926     MOBILE-FILE-DL
UDP 2852 bears-01                           UDP 2927     UNIMOBILECTRL
UDP 2853 ISPipes                            UDP 2928     REDSONTE-CPSS
UDP 2854 InfoMover                          UDP 2929     PANJA-WEBADMIN
UDP 2856 cesdinv                            UDP 2930     PANJA-WEBLINX
UDP 2857 SimCtIP                            UDP 2931     Circle-X
UDP 2858 ECNP                               UDP 2932     INCP
UDP 2859 Active Memory                      UDP 2933     4-TIER OPM GW
UDP 2860 Dialpad Voice 1                    UDP 2934     4-TIER OPM CLI
UDP 2861 Dialpad Voice 2                    UDP 2935     QTP
UDP 2862 TTG Protocol                       UDP 2936     OTPatch



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 2937     PNACONSULT-LM                  UDP   3010   Telerate Workstation
UDP 2938     SM-PAS-1                       UDP   3011   Trusted Web
UDP 2939     SM-PAS-2                       UDP   3012   Trusted Web Client
UDP 2940     SM-PAS-3                       UDP   3013   Gilat Sky Surfer
UDP 2941     SM-PAS-4                       UDP   3014   Broker Service
UDP 2942     SM-PAS-5                       UDP   3015   NATI DSTP
UDP 2943     TTNRepository                  UDP   3016   Notify Server
UDP 2944     Megaco H-248                   UDP   3017   Event Listener
UDP 2945     H248 Binary                    UDP   3018   Service Registry
UDP 2946     FJSVmpor                       UDP   3019   Resource Manager
UDP 2947     GPSD                           UDP   3020   CIFS
UDP 2948     WAP PUSH                       UDP   3021   AGRI Server
UDP 2949     WAP PUSH SECURE                UDP   3022   CSREGAGENT
UDP 2950     ESIP                           UDP   3023   magicnotes
UDP 2951     OTTP                           UDP   3024   NDS_SSO
UDP 2952     MPFWSAS                        UDP   3025   Arepa Raft
UDP 2953     OVALARMSRV                     UDP   3026   AGRI Gateway
UDP 2954     OVALARMSRV-CMD                 UDP   3027   LiebDevMgmt_C
UDP 2955     CSNOTIFY                       UDP   3028   LiebDevMgmt_DM
UDP 2956     OVRIMOSDBMAN                   UDP   3029   LiebDevMgmt_A
UDP 2957     JAMCT5                         UDP   3030   Arepa Cas
UDP 2958     JAMCT6                         UDP   3031   AgentVU
UDP 2959     RMOPAGT                        UDP   3032   Redwood Chat
UDP 2960     DFOXSERVER                     UDP   3033   PDB
UDP 2961     BOLDSOFT-LM                    UDP   3034   Osmosis AEEA
UDP 2962     IPH-POLICY-CLI                 UDP   3035   FJSV gssagt
UDP 2963     IPH-POLICY-ADM                 UDP   3036   Hagel DUMP
UDP 2964     BULLANT SRAP                   UDP   3037   HP SAN Mgmt
UDP 2965     BULLANT RAP                    UDP   3038   Santak UPS
UDP 2966     IDP-INFOTRIEVE                 UDP   3039   Cogitate Inc.
UDP 2967     SSC-AGENT                      UDP   3040   Tomato Springs
UDP 2968     ENPP                           UDP   3041   di-traceware
UDP 2969     ESSP                           UDP   3042   journee
UDP 2970     INDEX-NET                      UDP   3043   BRP
UDP 2971     Net Clip                       UDP   3045   ResponseNet
UDP 2972     PMSM Webrctl                   UDP   3046   di-ase
UDP 2973     SV Networks                    UDP   3047   Fast Security HL Server
UDP 2974     Signal                         UDP   3048   Sierra Net PC Trader
UDP 2975     Fujitsu Configuration          UDP   3049   NSWS
Management   Service                        UDP   3050   gds_db
UDP 2976     CNS Server Port                UDP   3051   Galaxy Server
UDP 2977     TTCs Enterprise Test Access    UDP   3052   APCPCNS
Protocol -   NS                             UDP   3053   dsom-server
UDP 2978     TTCs Enterprise Test Access    UDP   3054   AMT CNF PROT
Protocol -   DS                             UDP   3055   Policy Server
UDP 2979     H.263 Video Streaming          UDP   3056   CDL Server
UDP 2980     Instant Messaging Service      UDP   3057   GoAhead FldUp
UDP 2981     MYLXAMPORT                     UDP   3058   videobeans
UDP 2982     IWB-WHITEBOARD                 UDP   3059   earlhaig.com
UDP 2983     NETPLAN                        UDP   3060   interserver
UDP 2984     HPIDSADMIN                     UDP   3061   cautcpd
UDP 2985     HPIDSAGENT                     UDP   3062   ncacn-ip-tcp
UDP 2986     STONEFALLS                     UDP   3063   ncadg-ip-udp
UDP 2987     IDENTIFY                       UDP   3065   slinterbase
UDP 2988     CLASSIFY                       UDP   3066   NETATTACHSDMP
UDP 2989     ZARKOV                         UDP   3067   FJHPJP
UDP 2990     BOSCAP                         UDP   3068   ls3 Broadcast
UDP 2991     WKSTN-MON                      UDP   3069   ls3
UDP 2992     ITB301                         UDP   3070   MGXSWITCH
UDP 2993     VERITAS VIS1                   UDP   3075   Orbix 2000 Locator
UDP 2994     VERITAS VIS2                   UDP   3076   Orbix 2000 Config
UDP 2995     IDRS                           UDP   3077   Orbix 2000 Locator SSL
UDP 2996     vsixml                         UDP   3078   Orbix 2000 Locator SSL
UDP 2997     REBOL                          UDP   3079   LV Front Panel
UDP 2998     Real Secure                    UDP   3080   stm_pproc
UDP 2999     RemoteWare Unassigned          UDP   3081   TL1-LV
UDP 3000     RemoteWare Client              UDP   3082   TL1-RAW
UDP 3001     Redwood Broker                 UDP   3083   TL1-TELNET
UDP 3002     RemoteWare Server              UDP   3084   ITM-MCCS
UDP 3003     CGMS                           UDP   3085   PCIHReq
UDP 3004     Csoft Agent                    UDP   3086   JDL-DBKitchen
UDP 3005     Genius License Manager         UDP   3105   Cardbox
UDP 3006     Instant Internet Admin         UDP   3106   Cardbox HTTP
UDP 3007     Lotus Mail Tracking Agent      UDP   3130   ICPv2
Protocol                                    UDP   3131   Net Book Mark
UDP 3008     Midnight Technologies          UDP   3141   VMODEM
UDP 3009     PXC-NTFY                       UDP   3142   RDC WH EOS



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 3143 Sea View                           UDP 3325 isi.edu
UDP 3144 Tarantella                         UDP 3326 SFTU
UDP 3145 CSI-LFAP                           UDP 3327 BBARS
UDP 3147 RFIO                               UDP 3328 Eaglepoint License Manager
UDP 3148 NetMike Game Administrator         UDP 3329 HP Device Disc
UDP 3149 NetMike Game Server                UDP 3330 MCS Calypso ICF
UDP 3150 NetMike Assessor                   UDP 3331 MCS Messaging
Administrator / Deep Throat (Windows        UDP 3332 MCS Mail Server
Trojan) / Deep Throat 2 (Windows            UDP 3333 DEC Notes
Trojan)                                     UDP 3334 Direct TV Webcasting
UDP 3151 NetMike Assessor                   UDP 3335 Direct TV Software Updates
UDP 3180 Millicent Broker Server            UDP 3336 Direct TV Tickers
UDP 3181 BMC Patrol Agent                   UDP 3337 Direct TV Data Catalog
UDP 3182 BMC Patrol Rendezvous              UDP 3338 OMF data b
UDP 3262 NECP                               UDP 3339 OMF data l
UDP 3264 cc:mail/lotus                      UDP 3340 OMF data m
UDP 3265 Altav Tunnel                       UDP 3341 OMF data h
UDP 3266 NS CFG Server                      UDP 3342 WebTIE
UDP 3267 IBM Dial Out                       UDP 3343 MS Cluster Net
UDP 3268 Microsoft Global Catalog           UDP 3344 BNT Manager
UDP 3269 Microsoft Global Catalog           UDP 3345 Influence
with LDAP/SSL                               UDP 3346 Trnsprnt Proxy
UDP 3270 Verismart                          UDP 3347 Phoenix RPC
UDP 3271 CSoft Prev Port                    UDP 3348 Pangolin Laser
UDP 3272 Fujitsu User Manager               UDP 3349 Chevin Services
UDP 3273 Simple Extensible                  UDP 3350 FINDVIATV
Multiplexed Protocol                        UDP 3351 BTRIEVE
UDP 3274 Ordinox Server                     UDP 3352 SSQL
UDP 3275 SAMD                               UDP 3353 FATPIPE
UDP 3276 Maxim ASICs                        UDP 3354 SUITJD
UDP 3277 AWG Proxy                          UDP 3355 Ordinox Dbase
UDP 3278 LKCM Server                        UDP 3356 UPNOTIFYPS
UDP 3279 admind                             UDP 3357 Adtech Test IP
UDP 3280 VS Server                          UDP 3358 Mp Sys Rmsvr
UDP 3281 SYSOPT                             UDP 3359 WG NetForce
UDP 3282 Datusorb                           UDP 3360 KV Server
UDP 3283 Net Assistant                      UDP 3361 KV Agent
UDP 3284 4Talk                              UDP 3362 DJ ILM
UDP 3285 Plato                              UDP 3363 NATI Vi Server
UDP 3286 E-Net                              UDP 3364 Creative Server
UDP 3287 DIRECTVDATA                        UDP 3365 Content Server
UDP 3288 COPS                               UDP 3366 Creative Partner
UDP 3289 ENPC                               UDP 3371 ccm.jf.intel.com
UDP 3290 CAPS LOGISTICS TOOLKIT - LM        UDP 3372 TIP 2
UDP 3291 S A Holditch & Associates -        UDP 3373 Lavenir License Manager
LM                                          UDP 3374 Cluster Disc
UDP 3292 Cart O Rama                        UDP 3375 VSNM Agent
UDP 3293 fg-fps                             UDP 3376 CD Broker
UDP 3294 fg-gip                             UDP 3377 Cogsys Network License
UDP 3295 Dynamic IP Lookup                  Manager
UDP 3296 Rib License Manager                UDP 3378 WSICOPY
UDP 3297 Cytel License Manager              UDP 3379 SOCORFS
UDP 3298 Transview                          UDP 3380 SNS Channels
UDP 3299 pdrncs                             UDP 3381 Geneous
UDP 3301 Unathorised use by SAP R/3         UDP 3382 Fujitsu Network Enhanced
UDP 3302 MCS Fastmail                       Antitheft function
UDP 3303 OP Session Client                  UDP 3383 Enterprise Software Products
UDP 3304 OP Session Server                  License Manager
UDP 3305 ODETTE-FTP                         UDP 3384 Hardware Management
UDP 3306 MySQL                              UDP 3385 qnxnetman
UDP 3307 OP Session Proxy                   UDP 3386 GPRS SIG
UDP 3308 TNS Server                         UDP 3387 Back Room Net
UDP 3309 TND ADV                            UDP 3388 CB Server
UDP 3310 Dyna Access                        UDP 3389 MS WBT Server
UDP 3311 MCNS Tel Ret                       UDP 3390 Distributed Service
UDP 3312 Application Management             Coordinator
Server                                      UDP 3391 SAVANT
UDP 3313 Unify Object Broker                UDP 3392 EFI License Management
UDP 3314 Unify Object Host                  UDP 3393 D2K Tapestry Client to
UDP 3315 CDID                               Server
UDP 3316 AICC/CMI                           UDP 3394 D2K Tapestry Server to
UDP 3317 VSAI PORT                          Server
UDP 3318 Swith to Swith Routing             UDP 3395 Dyna License Manager (Elam)
Information Protocol                        UDP 3396 Printer Agent
UDP 3319 SDT License Manager                UDP 3397 Cloanto License Manager
UDP 3320 Office Link 2000                   UDP 3398 Mercantile
UDP 3321 VNSSTR                             UDP 3399 CSMS



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 3400 CSMS2                              UDP 4347 LAN Surveyor
UDP 3401 filecast                           UDP 4348 ITOSE
UDP 3421 Bull Apprise portmapper            UDP 4349 File System Port Map
UDP 3454 Apple Remote Access Protocol       UDP 4350 Net Device
um.cc.umich.edu                             UDP 4351 PLCY Net Services
UDP 3455 RSVP Port                          UDP 4353 F5 iQuery
UDP 3456 VAT default data                   UDP 4442 Saris
UDP 3457 VAT default control                UDP 4443 Pharos
UDP 3458 DsWinOSFI                          UDP 4444 NV Video default
UDP 3459 TIP Integral                       UDP 4445 UPNOTIFYP
UDP 3460 EDM Manger                         UDP 4446 N1-FWP
UDP 3461 EDM Stager                         UDP 4447 N1-RMGMT
UDP 3462 EDM STD Notify                     UDP 4448 ASC Licence Manager
UDP 3463 EDM ADM Notify                     UDP 4449 PrivateWire
UDP 3464 EDM MGR Sync                       UDP 4450 Camp
UDP 3465 EDM MGR Cntrl                      UDP 4451 CTI System Msg
UDP 3466 WORKFLOW                           UDP 4452 CTI Program Load
UDP 3467 RCST                               UDP 4453 NSS Alert Manager
UDP 3468 TTCM Remote Controll               UDP 4454 NSS Agent Manager
UDP 3469 Pluribus                           UDP 4455 PR Chat User
UDP 3470 jt400                              UDP 4456 PR Chat Server
UDP 3471 jt400-ssl                          UDP 4457 PR Register
UDP 3535 MS-LA                              UDP 4500 sae-urn
UDP 3563 Watcom Debug                       UDP 4501 urn-x-cdchoice
UDP 3572 harlequin.co.uk                    UDP 4545 WorldScores
UDP 3672 harlequinorb                       UDP 4546 SF License Manager
UDP 3802 VHD                                (Sentinel)
UDP 3845 V-ONE Single Port Proxy            UDP 4547 Lanner License Manager
UDP 3862 GIGA-POCKET                        UDP 4567 TRAM
UDP 3875 PNBSCADA                           UDP 4568 BMC Reporting
UDP 3900 Unidata UDT OS                     UDP 4600 Piranha1
UDP 3984 MAPPER network node manager        UDP 4601 Piranha2
UDP 3985 MAPPER TCP/IP server               UDP 4672 remote file access server
UDP 3986 MAPPER workstation server          UDP 4800 Icona Instant Messenging
UDP 3987 Centerline                         System
UDP 4000 Terabase                           UDP 4801 Icona Web Embedded Chat
UDP 4001 NewOak                             UDP 4802 Icona License System Server
UDP 4002 pxc-spvr-ft                        UDP 4827 HTCP
UDP 4003 pxc-splr-ft                        UDP 4837 Varadero-0
UDP 4004 pxc-roid                           UDP 4838 Varadero-1
UDP 4005 pxc-pin                            UDP 4839 Varadero-2
UDP 4006 pxc-spvr                           UDP 4868 Photon Relay
UDP 4007 pxc-splr                           UDP 4869 Photon Relay Debug
UDP 4008 NetCheque accounting               UDP 4885 ABBS
UDP 4009 Chimera HWM                        UDP 4983 AT&T Intercom
UDP 4010 Samsung Unidex                     UDP 5000 filmaker.com
UDP 4011 Alternate Service Boot             UDP 5001 filmaker.com
UDP 4012 PDA Gate                           UDP 5002 radio free ethernet
UDP 4013 ACL Manager                        UDP 5003 FileMaker Inc. - Proprietary
UDP 4014 TAICLOCK                           name binding
UDP 4015 Talarian Mcast                     UDP 5004 avt-profile-1
UDP 4016 Talarian Mcast                     UDP 5005 avt-profile-2
UDP 4017 Talarian Mcast                     UDP 5006 wsm server
UDP 4018 Talarian Mcast                     UDP 5007 wsm server ssl
UDP 4019 Talarian Mcast                     UDP 5010 TelepathStart
UDP 4045 NFS lock daemon/manager            UDP 5011 TelepathAttack
UDP 4096 BRE (Bridge Relay Element)         UDP 5020 zenginkyo-1
UDP 4097 Patrol View                        UDP 5021 zenginkyo-2
UDP 4098 drmsfsd                            UDP 5042 asnaacceler8db
UDP 4099 DPCP                               UDP 5050 multimedia conference
UDP 4132 NUTS Daemon                        control tool
UDP 4133 NUTS Bootp Server                  UDP 5051 ITA Agent
UDP 4134 NIFTY-Serve HMI protocol           UDP 5052 ITA Manager
UDP 4141 Workflow Server                    UDP 5055 UNOT
UDP 4142 Document Server                    UDP 5060 SIP
UDP 4143 Document Replication               UDP 5069 I/Net 2000-NPR
UDP 4144 Compuserve pc windows              UDP 5071 PowerSchool
(unoffically)                               UDP 5093 Sentinel LM
UDP 4160 Jini Discovery                     UDP 5099 SentLM Srv2Srv
UDP 4199 EIMS ADMIN                         UDP 5145 RMONITOR SECURE
UDP 4299 earth.path.net                     UDP 5150 Ascend Tunnel Management
UDP 4300 Corel CCam                         Protocol
UDP 4321 Remote Who Is                      UDP 5151 ESRI SDE Remote Start
UDP 4343 UNICALL                            UDP 5152 ESRI SDE Instance Discovery
UDP 4344 VinaInstall                        UDP 5165 ife_1corp
UDP 4345 Macro 4 Network AS                 UDP 5190 America-Online
UDP 4346 ELAN LM                            UDP 5191 AmericaOnline1



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 5192 AmericaOnline2                     UDP 5678 Remote Replication Agent
UDP 5193 AmericaOnline3                     Connection
UDP 5200 Targus AIB 1                       UDP 5679 Direct Cable Connect Manager
UDP 5201 Targus AIB 2                       UDP 5713 proshare conf audio
UDP 5202 Targus TNTS 1                      UDP 5714 proshare conf video
UDP 5203 Targus TNTS 2                      UDP 5715 proshare conf data
UDP 5236 padl2sim                           UDP 5716 proshare conf request
UDP 5272 PK                                 UDP 5717 proshare conf notify
UDP 5300 HA cluster heartbeat               UDP 5729 Openmail User Agent Layer
UDP 5301 HA cluster general services        UDP 5741 IDA Discover Port 1
UDP 5302 HA cluster configuration           UDP 5742 IDA Discover Port 2
UDP 5303 HA cluster probing                 UDP 5745 fcopy-server
UDP 5304 HA Cluster Commands hp.com         UDP 5746 fcopys-server
UDP 5305 HA Cluster Test hp.com             UDP 5755 OpenMail Desk Gateway server
UDP 5306 Sun MC Group                       UDP 5757 OpenMail X.500 Directory
UDP 5307 SCO AIP                            Server
UDP 5308 CFengine                           UDP 5766 OpenMail NewMail Server
UDP 5309 J Printer                          UDP 5767 OpenMail Suer Agent Layer
UDP 5310 Outlaws                            (Secure)
UDP 5311 TM Login                           UDP 5768 OpenMail CMTS Server
UDP 5400 Excerpt Search                     UDP 5771 NetAgent
UDP 5401 Excerpt Search Secure              UDP 5813 ICMPD
UDP 5402 MFTP                               UDP 5859 WHEREHOO
UDP 5403 HPOMS-CI-LSTN                      UDP 5968 mppolicy-v5
UDP 5404 HPOMS-DPS-LSTN                     UDP 5969 mppolicy-mgr
UDP 5405 NetSupport                         UDP 5999 CVSup
UDP 5406 Systemics Sox                      UDP 6063 X Windows System mit.edu
UDP 5407 Foresyte-Clear                     UDP 6064 NDL-AHP-SVC
UDP 5408 Foresyte-Sec                       UDP 6065 WinPharaoh
UDP 5409 Salient Data Server                UDP 6066 EWCTSP
UDP 5410 Salient User Manager               UDP 6067 SRB
UDP 5411 ActNet                             UDP 6068 GSMP
UDP 5412 Continuus                          UDP 6069 TRIP
UDP 5413 WWIOTALK                           UDP 6070 Messageasap
UDP 5414 StatusD                            UDP 6071 SSDTP
UDP 5415 NS Server                          UDP 6072 DIAGNOSE-PROC
UDP 5416 SNS Gateway                        UDP 6073 DirectPlay8
UDP 5417 SNS Agent                          UDP 6100 SynchroNet-db
UDP 5418 MCNTP                              UDP 6101 SynchroNet-rtc
UDP 5419 DJ-ICE                             UDP 6102 SynchroNet-upd
UDP 5420 Cylink-C                           UDP 6103 RETS
UDP 5421 Net Support 2                      UDP 6104 DBDB
UDP 5422 Salient MUX                        UDP 6105 Prima Server
UDP 5423 VIRTUALUSER                        UDP 6106 MPS Server
UDP 5426 DEVBASIC                           UDP 6107 ETC Control
UDP 5427 SCO-PEER-TTA                       UDP 6108 Sercomm-SCAdmin
UDP 5428 TELACONSOLE                        UDP 6109 GLOBECAST-ID
UDP 5429 Billing and Accounting             UDP 6110 HP SoftBench CM
System Exchange                             UDP 6111 HP SoftBench Sub-Process
UDP 5430 RADEC CORP                         Control
UDP 5431 PARK AGENT                         UDP 6112 dtspcd
UDP 5435 Data Tunneling Transceiver         UDP 6123 Backup Express
Linking (DTTL)                              UDP 6141 Meta Corporation License
UDP 5454 apc-tcp-udp-4                      Manager
UDP 5455 apc-tcp-udp-5                      UDP 6142 Aspen Technology License
UDP 5456 apc-tcp-udp-6                      Manager
UDP 5461 SILKMETER                          UDP 6143 Watershed License Manager
UDP 5462 TTL Publisher                      UDP 6144 StatSci License Manager - 1
UDP 5465 NETOPS-BROKER                      UDP 6145 StatSci License Manager - 2
UDP 5500 fcp-addr-srvr1                     UDP 6146 Lone Wolf Systems License
UDP 5501 fcp-addr-srvr2                     Manager
UDP 5502 fcp-srvr-inst1                     UDP 6147 Montage License Manager
UDP 5503 fcp-srvr-inst2                     UDP 6148 Ricardo North America
UDP 5504 fcp-cics-gw1                       License Manager
UDP 5540 ACE/Server Services                UDP 6149 tal-pod
UDP 5554 SGI ESP HTTP                       UDP 6253 CRIP
UDP 5555 Personal Agent                     UDP 6321 Empress Software
UDP 5599 Enterprise Security Remote         Connectivity Server 1
Install                                     UDP 6322 Empress Software
UDP 5600 Enterprise Security Manager        Connectivity Server 2
UDP 5601 Enterprise Security Agent          UDP 6389 clariion-evr01
UDP 5602 A1-MSC                             UDP 6400 saegatesoftware.com
UDP 5603 A1-BS                              UDP 6401 saegatesoftware.com
UDP 5604 A3-SDUNode                         UDP 6402 saegatesoftware.com
UDP 5605 A4-SDUNode                         UDP 6403 saegatesoftware.com
UDP 5631 pcANYWHEREdata                     UDP 6404 saegatesoftware.com
UDP 5632 pcANYWHEREstat                     UDP 6405 saegatesoftware.com



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 6406 saegatesoftware.com                UDP 7174 Clutild
UDP 6407 saegatesoftware.com                UDP 7200 FODMS FLIP
UDP 6408 saegatesoftware.com                UDP 7201 DLIP
UDP 6409 saegatesoftware.com                UDP 7390 The Swiss Exchange swx.ch
UDP 6410 saegatesoftware.com                UDP 7395 winqedit
UDP 6455 osmosys.incog.com                  UDP 7426 OpenView DM Postmaster
UDP 6456 osmosys.incog.com                  Manager
UDP 6471 LVision License Manager            UDP 7427 OpenView DM Event Agent
UDP 6500 BoKS Master                        Manager
UDP 6501 BoKS Servc                         UDP 7428 OpenView DM Log Agent
UDP 6502 BoKS Servm                         Manager
UDP 6503 BoKS Clntd                         UDP 7429 OpenView DM rqt
UDP 6505 BoKS Admin Private Port            communication
UDP 6506 BoKS Admin Public Port             UDP 7430 OpenView DM xmpv7 api pipe
UDP 6507 BoKS Dir Server Private Port       UDP 7431 OpenView DM ovc/xmpv3 api
UDP 6508 BoKS Dir Server Public Port        pipe
UDP 6547 apc-tcp-udp-1                      UDP 7437 Faximum
UDP 6548 apc-tcp-udp-2                      UDP 7491 telops-lmd
UDP 6549 apc-tcp-udp-3                      UDP 7511 pafec-lm
UDP 6550 fg-sysupdate                       UDP 7544 FlowAnalyzer DisplayServer
UDP 6558 xdsxdm                             UDP 7545 FlowAnalyzer UtilityServer
UDP 6669 Internet Relay Chat                UDP 7566 VSI Omega
acrux.com                                   UDP 7570 Aries Kfinder
UDP 6670 Vocaltec Global Online             UDP 7588 Sun License Manager
Directory                                   UDP 7597 TROJAN WORM
UDP 6672 vision_server                      UDP 7633 PMDF Management
UDP 6673 vision_elmd                        UDP 7640 CUSeeMe
UDP 6699 Napster                            UDP 7648 CUCME live video/audio
UDP 6700 Napster                            server
UDP 6701 KTI/ICAD Nameserver                UDP 7649 CUCME live video/audio
UDP 6702 Carracho (client)                  server
UDP 6767 BMC PERFORM AGENT                  UDP 7650 CUCME live video/audio
UDP 6768 BMC PERFORM MGRD                   server
UDP 6790 HNMP                               UDP 7651 CUCME live video/audio
UDP 6831 ambit-lm                           server
UDP 6838 DDOS communication UDP             UDP 7777 cbt
UDP 6841 Netmo Default                      UDP 7778 Interwise
UDP 6842 Netmo HTTP                         UDP 7781 accu-lmgr
UDP 6850 ICCRUSHMORE                        UDP 7786 MINIVEND
UDP 6888 MUSE                               UDP 7932 Tier 2 Data Resource Manager
UDP 6961 JMACT3                             UDP 7933 Tier 2 Business Rules
UDP 6962 jmevt2                             Manager
UDP 6963 swismgr1                           UDP 7967 Supercell
UDP 6964 swismgr2                           UDP 7979 Micromuse-ncps
UDP 6965 swistrap                           UDP 7980 Quest Vista
UDP 6966 swispol                            UDP 7983 DDOS communication UDP
UDP 6969 acmsoda                            UDP 7999 iRDMI2
UDP 6998 IATP-highPri                       UDP 8000 iRDMI
UDP 6999 IATP-normalPri                     UDP 8001 VCOM Tunnel
UDP 7000 file server itself                 UDP 8002 Teradata ORDBMS
UDP 7001 callbacks to cache managers        UDP 8008 HTTP Alternate
UDP 7002 users & groups database            UDP 8032 ProEd
UDP 7003 volume location database           UDP 8033 MindPrint
UDP 7004 AFS/Kerberos authentication        UDP 8080 HTTP
service                                     UDP 8130 INDIGO-VRMI
UDP 7005 volume managment server            UDP 8131 INDIGO-VBCP
UDP 7006 error interpretation service       UDP 8160 Patrol
UDP 7007 basic overseer process             UDP 8161 Patrol SNMP
UDP 7008 server-to-server updater           UDP 8200 TRIVNET
UDP 7009 remote cache manager service       UDP 8201 TRIVNET
UDP 7010 onlinet uninterruptable            UDP 8204 LM Perfworks
power supplies                              UDP 8205 LM Instmgr
UDP 7011 Talon Discovery Port               UDP 8206 LM Dta
UDP 7012 Talon Engine                       UDP 8207 LM SServer
UDP 7013 Microtalon Discovery               UDP 8208 LM Webwatcher
UDP 7014 Microtalon Communications          UDP 8351 Server Find
UDP 7015 Talon Webserver                    UDP 8376 Cruise ENUM
UDP 7020 DP Serve                           UDP 8377 Cruise SWROUTE
UDP 7021 DP Serve Admin                     UDP 8378 Cruise CONFIG
UDP 7070 ARCP                               UDP 8379 Cruise DIAGS
UDP 7099 lazy-ptop                          UDP 8380 Cruise UPDATE
UDP 7100 X Font Service                     UDP 8400 cvd
UDP 7121 Virtual Prototypes License         UDP 8401 sabarsd
Manager                                     UDP 8402 abarsd
UDP 7141 vnet.ibm.com                       UDP 8403 admind
UDP 7170 Audio (inclusive) for              UDP 8450 npmp
incoming traffic only                       UDP 8473 Virtual Point to Point



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 8554 RTSP Alternate (see port           UDP 10007 MVS Capacity
554)                                        UDP 10008 rscs8
UDP 8733 iBus                               UDP 10009 rscs9
UDP 8763 MC-APPSERVER                       UDP 10010 rscsa
UDP 8764 OPENQUEUE                          UDP 10011 rscsb
UDP 8765 Ultraseek HTTP                     UDP 10012 qmaster
UDP 8804 truecm                             UDP 10067 Portal of Doom remote
UDP 8880 CDDBP                              access backdoor
UDP 8888 NewsEDGE server UDP (UDP           UDP 10080 Amanda
1)                                          UDP 10113 NetIQ Endpoint
UDP 8889 NewsEDGE server broadcast          UDP 10114 NetIQ Qcheck
UDP 8890 NewsEDGE client broadcast          UDP 10115 Ganymede Endpoint
UDP 8891 Desktop Data UDP 3: NESS           UDP 10128 BMC-PERFORM-SERVICE DAEMON
application                                 UDP 10167 Portal of Doom remote
UDP 8892 Desktop Data UDP 4: FARM           access backdoor
product                                     UDP 10288 Blocks
UDP 8893 Desktop Data UDP 5:                UDP 10498 DDOS Communication UDP
NewsEDGE/Web application                    UDP 11000 IRISA
UDP 8894 Desktop Data UDP 6: COAL           UDP 11001 Metasys
application                                 UDP 11111 Viral Computing Environment
UDP 8900 JMB-CDS 1                          (VCE)
UDP 8901 JMB-CDS 2                          UDP 11367 ATM UHAS
UDP 9000 CSlistener                         UDP 11720 h323 Call Signal Alternate
UDP 9090 WebSM                              UDP 12000 IBM Enterprise Extender SNA
UDP 9160 NetLOCK1                           XID Exchange
UDP 9161 NetLOCK2                           UDP 12001 IBM Enterprise Extender SNA
UDP 9162 NetLOCK3                           COS Network Priority
UDP 9163 NetLOCK4                           UDP 12002 IBM Enterprise Extender SNA
UDP 9164 NetLOCK5                           COS High Priority
UDP 9200 WAP connectionless session         UDP 12003 IBM Enterprise Extender SNA
service                                     COS Medium Priority
UDP 9201 WAP session service                UDP 12004 IBM Enterprise Extender SNA
UDP 9202 WAP secure connectionless          COS Low Priority
session service                             UDP 12172 HiveP
UDP 9203 WAP secure session service         UDP 12753 tsaf port
UDP 9204 WAP vCard                          UDP 13160 I-ZIPQD
UDP 9205 WAP vCal                           UDP 13223 PowWow Client
UDP 9206 WAP vCard Secure                   UDP 13224 PowWow Server
UDP 9207 WAP vCal Secure                    UDP 13720 BPRD Protocol (VERITAS
UDP 9321 guibase                            NetBackup)
UDP 9325 DDOS communication UDP             UDP 13721 BPBRM Protocol (VERITAS
UDP 9343 MpIdcMgr                           NetBackup)
UDP 9344 Mphlpdmc                           UDP 13722 BP Java MSVC Protocol
UDP 9374 fjdmimgr                           UDP 13782 VERITAS NetBackup
UDP 9396 fjinvmgr                           UDP 13783 VOPIED Protocol
UDP 9397 MpIdcAgt                           UDP 13818 DSMCC Config
UDP 9500 ismserver                          UDP 13819 DSMCC Session Messages
UDP 9535 Remote man server                  UDP 13820 DSMCC Pass-Thru Messages
UDP 9594 Message System                     UDP 13821 DSMCC Download Protocol
UDP 9595 Ping Discovery Service             UDP 13822 DSMCC Channel Change
UDP 9600 MICROMUSE-NCPW                     Protocol
UDP 9753 rasadv                             UDP 14001 ITU SCCP (SS7)
UDP 9876 Session Director                   UDP 16360 netserialext1
UDP 9888 CYBORG Systems                     UDP 16361 netserialext2
UDP 9898 MonkeyCom                          UDP 16367 netserialext3
UDP 9899 SCTP TUNNELING                     UDP 16368 netserialext4
UDP 9900 IUA                                UDP 16991 INTEL-RCI-MP
UDP 9909 domaintime                         UDP 17007 isode-dua
UDP 9950 APCPCPLUSWIN1                      UDP 17219 Chipper
UDP 9951 APCPCPLUSWIN2                      UDP 18000 Beckman Instruments Inc.
UDP 9952 APCPCPLUSWIN3                      UDP 18181 OPSEC CVP
UDP 9992 Palace                             UDP 18182 OPSEC UFP
UDP 9993 Palace                             UDP 18183 OPSEC SAM
UDP 9994 Palace                             UDP 18184 OPSEC LEA
UDP 9995 Palace                             UDP 18185 OPSEC OMI
UDP 9996 Palace                             UDP 18187 OPSEC ELA
UDP 9997 Palace                             UDP 18463 AC Cluster
UDP 9998 Distinct32                         UDP 18753 Shaft distributed attack
UDP 9999 distinct                           tool handler - agent
UDP 10000 Network Data Management           UDP 18888 APCNECMP
Protocol                                    UDP 19283 Key Server for SASSAFRAS
UDP 10001 rscsl                             UDP 19315 Key Shadow for SASSAFRAS
UDP 10002 rscs2                             UDP 19410 hp-sco
UDP 10003 rscs3                             UDP 19411 hp-sca
UDP 10004 rscs4                             UDP 19412 HP-SESSMON
UDP 10005 rscs5                             UDP 19541 JCP Client
UDP 10006 rscs6                             UDP 20000 DNP



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Hacker Programming Book

UDP 20432 Shaft distributed attack          UDP 47808 Building Automation and
agent                                       Control Networks
UDP 20670 Track                             UDP 48000 Nimbus Controller
UDP 20999 AT Hand MMP                       UDP 48001 Nimbus Spooler
UDP 21590 VoFR Gateway                      UDP 48002 Nimbus Hub
UDP 21845 webphone                          UDP 48003 Nimbus Gateway
UDP 21846 NetSpeak Corp. Directory          UDP 54321 Orifice 2000 (UDP)
Services
UDP 21847 NetSpeak Corp. Connection
Services
UDP 21848 NetSpeak Corp. Automatic
Call Distribution
UDP 21849 NetSpeak Corp. Credit
Processing System
UDP 22000 SNAPenetIO
UDP 22001 OptoControl
UDP 22273 wnn6
UDP 22555 Vocaltec Internet Phone
UDP 22800 Telerate Information
Platform LAN
UDP 22951 Telerate Information
Platform WAN
UDP 24000 med-ltp
UDP 24001 med-fsp-rx
UDP 24002 med-fsp-tx
UDP 24003 med-supp
UDP 24004 med-ovw
UDP 24005 med-ci
UDP 24006 med-net-svc
UDP 24386 Intel RCI
UDP 24554 BINKP
UDP 25000 icl-twobase1
UDP 25001 icl-twobase2
UDP 25002 icl-twobase3
UDP 25003 icl-twobase4
UDP 25004 icl-twobase5
UDP 25005 icl-twobase6
UDP 25006 icl-twobase7
UDP 25007 icl-twobase8
UDP 25008 icl-twobase9
UDP 25009 icl-twobase10
UDP 25793 Vocaltec Address Server
UDP 26000 quake
UDP 26208 wnn6-ds
UDP 27374 Linux.Ramen.Worm (RedHat
Linux)
UDP 27444 Trinoo distributed attack
tool Master
UDP 27999 Attribute Certificate
Services
UDP 31335 Trinoo distributed attack
tool Bcast Daemon registration port
UDP 31337 Back Orifice(Windows
Trojan)
UDP 31338 Deep Back Orifice (Windows
Trojan)
UDP 31789 Hack-A-Tack Remote Access
Trojan (Windows Trojan)
UDP 31791 Hack-A-Tack Remote Access
Trojan (Windows Trojan)
UDP 32768 Filenet TMS
UDP 32769 Filenet RPC
UDP 32770 Filenet NCH
UDP 32780 RPC
UDP 33270 Trinity v3 distributed
attack tool
UDP 33434 traceroute use
UDP 34555 Trinoo distributed attack
tool Handler
UDP 36865 KastenX Pipe
UDP 40841 CSCP
UDP 44818 Rockwell Encapsulation
UDP 45678 EBA PRISE
UDP 45966 SSRServerMgr
UDP 47557 Databeam Corporation
UDP 47624 Direct Play Server
UDP 47806 ALC Protocol



Copyright 2002 Flavio Bernardotti – Tel. (39) 380 7097051
Ethernet MAC Address Vendor Codes
                                                    00006E Artisoft, Inc.
000001   SuperLAN-2U                                00006F Madge Networks Ltd. Token-ring adapters
         BBN (was internal usage only, no longer    000068 Rosemount Controls
000002   used)                                      00006F Madge Networks Ltd
000009   powerpipes?                                000073 DuPont
00000C   Cisco                                      000075 Bell Northern Research (BNR)
00000E   Fujitsu                                           Interphase [Used in other systems, e.g.
00000F   NeXT                                       000077 MIPS, Motorola]
000010   Hughes LAN Systems (formerly Sytek)        000078 Labtam Australia
000011   Tektronix                                         Networth Incorporated [bought by Compaq,
000015   Datapoint Corporation                      000079 used in Netelligent series]
         Webster Computer Corporation               00007A Ardent
000018   Appletalk/Ethernet Gateway                 00007B Research Machines
00001A   AMD (?)                                           Cray Research Superservers,Inc [Also
00001B   Novell (now Eagle Technology)              00007D Harris (3M) (old)]
00001C   JDR Microdevices generic, NE2000 drivers   00007E NetFRAME multiprocessor network servers
00001D   Cabletron                                  00007F Linotype-Hell AG Linotronic typesetters
00001F   Cryptall Communications Corp.                     Cray Communications (formerly Dowty
000020   DIAB (Data Intdustrier AB)                        Network Services) [Also shows as "Harris
                                                    000080 (3M) (new)" and/or "Imagen(?)" elsewhere]
000021   SC&C (PAM Soft&Hardware also reported)
                                                    000081 Synoptics
000022   Visual Technology
                                                           Tadpole Technology [had Optical Data
000023   ABB Automation AB, Dept. Q                 000083 Systems which is wrong according to both]
000024   Olicom                                     000084 Aquila (?), ADI Systems Inc.(?)
000029   IMC                                               Gateway Communications Inc. (also
00002A   TRW                                        000086 Megahertz Corporation?)
         NRC - Network Resources Corporation -      000087 Hitachi
00002C   MultiGate Hub1+, Hub2, etc                 000089 Cayman Systems Gatorbox
         GPT Limited (reassigned from GEC           00008A Datahouse Information Systems
000032   Computers Ltd)
                                                           Solbourne(?), Jupiter(?) (I've had confirming
000037   Oxford Metrics Ltd                         00008E mail on Solbourne)
00003B   Hyundai/Axil Sun Sparc Station 2 clone     000092 Unisys, Cogent (both reported)
00003C   Auspex                                     000093 Proteon
00003D   AT&T                                       000094 Asante MAC
00003F   Syntrex Inc                                000095 Sony/Tektronix
000044   Castelle                                   000097 Epoch
000046   ISC-Bunker Ramo, An Olivetti Company       000098 Cross Com
000048   Epson                                      000099 Memorex Telex Corporations
000049   Apricot Ltd.                               00009F Ameristar Technology
00004B   APT -ICL also reported                     0000A0 Sanyo Electronics
00004C   NEC Corporation                            0000A2 Wellfleet
00004F   Logicraft 386-Ware P.C. Emulator           0000A3 Network Application Technology (NAT)
000051   Hob Electronic Gmbh & Co. KG               0000A4 Acorn
000052   Optical Data Systems                       0000A5 Compatible Systems Corporation
000055   AT&T                                              Network General (internal assignment, not
000058   Racore Computer Products Inc               0000A6 for products)
         SK (Schneider & Koch in Europe and                Network Computing Devices (NCD) X-
00005A   Syskonnect outside of Europe)              0000A7 terminals
00005A   Xerox 806 (unregistered)                   0000A8 Stratus Computer, Inc.
00005B   Eltec                                      0000A9 Network Systems
00005D   RCE                                        0000AA Xerox Xerox machines
00005E   U.S. Department of Defense (IANA)                 Conware Netzpartner [had Apollo, claimed
00005F   Sumitomo                                   0000AC incorrect]
000061   Gateway Communications                            Dassault Automatismes et
000062   Honeywell                                  0000AE Telecommunications
000063   Hewlett-Packard LanProbe                          Nuclear Data Acquisition Interface Modules
000064   Yokogawa Digital Computer Corp             0000AF (AIM)
000065   Network General                            0000B0 RND (RAD Network Devices)
000066   Talaris                                    0000B1 Alpha Microsystems Inc.
         Concord Communications, Inc (although      0000B3 CIMLinc
000069   someone said Silicon Graphics)             0000B4 Edimax
00006B   MIPS                                       0000B5 Datability Terminal Servers
00006D   Case                                       0000B6 Micro-matic Research
0000B7   Dove Fastnet                                         interfaces
         TRI-DATA Systems Inc. Netway products,        000629 IBM RISC6000 system
0000BB   3274 emulators                                00067C Cisco
0000BC   Allen-Bradley                                 0006C1 Cisco
         Western Digital now SMC (Std.                 000701 Racal-Datacom
0000C0   Microsystems Corp.)                           00070D Cisco 2511 Token Ring
0000C1   Olicom A/S                                    000852 Technically Elite Concepts
0000C5   Farallon Computing Inc                        000855 Fermilab
         HP Intelligent Networks Operation (formerly   0008C7 Compaq
0000C6   Eon Systems)
                                                       001011 Cisco Systems Cisco 75xx
0000C8   Altos
                                                       00101F Cisco
0000C9   Emulex Terminal Servers, Print Servers
                                                       00102F Cisco Cisco 5000
         LANcity Cable Modems (now owned by
                                                       00104B 3Com 3C905-TX PCI
0000CA   BayNetworks)
                                                       001079 Cisco 5500 Router
0000CC   Densan Co., Ltd.
                                                       00107A Ambicom (was Tandy?)
0000CD   Industrial Research Limited
                                                       0010F6 Cisco
0000D0   Develcon Electronics, Ltd.
                                                       001700 Kabel
0000D1   Adaptec, Inc. "Nodem" product
                                                       002000 Lexmark (Print Server)
0000D2   SBE Inc
                                                       002008 Cable & Computer Technology
0000D3   Wang Labs
                                                       00200C Adastra Systems Corp
0000D4   PureData
                                                       002011 Canopus Co Ltd
0000D7   Dartmouth College (NED Router)
                                                       002017 Orbotech
         old Novell NE1000's (before about 1987?)
0000D8   (also 3Com)                                   002018 Realtek
0000DD   Gould                                         00201A Nbase
0000DE   Unigraph                                             Control Technology Inc (Industrial Controls
                                                       002025 and Network Interfaces)
0000E1   Hitachi (laptop built-in)
                                                       002028 Bloomberg
0000E2   Acer Counterpoint
                                                              ATML (Advanced Telecommunications
0000E3   Integrated Micro Products Ltd
                                                       00202B Modules, Ltd.)
0000E4   mips?
                                                              IBM (International Business Machines)
0000E6   Aptor Produits De Comm Indust                 002035 mainframes, Etherjet printers
0000E8   Accton Technology Corporation                 002036 BMC Software
0000E9   ISICAD, Inc.                                  002042 Datametrics Corp
0000ED   April                                         002045 SolCom Systems Limited
         Network Designers Limited [also KNX Ltd, a    002048 Fore Systems Inc
0000EE   former division]
                                                       00204B Autocomputer Co Ltd
0000EF   Alantec
                                                       00204C Mitron Computer Pte Ltd
0000F0   Samsung
                                                       002056 Neoproducts
         Spider Communications (Montreal, not
                                                       002061 Dynatech Communications Inc
0000F2   Spider Systems)
                                                       002063 Wipro Infotech Ltd
0000F3   Gandalf Data Ltd. - Canada
                                                       002066 General Magic Inc
0000F4   Allied Telesis, Inc.
                                                       002067 Node Runner Inc
0000F6   A.M.C. (Applied Microsystems Corp.)
                                                       00206B Minolta Co., Ltd Network printers
0000F8   DEC
                                                       002078 Runtop Inc
0000FB   Rechner zur Kommunikation
                                                              3COM SuperStack II UPS management
0000FD   High Level Hardware (Orion, UK)
                                                       002085 module
0000FF   Camtec Electronics (UK) Ltd.
                                                       00208A Sonix Communications Ltd
         BBN (Bolt Beranek and Newman, Inc.)
                                                       00208B Focus Enhancements
000102   internal usage (not registered)
                                                       00208C Galaxy Networks Inc
000143   IEEE 802
                                                       002094 Cubix Corporation
000163   NDC (National Datacomm Corporation)
                                                       0020A5 Newer Technology
         W&G (Wandel & Goltermann) [incorrect
000168   according to W&G]                             0020A6 Proxim Inc
0001C8   Thomas Conrad Corp.                           0020AF 3COM Corporation
0001FA   Compaq (PageMarq printers)                    0020B6 Agile Networks Inc
000204   Novell NE3200                                 0020B9 Metricom, Inc.
000205   Hamilton (Sparc Clones)                       0020C5 Eagle NE2000
000216   ESI (Extended Systems, Inc) print servers     0020C6 NECTEC
000288   Global Village (PCcard in Mac portable)              Versalynx Corp. "The One Port" terminal
                                                       0020D0 server
0003C6   Morning Star Technologies Inc
                                                       0020D2 RAD Data Communications Ltd
000400   Lexmark (Print Server)
                                                       0020D3 OST (Ouet Standard Telematique)
0004AC   IBM PCMCIA Ethernet adapter.
                                                       0020D8 NetWave
000502   Apple (PCI bus Macs)
                                                       0020DA Xylan
00059A   PowerComputing (Mac clone)
                                                       0020DC Densitron Taiwan Ltd
0005A8   PowerComputing Mac clones
                                                              PreMax PE-200 (PCMCIA NE2000-clone
00060D   Hewlett-Packard JetDirect token-ring
                                                       0020E0 card, sold by InfoExpress)
0020E5   Apex Data                                               Mobuis NuBus (Mac) combination
0020EE   Gtech Corporation                              004088   video/EtherTalk
0020F6   Net Tek & Karlnet Inc                          00408A   TPS Teleprocessing Sys. Gmbh
0020F8   Carrera Computers Inc                          00408C   Axis Communications AB
004001   Zero One Technology Co Ltd (ZyXEL?)            00408E   CXR/Digilog
         TRENDware International Inc.; Linksys;         00408F   WM-Data Minfo AB
004005   Simple Net; all three reported                          Ansel Communications PC NE2000
004009   Tachibana Tectron Co Ltd                       004090   compatible twisted-pair ethernet cards
00400B   Crescendo (now owned by Cisco)                 004091   Procomp Industria Eletronica
00400C   General Micro Systems, Inc.                    004092   ASP Computer Products, Inc.
00400D   LANNET Data Communications                     004094   Shographics Inc
004010   Sonic Mac Ethernet interfaces                  004095   Eagle Technologies [UMC also reported]
004011   Facilities Andover Environmental Controllers   004096   Telesystems SLW Inc
004013   NTT Data Communication Systems Corp            00409A   Network Express Inc
004014   Comsoft Gmbh                                   00409C   Transware
004015   Ascom                                          00409D   DigiBoard Ethernet-ISDN bridges
004017   XCd XJet - HP printer server card              00409E   Concurrent Technologies Ltd.
         AST Pentium/90 PC (emulating AMD EISA          00409F   Lancast/Casat Technology Inc
00401C   card)                                          0040A4   Rose Electronics
00401F   Colorgraph Ltd                                 0040A6   Cray Research Inc.
004020   Pilkington Communication                       0040AA   Valmet Automation Inc
004023   Logic Corporation                              0040AD   SMA Regelsysteme Gmbh
004025   Molecular Dynamics                             0040AE   Delta Controls, Inc.
004026   Melco Inc                                      0040AF   Digital Products, Inc. (DPI).
         SMC Massachusetts [Had:Sigma (?), maybe        0040B4   3COM K.K.
004027   the "S"?]                                      0040B5   Video Technology Computers Ltd
004028   Netcomm                                        0040B6   Computerm Corporation
00402A   Canoga-Perkins                                 0040B9   MACQ Electronique SA
00402B   TriGem                                         0040BD   Starlight Networks Inc
00402F   Xlnt Designs Inc (XDI)                         0040C1   Bizerba-Werke Wilheim Kraut
004030   GK Computer                                    0040C2   Applied Computing Devices
004032   Digital Communications                         0040C3   Fischer and Porter Co.
004033   Addtron Technology Co., Ltd.                   0040C5   Micom Communications Corp.
004036   TribeStar                                      0040C6   Fibernet Research, Inc.
004039   Optec Daiichi Denko Co Ltd                     0040C7   Danpex Corporation
00403C   Forks, Inc.                                    0040C8   Milan Technology Corp.
004041   Fujikura Ltd.                                  0040CC   Silcom Manufacturing Technology Inc
004043   Nokia Data Communications                      0040CF   Strawberry Tree Inc
004048   SMD Informatica S.A.                           0040D2   Pagine Corporation
00404C   Hypertec Pty Ltd.                              0040D4   Gage Talker Corp.
00404D   Telecomm Techniques                            0040D7   Studio Gen Inc
00404F   Space & Naval Warfare Systems                  0040D8   Ocean Office Automation Ltd
004050   Ironics, Incorporated                          0040DC   Tritec Electronic Gmbh
004052   Star Technologies Inc                          0040DF   Digalog Systems, Inc.
004054   Thinking Machines Corporation                  0040E1   Marner International Inc
004057   Lockheed-Sanders                               0040E2   Mesa Ridge Technologies Inc
004059   Yoshida Kogyo K.K.                             0040E3   Quin Systems Ltd
00405B   Funasset Limited                               0040E5   Sybus Corporation
00405D   Star-Tek Inc                                   0040E7   Arnos Instruments & Computer
004066   Hitachi Cable, Ltd.                            0040E9   Accord Systems, Inc.
004067   Omnibyte Corporation                           0040EA   PlainTree Systems Inc
004068   Extended Systems                               0040ED   Network Controls International Inc
004069   Lemcom Systems Inc                             0040F0   Micro Systems Inc
00406A   Kentek Information Systems Inc                 0040F1   Chuo Electronics Co., Ltd.
00406E   Corollary, Inc.                                0040F4   Cameo Communications, Inc.
00406F   Sync Research Inc                              0040F5   OEM Engines
004072   Applied Innovation                             0040F6   Katron Computers Inc
004074   Cable and Wireless                             0040F9   Combinet
004076   AMP Incorporated                               0040FA   Microboards Inc
004078   Wearnes Automation Pte Ltd                     0040FB   Cascade Communications Corp.
00407F   Agema Infrared Systems AB                      0040FD   LXE
004082   Laboratory Equipment Corp                      0040FF   Telebit Corporation Personal NetBlazer
004085   SAAB Instruments AB                            004F49   Realtek
004086   Michels & Kleberhoff Computer                  004F4B   Pine Technology Ltd.
004087   Ubitrex Corporation                            00504D   Repotec Group
         UMC UM9008 NE2000-compatible ISA Card       008051   ADC Fibermux
00504E   for PC                                      008052   Network Professor
         3Com Found in a 3Com PCI form factor        008057   Adsoft Ltd
006008   3C905 TX board                              00805A   Tulip Computers International BV
006009   Cisco Catalyst 5000 Ethernet switch         00805B   Condor Systems, Inc.
006025   Active Imaging Inc.                         00805C   Agilis(?)
00602F   Cisco                                       00805F   Compaq Computer Corporation
00603E   Cisco 100Mbps interface                     008060   Network Interface Corporation
006047   Cisco                                       008062   Interface Co.
006052   Realtek (RTL 8029 == PCI NE2000)            008063   Richard Hirschmann Gmbh & Co
00605C   Cisco                                       008064   Wyse
006067   Acer Lan                                    008067   Square D Company
006070   Cisco routers (2524 and 4500)               008069   Computone Systems
006083   Cisco Systems, Inc. 3620/3640 routers       00806A   ERI (Empac Research Inc.)
00608C   3Com (1990 onwards)                         00806B   Schmid Telecommunication
006094   AMD PCNET PCI                               00806C   Cegelec Projects Ltd
006097   3Com                                        00806D   Century Systems Corp.
0060B0   Hewlett-Packard                             00806E   Nippon Steel Corporation
008000   Multitech Systems Inc                       00806F   Onelan Ltd
008001   Periphonics Corporation                     008071   SAI Technology
008004   Antlow Computers, Ltd.                      008072   Microplex Systems Ltd
008005   Cactus Computer Inc.                        008074   Fisher Controls
008006   Compuadd Corporation                        008079   Microbus Designs Ltd
008007   Dlog NC-Systeme                             00807B   Artel Communications Corp.
         Jupiter Systems (older MX-600 series        00807C   FiberCom
008009   machines)
                                                     00807D   Equinox Systems Inc
00800D   Vosswinkel FU
                                                     008082   PEP Modular Computers Gmbh
00800F   SMC (Standard Microsystem Corp.)
                                                     008086   Computer Generation Inc.
008010   Commodore
                                                     008087   Okidata
008012   IMS Corp. IMS failure analysis tester
                                                     00808A   Summit (?)
008013   Thomas Conrad Corp.
                                                     00808B   Dacoll Limited
008015   Seiko Systems Inc
                                                     00808C   Frontier Software Development
008016   Wandel & Goltermann
                                                     00808D   Westcove Technology BV
008017   PFU
                                                     00808E   Radstone Technology
008019   Dayna Communications "Etherprint" product
                                                     008090   Microtek International Inc
00801A   Bell Atlantic
                                                     008092   Japan Computer Industry, Inc.
00801B   Kodiak Technology
                                                     008093   Xyron Corporation
00801C   Cisco
                                                     008094   Sattcontrol AB
008021   Newbridge Networks Corporation
                                                              HDS (Human Designed Systems) X
008023   Integrated Business Networks                008096   terminals
008024   Kalpana                                     008098   TDK Corporation
008026   Network Products Corporation                00809A   Novus Networks Ltd
008029   Microdyne Corporation                       00809B   Justsystem Corporation
00802A   Test Systems & Simulations Inc              00809D   Datacraft Manufactur'g Pty Ltd
00802C   The Sage Group PLC                          00809F   Alcatel Business Systems
00802D   Xylogics, Inc. Annex terminal servers       0080A1   Microtest
00802E   Plexcom, Inc.                               0080A3   Lantronix (see also 0800A3)
008033   Formation (?)                               0080A6   Republic Technology Inc
008034   SMT-Goupil                                  0080A7   Measurex Corp
008035   Technology Works                                     CNet Technology Used by Telebit (among
008037   Ericsson Business Comm.                     0080AD   others)
008038   Data Research & Applications                0080AE   Hughes Network Systems
00803B   APT Communications, Inc.                    0080AF   Allumer Co., Ltd.
00803D   Surigiken Co Ltd                            0080B1   Softcom A/S
00803E   Synernetics                                 0080B2   NET (Network Equipment Technologies)
00803F   Hyundai Electronics                         0080B6   Themis corporation
008042   Force Computers                             0080BA   Specialix (Asia) Pte Ltd
008043   Networld Inc                                0080C0   Penril Datability Networks
008045   Matsushita Electric Ind Co                  0080C2   IEEE 802.1 Committee
008046   University of Toronto                       0080C6   Soho
         Compex, used by Commodore and DEC at        0080C7   Xircom, Inc.
008048   least                                                D-Link (also Solectek Pocket Adapters, and
008049   Nissin Electric Co Ltd                      0080C8   LinkSys PCMCIA)
00804C   Contec Co., Ltd.                            0080C9   Alberta Microelectronic Centre
00804D   Cyclone Microsystems, Inc.                  0080CE   Broadcast Television Systems
0080D0   Computer Products International           00C023   Tutankhamon Electronics
0080D3   Shiva Appletalk-Ethernet interface        00C024   Eden Sistemas De Computacao SA
0080D4   Chase Limited                             00C025   Dataproducts Corporation
0080D6   Apple Mac Portable(?)                     00C027   Cipher Systems, Inc.
0080D7   Fantum Electronics                        00C028   Jasco Corporation
0080D8   Network Peripherals                       00C029   Kabel Rheydt AG
0080DA   Bruel & Kjaer                             00C02A   Ohkura Electric Co
0080E0   XTP Systems Inc                           00C02B   Gerloff Gesellschaft Fur
0080E3   Coral (?)                                 00C02C   Centrum Communications, Inc.
0080E7   Lynwood Scientific Dev Ltd                00C02D   Fuji Photo Film Co., Ltd.
0080EA   The Fiber Company                         00C02E   Netwiz
0080F0   Kyushu Matsushita Electric Co             00C02F   Okuma Corp
0080F1   Opus                                      00C030   Integrated Engineering B. V.
0080F3   Sun Electronics Corp                      00C031   Design Research Systems, Inc.
0080F4   Telemechanique Electrique                 00C032   I-Cubed Limited
0080F5   Quantel Ltd                               00C033   Telebit Corporation
0080F7   Zenith Communications Products            00C034   Dale Computer Corporation
0080FB   BVM Limited                               00C035   Quintar Company
0080FE   Azure Technologies Inc                    00C036   Raytech Electronic Corp
00A000   Bay Networks Ethernet switch              00C039   Silicon Systems
         Intermate International [LAN printer      00C03B   Multiaccess Computing Corp
00A092   interfaces]                               00C03C   Tower Tech S.R.L.
         National Semiconductor [COMPAQ Docking    00C03D   Wiesemann & Theis Gmbh
00A0D1   Station]                                  00C03E   Fa. Gebr. Heller Gmbh
00A0D2   Allied Telesyn                            00C03F   Stores Automated Systems Inc
00A024   3com                                      00C040   ECCI
00A040   Apple (PCI Mac)                           00C041   Digital Transmission Systems
00A0C9   Intel (PRO100B cards)                     00C042   Datalux Corp.
         MacSense 100Base-TX Adapter for Mac       00C043   Stratacom
00A0CC   Also seen in PCs (?)
                                                   00C044   Emcom Corporation
00AA00   Intel
                                                   00C045   Isolation Systems Inc
00B0D0   Computer Products International
                                                   00C046   Kemitron Ltd
00C000   Lanoptics Ltd
                                                   00C047   Unimicro Systems Inc
00C001   Diatek Patient Managment
                                                   00C048   Bay Technical Associates
00C002   Sercomm Corporation
                                                            US Robotics Total Control (tm) NETServer
00C003   Globalnet Communications                  00C049   Card
00C004   Japan Business Computer Co.Ltd            00C04D   Mitec Ltd
         Livingston Enterprises Inc Portmaster     00C04E   Comtrol Corporation
00C005   (OEMed by Cayman)
                                                   00C04F   Dell
00C006   Nippon Avionics Co Ltd
                                                   00C050   Toyo Denki Seizo K.K.
00C007   Pinnacle Data Systems Inc
                                                   00C051   Advanced Integration Research
00C008   Seco SRL
                                                   00C055   Modular Computing Technologies
00C009   KT Technology (s) Pte Inc
                                                   00C056   Somelec
00C00A   Micro Craft
                                                   00C057   Myco Electronics
00C00B   Norcontrol A.S.
                                                   00C058   Dataexpert Corp
00C00C   ARK PC Technology, Inc.
                                                   00C059   Nippondenso Corp
00C00D   Advanced Logic Research Inc
                                                   00C05B   Networks Northwest Inc
00C00E   Psitech Inc
                                                   00C05C   Elonex PLC
         QNX Software Systems Ltd. [also Quantum
                                                   00C05D   L&N Technologies
00C00F   Software Systems Ltd]
                                                   00C05E   Vari-Lite Inc
00C011   Interactive Computing Devices
                                                   00C060   ID Scandinavia A/S
00C012   Netspan Corp
                                                   00C061   Solectek Corporation
00C013   Netrix
                                                            Morning Star Technologies Inc May be
00C014   Telematics Calabasas
                                                   00C063   miswrite of 0003C6
00C015   New Media Corp
                                                   00C064   General Datacomm Ind Inc
00C016   Electronic Theatre Controls
                                                   00C065   Scope Communications Inc
00C017   Fluke
                                                   00C066   Docupoint, Inc.
00C018   Lanart Corp
                                                   00C067   United Barcode Industries
00C01A   Corometrics Medical Systems
                                                   00C068   Philp Drake Electronics Ltd
00C01B   Socket Communications
                                                   00C069   California Microwave Inc
00C01C   Interlink Communications Ltd.
                                                   00C06A   Zahner-Elektrik Gmbh & Co KG
00C01D   Grand Junction Networks, Inc.
                                                   00C06B   OSI Plus Corporation
00C01F   S.E.R.C.E.L.
                                                   00C06C   SVEC Computer Corp
00C020   Arco Electronic, Control Ltd.
                                                   00C06D   Boca Research, Inc.
00C021   Netexpress
                                                   00C06F   Komatsu Ltd
00C070   Sectra Secure-Transmission AB           00C0BB   Forval Creative Inc
00C071   Areanex Communications, Inc.            00C0BD   Inex Technologies, Inc.
00C072   KNX Ltd                                 00C0BE   Alcatel - Sel
00C073   Xedia Corporation                       00C0BF   Technology Concepts Ltd
00C074   Toyoda Automatic Loom Works Ltd         00C0C0   Shore Microsystems Inc
00C075   Xante Corporation                       00C0C1   Quad/Graphics Inc
00C076   I-Data International A-S                00C0C2   Infinite Networks Ltd.
00C077   Daewoo Telecom Ltd                      00C0C3   Acuson Computed Sonography
00C078   Computer Systems Engineering            00C0C4   Computer Operational
00C079   Fonsys Co Ltd                           00C0C5   SID Informatica
00C07A   Priva BV                                00C0C6   Personal Media Corp
         Ascend Communications ISDN              00C0C8   Micro Byte Pty Ltd
00C07B   bridges/routers                         00C0C9   Bailey Controls Co
00C07D   RISC Developments Ltd                   00C0CA   Alfa, Inc.
00C07F   Nupon Computing Corp                    00C0CB   Control Technology Corporation
00C080   Netstar Inc                             00C0CD   Comelta S.A.
00C081   Metrodata Ltd                           00C0D0   Ratoc System Inc
00C082   Moore Products Co                                Comtree Technology Corporation (EFA also
00C084   Data Link Corp Ltd                      00C0D1   reported)
00C085   Canon                                   00C0D2   Syntellect Inc
00C086   The Lynk Corporation                    00C0D4   Axon Networks Inc
00C087   UUNET Technologies Inc                  00C0D5   Quancom Electronic Gmbh
00C089   Telindus Distribution                   00C0D6   J1 Systems, Inc.
00C08A   Lauterbach Datentechnik Gmbh                     Quinte Network Confidentiality Equipment
00C08B   RISQ Modular Systems Inc                00C0D9   Inc
00C08C   Performance Technologies Inc            00C0DB   IPC Corporation (Pte) Ltd
00C08D   Tronix Product Development              00C0DC   EOS Technologies, Inc.
00C08E   Network Information Technology          00C0DE   ZComm Inc
00C08F   Matsushita Electric Works, Ltd.         00C0DF   Kye Systems Corp
00C090   Praim S.R.L.                            00C0E1   Sonic Solutions
00C091   Jabil Circuit, Inc.                     00C0E2   Calcomp, Inc.
00C092   Mennen Medical Inc                      00C0E3   Ositech Communications Inc
00C093   Alta Research Corp.                     00C0E4   Landis & Gyr Powers Inc
         Znyx (Network Appliance box); Jupiter   00C0E5   GESPAC S.A.
00C095   Systems (MX-700 series)                 00C0E6   TXPORT
00C096   Tamura Corporation                      00C0E7   Fiberdata AB
00C097   Archipel SA                             00C0E8   Plexcom Inc
00C098   Chuntex Electronic Co., Ltd.            00C0E9   Oak Solutions Ltd
00C09B   Reliance Comm/Tec, R-Tec Systems Inc    00C0EA   Array Technology Ltd.
00C09C   TOA Electronic Ltd                      00C0EC   Dauphin Technology
00C09D   Distributed Systems Int'l, Inc.         00C0ED   US Army Electronic Proving Ground
00C09F   Quanta Computer Inc                     00C0EE   Kyocera Corporation
00C0A0   Advance Micro Research, Inc.            00C0EF   Abit Corporation
00C0A1   Tokyo Denshi Sekei Co                   00C0F0   Kingston Technology Corporation
00C0A2   Intermedium A/S                         00C0F1   Shinko Electric Co Ltd
00C0A3   Dual Enterprises Corporation            00C0F2   Transition Engineering Inc
00C0A4   Unigraf OY                              00C0F3   Network Communications Corp
00C0A7   SEEL Ltd                                00C0F4   Interlink System Co., Ltd.
00C0A8   GVC Corporation                         00C0F5   Metacomp Inc
00C0A9   Barron McCann Ltd                       00C0F6   Celan Technology Inc.
00C0AA   Silicon Valley Computer                 00C0F7   Engage Communication, Inc.
00C0AB   Jupiter Technology Inc                  00C0F8   About Computing Inc.
00C0AC   Gambit Computer Communications          00C0FA   Canary Communications Inc
00C0AD   Computer Communication Systems          00C0FB   Advanced Technology Labs
00C0AE   Towercom Co Inc DBA PC House            00C0FC   ASDG Incorporated
00C0B0   GCC Technologies,Inc.                   00C0FD   Prosum
00C0B2   Norand Corporation                      00C0FF   Box Hill Systems Corporation
00C0B3   Comstat Datacomm Corporation            00DD00   Ungermann-Bass IBM RT
00C0B4   Myson Technology Inc                    00DD01   Ungermann-Bass
00C0B5   Corporate Network Systems Inc           00DD08   Ungermann-Bass
00C0B6   Meridian Data Inc                       00E011   Uniden Corporation
00C0B7   American Power Conversion Corp          00E014   Cisco Ethernet switch
00C0B8   Fraser's Hill Ltd.                      00E016   rapid-city (now a part of bay networks)
00C0B9   Funk Software Inc                       00E01E   Cisco Lightstream 1010
00C0BA   Netvantage                              00E029   SMC EtherPower II 10/100
         AST - built into 5166M PC motherboard        080037 Fuji Xerox
00E02C   (win95 id's as Intel)                        080038 Bull
00E034   Cisco                                        080039 Spider Systems
00E039   Paradyne 7112 T1 DSU/CSU                     08003B Torus Systems
00E04F   Cisco                                        08003D cadnetix
00E083   Jato Technologies, Inc.                      08003E Motorola VME bus processor modules
00E08F   Cisco Systems Catalyst 2900                  080041 DCA (Digital Comm. Assoc.)
00E098   Linksys PCMCIA card                          080044 DSI (DAVID Systems, Inc.)
00E0A3   Cisco                                               ???? (maybe Xylogics, but they claim not to
00E0B0   Cisco Systems Catalyst 2900/5000             080045 know this number)
00E0B8   AMD PCNet in a Gateway 2000                  080046 Sony
00E0C5   BCOM Electronics Inc.                        080047 Sequent
00E0F7   Cisco                                        080048 Eurotherm Gauging Systems
00E0F9   Cisco                                        080049 Univation
00E0FE   Cisco                                        08004C Encore
020406   BBN internal usage (not registered)                 BICC [3com bought BICC, so may appear
         Interlan [now Racal-InterLAN] DEC            08004E on 3com equipment as well]
020701   (UNIBUS or QBUS), Apollo, Cisco              080051 Experdata
020701   Racal-Datacom                                080056 Stanford University
026060   3Com                                         080057 Evans & Sutherland (?)
026086   Satelcom MegaPac (UK)                        080058 ??? DECsystem-20
         3Com IBM PC; Imagen; Valid; Cisco;           08005A IBM
02608C   Macintosh                                    080066 AGFA printers, phototypesetters etc.
02AA3C   Olivetti                                     080067 Comdesign
         CMC Masscomp; Silicon Graphics; Prime        080068 Ridge
02CF1F   EXL                                          080069 Silicon Graphics
         Prominet Corporation Gigabit Ethernet        08006A ATTst (?)
02E03B   Switch
                                                      08006E Excelan
02E6D3   BTI (Bus-Tech, Inc.) IBM Mainframes
                                                      080070 Mitsubishi
080001   Computer Vision
                                                      080074 Casio
080002   3Com (formerly Bridge)
                                                      080075 DDE (Danish Data Elektronik A/S)
         ACC (Advanced Computer
                                                      080077 TSL (now Retix)
080003   Communications)
                                                      080079 Silicon Graphics
080005   Symbolics Symbolics LISP machines
                                                      08007C Vitalink TransLAN III
080006   Siemens Nixdorf PC clone
                                                      080080 XIOS
080007   Apple
                                                      080081 Crosfield Electronics
080008   BBN (Bolt Beranek and Newman, Inc.)
                                                      080083 Seiko Denshi
080009   Hewlett-Packard
                                                      080086 Imagen/QMS
08000A   Nestar Systems
                                                      080087 Xyplex terminal servers
08000B   Unisys
                                                      080088 McDATA Corporation
08000D   ICL (International Computers, Ltd.)
                                                      080089 Kinetics AppleTalk-Ethernet interface
08000E   NCR/AT&T
                                                      08008B Pyramid
08000F   SMC (Standard Microsystems Corp.)
                                                      08008D XyVision XyVision machines
080010   AT&T [misrepresentation of 800010?]
                                                      08008E Tandem / Solbourne Computer ?
080011   Tektronix, Inc.
                                                      08008F Chipcom Corp.
         Excelan BBN Butterfly, Masscomp, Silicon
080014   Graphics                                     080090 Retix, Inc. Bridges
         National Semiconductor Corp. (used to have   09006A AT&T
080017   Network System Corp., wrong NSC)             10005A IBM
08001A   Tiara? (used to have Data General)           100090 Hewlett-Packard Advisor products
08001B   Data General                                 1000D4 DEC
08001E   Apollo                                              Apple A/UX (modified addresses for
08001F   Sharp                                        1000E0 licensing)
080020   Sun                                                 LAA (Locally Administered Address) for
                                                      2E2E2E Meditech Systems
080022   NBI (Nothing But Initials)
                                                             3Com dual function (V.34 modem +
080023   Matsushita Denso
                                                      3C0000 Ethernet) card
080025   CDC
                                                      400003 Net Ware (?)
080026   Norsk Data (Nord)
                                                      444553 Microsoft (Windows95 internal "adapters")
080027   PCS Computer Systems GmbH
                                                      444649 DFI (Diamond Flower Industries)
080028   TI Explorer
                                                             GTC (Not registered!) (This number is a
08002B   DEC                                          475443 multicast!)
08002E   Metaphor                                     484453 HDS ???
08002F   Prime Computer Prime 50-Series LHC300        484C00 Network Solutions
080030   CERN                                         4854E8 winbond?
080032   Tigan                                               Information Modes software modified
080036   Intergraph CAE stations                      4C424C addresses (not registered?)
52544C Novell 2000
5254AB REALTEK (a Realtek 8029 based PCI Card)
565857 Aculab plc audio bridges
       AT&T [misrepresented as 080010? One
800010 source claims this is correct]
       CNET Technology Inc. (Probably an error,
80AD00 see instead 0080AD)
AA0000 DEC obsolete
AA0001 DEC obsolete
AA0002 DEC obsolete
       DEC Global physical address for some DEC
AA0003 machines
       DEC Local logical address for DECNET
AA0004 systems
       Western Digital (may be reversed 00 00
C00000 C0?)
EC1000 Enance Source Co., Ltd. PC clones(?)
Le passwords di defaults
Queste che seguono sono alcune password di default.

Manufacturer       Model                       OS Version   Login        Password
3Com               -                           1.25         root         letmein
3Com               Super Stack 2 Switch        Any          manager      manager
3Com               AccessBuilder® 7000 BRI     Any          -            -
3Com               CoreBuilder 2500            -            -            -
3Com               Switch 3000/3300            -            manager      manager
3Com               Switch 3000/3300            -            admin        admin
3Com               Switch 3000/3300            -            security     security
                   Cable Managment System
3com               SQL Database (DOSCIC        Win2000 & MS DOCSIS_APP   3com
                   DHCP)
3Com               NAC (Network Access Card)   -            adm          none
3Com               HiPer ARC Card              v4.1.x of HA adm          none
3Com               CoreBuilder 6000            -            debug        tech
3Com               CoreBuilder 7000            -            tech         tech
3Com               SuperStack II Switch 2200   -            debug        synnet
3Com               SuperStack II Switch 2700   -            tech         tech
3Com               SuperStack / CoreBuilder    -            admin        -
3Com               SuperStack / CoreBuilder    -            read         -
3Com               SuperStack / CoreBuilder    -            write        -
3Com               LinkSwitch and CellPlex     -            tech         tech
3Com               LinkSwitch and CellPlex     -            debug        synnet
3com               Superstack II 3300FX        -            admin        -
3com               Switch 3000/3300            -            Admin        3com
3com               3comCellPlex7000            -            tech         tech
3Com               Switch 3000/3300            -            monitor      monitor
3Com               AirConnect Access Point     n/a          -            comcomcom
                   Superstack II Dual Speed
3com                                           -            security     security
                   500
3Com               OfficeConnect 5x1           at least 5.x -            PASSWORD
                   SuperStack 3 Switch
3Com                                           -            admin        -
                   3300XM
3com               Super Stack 2 Switch        Any          manager      manager
3Com               SuperStack II Switch 1100   -            manager      manager
3Com               SuperStack II Switch 1100   -            security     security
3com               super stack 2 switch        any          manager      manager
3Com               Office Connect Remote 812   -            root         !root
                                                                         admin
3Com               Switch 3000/3300            -            admin
3COM               OCR-812                     -          root           !root
3com               -                           -          -              -
                                                          administrato
3com               NBX100                    2.8                         0000
                                                          r
3com               Home Connect              -            User           Password
                                                          estheralastr
3Com               OfficeConnect 5x1         at least 5.x                -
                                                          uey
3Com               SuperStack II Switch 3300 -            manager        manager
3Com               Superstack                -            -              -
ACC                Routers                   -            netman         netman
Acc/Newbridge      Congo/Amazon/Tigris       All versions netman         netman
Acc/Newbridge      Congo/Amazon/Tigris       All versions netman         netman
adaptec            -                         -            -              -
                                                          Administrato
Adaptec RAID       Storage Manager Pro       All                         adaptec
                                                          r
adtran             tsu 600 ethernet module   -            18364          -
Adtran             TSU 120 e                 -            -              ADTRAN
Adtran             TSU 120 e                 -            -              ADTRAN
Aironet            All                       -
alcatel            -                         -            -              -
Alcatel            1000 ANT                  Win98        -              -
alcatel             speed touch home           -              -              -
Alcatel/Newbridge/T VPN Gateway
                                               Any            root           permit
imestep             15xx/45xx/7xxx
Alcatel/Newbridge/T
                    VPN Gateway 15xx/          Any            root           permit
imestep
Alcatel/Newbridge/T
                    VPN Gateway 15xx/          Any            root           permit
imestep
Allied Tenysin      R130                       -            Manager          friend
Alteon              ACEswitch 180e (telnet)    -            admin            blank
Alteon Web Systems All hardware releases       Web OS 5.2   none             admin
APC                 MasterSwitches             -            apc              apc
APC                 Any                        Firmware Pri apcuser          apc
Apple               Network Assistant          3.X          None             xyzzy
Apple               Airport                    1.1          none             public
Arrowpoint          any?                       -            admin            system
Ascend              All TAOS models            all          admin            Ascend
Ascend              Pipeline Terminal Server   -            answer           -
Ascom               Timeplex Routers           Any          See notes        -
AT&T                Starlan SmartHUB           9.9          N/A              manager
AWARD               Any BIOS                   -            AWARD_SW         -
                                                            administrato
Axent               NetProwler manager         WinNT                         admin
                                                            r
Axis                NPS 530                    5.02         root             pass
AXIS                StorPoint CD100            4.28         root             pass
AXIS                200 V1.32                  -            admin            -
Axis                2100 Network Camera        Linux (ETRAX root             pass
bay                 cv1001003                  -            -                -
bay                 -                          -            -                -
Bay                 -                          -            -                -
                                                            Manager
Bay / Nortel        ARN                        13.20        (caps            -
                                                            count !)
Bay Network Routers All                        -            User             -
Bay Networks        ASN / ARN Routers          Any          Manager          Manager
Bay Networks        Baystack                   -            -                NetICs
Bay/Nortel Networks Accelar 1xxx switches      Any          rwa              rwa
Bay/Nortel Networks Remote Annex 2000          Any          admin            IP address
BEA                 Weblogic                   5.1          system           weblogic
BEA                 -                          -            -                -
bewan               -                          -            -                -
Bintec              all Routers                Any          admin            bintec
Bintec              -                          -            -                -
Biodata             BIGfire & BIGfire+         all          -                biodata
Biodata             all Babylon-Boxes          all          -                Babylon
Borland             interbase                  -            -                -
Borland             Interbase                  Any          politcally       correct
Borland/Inprise     Interbase                  any          SYSDBA           masterkey
BreezeCom           AP10, SA10                 BreezeNET PR -                -
                    Station Adapter and
BreezeCOM                                      4.x            -              Super
                    Access Point
BreezeCOM           -                          3.x            -              Master
                    Station Adapter and
BreezeCOM                                      2.x            -              laflaf
                    Access Point
Brocade             Silkworm                   -              admin          password
                                                              root (cannot   (no password
Buffalo/MELCO       AirStation WLA-L11         -
                                                              be changed)    by default)
Cabletron           any                        any            --             --
Cabletron           NB Series                  Any            -              inuvik49
Cabletron routers
                    *                          *              blank          blank
and switches
Cayman              3220-H DSL Router          GatorSurf 5.   Any            -
celerity            -                          -              -              -
Chase Research      Iolan+                     -              -              iolan
Cisco               Any Router and Switch      10 thru 12     cisco          cisco
Cisco               ConfigMaker Software       any?           n/a            cmaker
CISCO               Network Registrar          3.0            ADMIN          changeme
CISCO               N/A                        N/A            pixadmin       pixadmin
Cisco               routers                    Not sure...j   -              san-fran
Cisco               VPN 3000 Concentrator      -              admin          admin
Cisco               Net Ranger 2.2.1           Sol 5.6        root           attack
cisco               1600                       12.05          -              -
cisco               1601                       -              -              -
cisco               -                          -              -              -
cisco               -                          -              -              -
Cisco               MGX                        *              superuser      superuser
cisco               1601                       -              -              -
cisco               -                          -              -              -
Cisco               -                          -              -              -
cisco               -                          -              -              -
                                                              no default     no default
Cisco               any                        aany IOS
                                                              login          password
CISCO               arrowpoint                 -              -              -
cisco               -                          -              -              -
cisco               -                          -              -              -
cisco               -                          -              -              -
Cisco               2503                       -              -              -
Cisco               -                          -              -              -
cisco               -                          -              -              -
Cisco               IDS (netranger)            -              root           attack
cisco               -                          -              -              -
cisco               1600                       -              -              -
CMOS BIOS           -                          -              -              ESSEX or IPC
Cobalt              RaQ * Qube*                Any            admin          admin
Com21               -                          -              -              -
Comersus Shopping
                    3.2                        Win 95/98/NT admin            dmr99
Cart
                                                            Administrato     administrato
Compaq              Insight Manager            -
                                                            r                r
Compaq              Insight Manager            -            operator         operator
                                                            administrato
Compaq              Management Agents          All                           none
                                                            r
compaq              -                          -            -                -
copper mountain     -                          -            -                -
Coppercom           -                          -            -                -
                                                            eqadmin -
Coyote-Point        Equaliser 4                Free BSD     Serial port      equalizer
                                                            only
                                                            root -
Coyote-Point        Equaliser 4                Free BSD     Serial port      -
                                                            only
                                                            look - Web
Coyote-Point        Equaliser 4                Free BSD     Browser only     look
                                                            (Read a
                                                            touch - Web
Coyote-Point        Equaliser 4                Free BSD     Browser only     touch
                                                            (Write
Cyclades            MP/RT                      -            super            surt
D-Link              DI-704                     -            -                admin
D-Link              DI-701                     2.22 (?)     -                -
Dell                PowerVault 50F             WindRiver (E root             calvin
Dell                PowerVault 35F             -            root             calvin
Dell                Powerapp Web 100 Linux     RedHat 6.2   root             powerapp
dell                -                          -            -                -
Digiboard           Portserver 8 & 16          any          root             dbps
DLink               DI-206 ISDN router         1.*          Admin            Admin
Dlink               Dl-106 ISDN router         -            -                1234
                    DL-701 Cable/DSL
DLink                                          -              -              year2000
                    Gateway/Firewall
Dlink               DFE-538TX 10/100 Adapter   Windows 98     -              -
dlink               di704                      -              -              admin
                                                              administrato   @*nigU^D.ha,
DLink               DI 106                     winnt
                                                              r              ;
Dupont Digital
                    Sun Sparc                  any            root           par0t
Water Proofer
eci                 -                          -              -              -
Efficient           -                           -              -             -
                                                               hostname/ip
Elron               Firewall                    2.5c                         sysadmin
                                                               address
emai                hotmail                     -              -             -
Ericsson            ACC                         -              netman        netman
Ericsson (formerly
                    Any router                  all            netman        netman
ACC)
Extended Systems    ExtendNet 4000 / Firewall   all Versions   admin         admin
Extended Systems    Print Servers               -              admin         extendnet
Extreme             All Summits                 -              admin         -
extreme             black diamond               -              -             -
Extreme             All                         All            Admin         -
Flowpoint           144, 2200 DSL Routers       ALL            -             password
FlowPoint           144, 2200 DSL Routers       ALL            -             admin
Flowpoint           2200                        -              -             Serial Num
Flowpoint           2200                        -              -             Serial Num
fore                -                           -              -             -
Fore Systems        ASX 1000/1200               6.x            ami           -
Foundry Networks    ServerIronXL                Any            -             -
fujitsu             l460                        -              -             -
Future Networks     FN 110C Docsis cablemodem   Any            -             -
gatway              solo9100                    win95          -             -
General Instruments SB2100D Cable Modem         -              test          test
gonet               -                           -              fast          abd234
Hewlett Packard     HP Jetdirect (All Models)   Any            none          none
Hewlett Packard     MPE-XL                      -              HELLO         MANAGER.SYS
Hewlett Packard     MPE-XL                      -              HELLO         MGR.SYS
                                                                             FIELD.SUPPOR
Hewlett Packard     MPE-XL                      -              HELLO
                                                                             T
Hewlett   Packard   MPE-XL                      -            MGR             CAROLIAN
Hewlett   Packard   MPE-XL                      -            MGR             CCC
Hewlett   Packard   MPE-XL                      -            OPERATOR        COGNOS
Hewlett   Packard   MPE-XL                      -            MANAGER         HPOFFICE
hp                  4150                        -            -               -
hp                  -                           -            -               -
IBM                 AS/400                      -            qsecofr         qsecofr
IBM                 AS/400                      -            qsysopr         qsysopr
IBM                 AS/400                      -            qpgmr           qpgmr
IBM                 NetCommerce PRO             3.2          ncadmin         ncadmin
IBM                 LAN Server / OS/2           2.1, 3.0, 4. username        password
IBM                 2210                        RIP          def             trade
IBM                 DB2                         WinNT        db2admin        db2admin
                    Lotus Domino Go WebServer
IBM                                             ANY ?          webadmin      webibm
                    (net.commerce edition)
IBM                 AS400                       Any            QSECOFR       QSECOFR
IBM                 RS/6000                     AIX            root          ibm
IBM                 -                           OS/400         QSECOFR       QSECOFR
IBM                 AS400                       -              QSRVBAS       QSRVBAS
IBM                 AS400                       -              QSRV          QSRV
ibm                 as400                       -              -             -
IBM                 AS/400                      OS/400         QUSER         QUSER
IBM                 AS/400                      -              -             -
IBM                 ra6000                      AIX Unix       -             -
IBM                 AIX                         -              -             -
                    Imperia Content Managment
Imperia Software                                Unix/NT        superuser     superuser
                    System
Intel               510T                        Any          -               admin
Intel               All Routers                 All Versions -               babbit
Intel               All Routers                 All Versions -               babbit
                    Intel PRO/Wireless 2011
Intel                                           Any            -             Intel
                    Wireless LAN Access Point
Intel               wireless lan access Point   -            -               comcomcom
Ipswitch            Whats up Gold 6.0           Windows 9x a admin           admin
janta sales         254                         compaq       janta sales     janta211
janta sales         254                         compaq       janta sales     janta211
Jetform             Jetform_design              -            Jetform         -
Kawa                -                           -            -               -
LANCAST             -                          -            -              -
Lantronix           LPS1-T Print Server        j11-16       any            system
Lantronix           MSS100, MSSVIA, UDS10      Any          -              system
Lantronix           LSB4                       any          any            system
                    Printer and
Lantronix                                      -            -              system
                    terminalservers
LGIC                Goldstream                 2.5.1        LR-ISDN        LR-ISDN
Linkou School       -                          -            bill           bill
Linkou School       -                          -            bill           bill
Linksys             Cable/DSL router           Any          -              admin
Linksys             BEFSR7(1) OR (4)           Standalone R blank          admin
linksys             -                          -            -              -
Linksys             BEFSR41                    -            (blank)        admin
Livingston          Livingston_portmaster2/3   -            !root          blank
Livingston          Livingston_officerouter    -            !root          blank
Lucent              Portmaster 2               -            !root          none
Lucent              Cajun Family               -            root           root
lucent              Portmaster 3               unknown      !root          !ishtar
Lucent              Packetstar (PSAX)          -            readwrite      lucenttech1
Lucent              AP-1000                    -            public         public
lucent              dsl                        -            -              -
lucent              -                          -            -              -
macromedia          freehand                   9            -              -
MacSense            X-Router Pro               -            admin          admin
mcafee              -                          -            -              -
microcom            hdms                       unknowen     system         hdms
Micron              -                          bios         -              -
Microrouter (Cisco) Any                        Any          -              letmein
Microrouter (Cisco) Any                        Any          -              letmein
                                                            Administrato
Microsoft          Windows NT                  All                         -
                                                            r
Microsoft          Windows NT                  All          Guest          -
Microsoft          Windows NT                  All          Mail           -
Microsoft          SQL Server                  -            sa             -
Microsoft          Windows NT                  4.0          pkoolt         pkooltPS
Microsoft          NT                          -            -              start
MICROSOFT          NT                          4.0          free user      user
Microsoft          Windows NT                  4.0          admin          admin
MICROSOFT          NT                          4.0          free user      user
Microsoft          -                           -            -              -
microsoft          -                           -            -              -
Microsoft          Ms proxy 2.0                -            -              -
microsoft          -                           -            -              -
mICROSOFT          -                           -            -              -
Microsoft          Key Managment Server        Windows NT 4 -              password
Microsoft          -                           -            -              -
Motorola           Motorola-Cablerouter        -            cablecom       router
Motorola           Motorola-Cablerouter        -            cablecom       router
motorola           cyber surfer                -            -              -
msdloto            msdloto                     -            -              -
msdloto            -                           -            -              -
Multi-Tech         RASExpress Server           5.30a        guest          none
Nanoteq            NetSeq firewall             *            admin          NetSeq
NetApp             NetCache                    any          admin          NetCache
Netgaer            RH328                       -            -              1234
Netgear            RH348                       -            -              1234
Netgear            ISDN-Router RH348           -            -              1234
Netgear            RT311                       Any          Admin          1234
Netgear            RT314                       Any          Admin          1234
Netgear            RT338                       -            -              1234
Netgear            RT311/RT314                 -            admin          1234
netgear            -                           -            -              -
netlink            rt314                       -            -              -
Netopia            R7100                       4.6.2        admin          admin
Netopia            455                         v3.1
Netscreen          NS-5, NS10, NS-100          2.0          netscreen      netscreen
NeXT               -                           NeXTStep 3.3 me             -
Nokia - Telecom NZ M10                         -            Telecom        Telecom
Nortel             Meridian 1 PBX              OS Release 2 0000           0000
                   Contivity Extranet
Nortel                                         2.x          admin          setup
                   Switches
                                                            **ADMIN        ADMIN
Nortel              Norstar Modular ICS        Any
                                                            (**23646)      (23646)
                                                            **CONFIG       CONFIG
Nortel              Norstar Modular ICS        Any
                                                            (266344)       (266344)
Nortel Networks
                    Instant Internet           Any          -              -
(Bay)
Northern
                    Meridian 1                 -            -              m1link
Telecom(Nortel)
Novell              NetWare                    Any          guest          -
Novell              NetWare                    any          PRINT          -
Novell              NetWare                    Any          LASER          -
Novell              NetWare                    Any          HPLASER        -
Novell              NetWare                    Any          PRINTER        -
Novell              NetWare                    Any          LASERWRITER    -
Novell              NetWare                    Any          POST           -
Novell              NetWare                    Any          MAIL           -
Novell              NetWare                    Any          GATEWAY        -
Novell              NetWare                    Any          GATE           -
Novell              NetWare                    Any          ROUTER         -
Novell              NetWare                    Any          BACKUP         -
Novell              NetWare                    Arcserve     CHEY_ARCHSVR   WONDERLAND
                                                            WINDOWS_PASS
Novell              NetWare                    Any                         -
                                                            THRU
novell              -                          -            -              -
ODS                 1094 IS Chassis            4.x          ods            ods
Optivision          Nac 3000 & 4000            any          root           mpegvideo
                                                                           change_on_in
Oracle              8i                         8.1.6        sys
                                                                           stall
                    Internet Directory
Oracle                                         any          cn=orcladmin welcome
                    Service
Oracle              7 or later                 -            system         manager
                                                                           change_on_in
Oracle              7 or later                 -            sys
                                                                           stall
Oracle              7 or later                 Any          Scott          Tiger
Oracle              8i                         all          internal       oracle
oracle              -                          -            -              -
oracle              -                          -            -              -
                                                                           change_on_in
oracle co.          Database engines           every        sys
                                                                           stall
Osicom(Datacom)     Osicom(Datacom)            -            sysadm         sysadm
Pandatel            EMUX                       all          admin          admin
                                                                           default.pass
PlainTree           Waveswitch 100             -            -
                                                                           word
RapidStream         RS4000-RS8000              Linux        rsadmin        rsadmin
realtek             8139                       -            -              -
Remedy              Any                        Any          Demo           -
Research Machines   Classroom Assistant        Windows 95   manager        changeme
                    Rodopi billing software
Rodopi                                         -            rodopi         rodopi
                    'AbacBill' sql database
ROLM                phones/phone mail                                      111#
                                                            Any Local      Local User
Samba               SWAT Package               Linux
                                                            User           password
schoolgirl          member                     -            ich            hci
Securicor3NET       Monet                      any          manager        friend
Securicor3NET       Cezzanne                   any          manager        friend
SGI                 all                        all          root           n/a
                                                            Administrato
SGI                 Embedded Support Partner   IRIX 6.5.6                  Partner
                                                            r
SGI                 IRIX                       ALL          lp             lp
                                                            OutOfBox,
                                                            demos,         (none by
SGI                 IRIX                       ALL
                                                            guest,         default)
                                                            4DGifts
SGI                 IRIX                        ALL            EZsetup        -
Shiva               LanRover                    any?           root           -
Shiva               AccessPort                  Any            hello          hello
Shiva               Any?                        -              Guest          blank
SMC                 Barricade                   -              -              admin
soho                nbg800                      unknown        admin          1234
Solaris             -                           -              -              -
sonic wall          any firewall device         admin          password       -
SonicWall           Any Firewall Device         -              admin          password
SpeedStream         -                           -              -              -
Spider Systems      M250 / M250L                -              -              hello
                                                               Menu - 8 - 0
Sprint PCS          SCH2000                     see notes                     040793
                                                               (see notes)
Ssangyoung          SR2501                      -              -              2501
Sun                 -                           SunOS 4.1.4    root           -
Sun                 -                           Solaris        -              -
surecom             ep3501/3506                 own os         admin          surecom
Symnatec            -                           -              -              -
                                                               default.pass
SysKonnect          6616                        -                             -
                                                               word
                                                               default.pass
SysKonnect          6616                        -                             -
                                                               word
Tekelec             Eagle STP                   -              eagle          eagle
                                                                              setup/nopass
Telebit             netblazer 3.*               -              setup/snmp
                                                                              wd
Terayon             TeraLink Getaway            -              admin          password
Terayon             TeraLink 1000 Controller    -              admin          password
Terayon             TeraLink 1000 Controller    -              user           password
Terayon             TeraLink Getaway            -              user           password
terayon             -                           6.29           admin          nms
Terrayon            -                           -              -              -
Titbas              -                           SCO            haasadm        lucy99
TopLayer            AppSwitch 2500              Any            siteadmin      toplayer
Toshiba             TR-650                      V2.01.00       admin          tr650
toshiba             480cdt                      -              -              -
toshiba             -                           -              -              -
TrendMicro          ISVW (VirusWall)            any            admin          admin
                    eAcquirer App/Data
Trintech                                        -              t3admin        Trintech
                    Servers
Ullu ka pattha      Gand mara                   Gandoo         Bhosda         Lund
USR                 TOTALswitch                 Any            none           amber
Vina Technologies   ConnectReach                3.6.2          (none)         (none)
voy                 -                           -              -              -
                                                                              wg (touch
WatchGuard          FireBox                     3-4.6          -
                                                                              password)
Webmin              Webmin                      Any Unix/Lin   admin          -
Webramp             410i etc...                 -              wradmin        trancell
Win2000             Quick Time 4.0              Englisch       -              -
Windows 98 se       98 se                       -              -              -
Wireless Inc.       WaveNet 2458                n/a            root           rootpass
Xylan               Omnistack 1032CF            3.2.8          admin          password
Xylan               Omnistack 4024              3.4.9          admin          password
Xylan               Omniswitch                  3.1.8          admin          switch
xyplex              mx-16xx                     -              setpriv        system
Zyxel               ISDN-Router Prestige 1000   -              -              1234
zyxel               prestige 300 series         zynos 2.*      -              1234
                    ISDN Router Prestige
Zyxel                                           -              -              1234
                    100IH
Zyxel               prestige 300 series         any            -              -
Zyxel               prestige 600 series         any            -              -
ZYXEL               641 ADSL                    -              -              1234
Zyxel               prestige 128 modem-router   any            -              1234
Zyxel               ISDN-Router Prestige 1000   -              -              -
Zyxel               ISDN-Router Prestige 1000   -              -              -
zyxel               -                           -              -
UNIX Quick Reference

Connect:
--------
telnet [host]                      Connect to host (25 (SMTP), 109/110 (POP3),
21 (FTP), 20 (FTP data) )
ssh [host]                         Secure telnet to host
rlogin -l [username]               Connect to host (no passwd necessary if
in .rhost (host username) )
ftp     -i                         File transfer with host (-i (don't promt
when using mget), hash (status))
ftptool                            X-window based FTP prgram
xhost +/- hostname                 Allow host to open X-Window on local
machine (setenv DISPLAY locmach:0.0)
talk [username@host]               Talk to username
write [username]                   Write directly to username, you must be on
the same machine
mesg -yes / -no                    Enable or disable receiving of messages
logout, bye                        Disconnect from host
passwd, yppasswd , chfn, chsh      Change local or NIS password information
slirp                              Slirp (conf: .slirprc) (options: -P -b 9600
"asyncmap FFFFFFFF" "mtu 1500"
                                   "mru 1500" compress ppp-exit debug papcrypt
(save encrypted passwd in file
                                   ~/.pap-secrets))
pppd                               PPP (use chat -v to connect) (options: 9600
locIP:remIP asyncmap FFFFFFFF
                                   crtscts mru 1500)
aspppd                             To automatically build a ppp-connection if
needed
httpd                              HTTP-Server (confiles: httpd.conf,
srm.conf, access.conf)
exit                               Log out from ssh, telnet, rlogin
quit                               Log out from ftp


File transfer and Mail:
-----------------------
mailx                               Read mails
mailx -s [subject] [user]           Send mail to user   ("." (finish)   q (quit),
x (quit without changing),
                                    n (next), d (delete), r (reply), h (display
mails) )
telnet host 25                      SMTP (helo (authorize), mail from: (snd
address), rcpt to: (rec address),
                                    data (mail body), "." (finish) )
telnet host 110 (or 109)            POP3 (user [username], pass [password],
uidl (listmails), retr [n]
                                    (retrive message n), dele [n] (delete
message n), quit)
get                                 Get file from ftp-host
mget                                Get multiple files from ftp-host (can use
wild char)
put                                 Copy file to ftp-host


Connect info:
-------------
who                                 Who is connected
w                                   Similar to who just displays more info,
like processes and load
finger [-l @host]                   Display info about logged on users
finger [user]                       Display info about user
whois [-h host name]                Scans for a name or handle
rusers                              Scans the whole remote network for
connected users
whoami                              Display the effective current username
id                                  List user & group ids
last -n [num]                       List the num last users who have logged in,
by user or terminal


Network:
--------
nslookup                            Query domain name servers interactively
route                               Routing (add host/net target gateway 0)
netstat -nr                         Routing table. Show network status
ifconfig [device]                   Show the stats of network device, or all
devices: -a
ifconfig lo0:1 10.0.2.20 127.0.0.1 up    Enables a previously added route (very
important!)
                                    Put this at the end of the file:
/etc/init.d/sysid.net
traceroute [hostname]               Tracing IP packet from this host to
hostname


Jobs:
-----
jobs                                 List jobs running in the background
ps                                   List current processes (ps -aef | grep
$USER)
CTRL + Z                             Suspend
kill [pid] / CTRL + C                Kill a job (use pid returned by ps; -9 exit
immediately)
bg                                   Send to background. Returns num to use when
calling fg
fg [num]                             Send to foreground
comm &                               Execute command in background
nohup comm &                         Continue execution of command even when
terminal is down
CTRL + U                          New commandline
CTRL + S                          Stop output
CTRL + Q                          Continue


Directories:
------------
pwd                                  Display the pathname of the current working
directory
cd [dirname]                         Change to directory dirname (cd without
dirname wil go to your home
                                     directory, cd .. moves one directory up, cd
~username moves you to
                                     username's homedir)
mkdir                                Make directory
rm, rmdir [dirname]                  Remove (unlink) files or directories
dircmp                               Compare directories
ln -s [realpath alias]               Make symbolic links to files
df -bk                               Report free disk space on file systems
disktool -u [dir]                    Display disk usage o directory
fsck                                 File system consistency check and
interactive repair


Files:
------
ls -l                                List files   (-a (list invisible files), -d
(don't list contents of a folder),
                                    -R (recursively subdir listing) )
mv [old new]                        Move or rename a file or directory (no -r
needed)
cp [-r file]                        Copy file (-r (copy directory) )
tar -cf - [source] | (cd [target]; tar -xfvp-;) Fast copying using tar (p: keep
permissions, v: verbose)
cd [source]; tar -cf - . | (cd [target]; tar -xfvBp - ) Another possibility (p:
keep permissions)
rm [-rf file]                       Remove file (-f (don't prompt user), -r
(remove directory) )
perl -p -i.old -e 's/oldstring/newstrin/g' *.txt    Search and replace of a
string in multiple files
chmod [o+r file]                    Change access for file (-R recursively)
{u=rw,og+r,a-w}
chmod [ugo]                         4=r 6=rw 5=rx 7=rwx
{644=rw_r__r__}
umask [x]                           Without param=disp with=set
{27=rwxr_x__ 67=rwx______}
chown [user:group file]             Change owner of file
chgrp [group]                       Change the group ownership of a file
more [file]                         Type file (b=back, v=VI, /[string] (search
for string) )
cat [file1 file2] > targetfile      Concatenate files
catman                               Create the cat files for the manual
split -b [bytes file]                Split file to packets with size bytes
csplit                               Split a file with respect to a given
context
dd                                   Convert and copy files with various data
formats
find [path criteria]                 Searches for files   (-name ['name']   -mtime
[n] (changed n days ago),
                                    -atime [n] (last read n days ago), -group
[gname])
volcheck                            Mount floppy, content will become visible
in /floppy/floppy0
eject                               After leaving the /floppy/floppy0 directory
ejetct the disk
fdformat                            Format a floppy for UNIX
fddisk -fmt -f /dev/rfd0a           Format a floppy on trevano
mformat a:                          Format a floppy for MS-DOS
mcopy [unixfile a:dosfile]          Copy to a dos disk or the other way round
mdel [a:dosfile]                    Delete a MS-DOS file
dos2unix [file]                     Convert text file from MS-DOS format to
Unix/ISO format
unix2dos [file]                     Convert text file from Unix-ISO format to
MS-DOS format
mcopy [unixfile a:dosfile]          Copy to a dos disk (better use the
directory /floppy/floppy0)
xhfs                                Use Mac disks (HFS file system)
hfs                                 Use Mac disks (mount
/vol/dev/aliases/floppy0, copyin, copyout, dir)
perl -p -i.old -e 's/\r/\n/g' [files] Replaces returns with linefeeds (convert
from mac to unix or dos to unix)
diff [file1] [file2]                Compares two files and display line-by-line
differences
diff3                               Display line-by-line differences between 3
files
diffmk                              Mark differences between versions of a
troff input file
touch [filename]                    Update the access and modification times of
a file
mkfile                              Create a file (e.g. for swap space)


Programming:
------------
make                                 Build source code. Maintain, update, and
regenerate programs and files
cc                                   C Compiler
gcc [file.c]                         C Compiler
g++ [file.C]                         C++ Compiler
cxx                                  C++ Compiler
adb, dbx                             Debugger
dbxtool                              SunView interface for the dbx source-level
debugger
cxref                                Generate a C program cross-reference
cflow                                Generate a flow graph for a C program
javac [file.java]                    JAVA-Compiler
pc                                   Pascal compiler


Compression:
------------
gzip [file]                          Compress file (.gz)
gunzip [file]                        Decompress file (.gz)
tar -cvf [targetfile.tar] [source]   Create archive (.tar) from multiple source
files
tar -xvf [file]                      Unpack archive (.tar)
tar -tvf [file]                      List archive (.tar) doesn't expand the
archive
compress [file]                      Compress file (.Z)
uncompress [file]                    Decompress file (.Z)
zcat [file]                          Display expanded contents


Printing:
---------
lpr [-P[printer] file]               Print file on printer   (-K2 (double sided),
-#2 (two copies) )
lp [-d[printer] file]               Print file on printer   (-K2 (double sided),
-n2 (two copies) )
lp cancel                           Cancel requests to a printer
lpc                                 Line printer control program
lprm                                Remove jobs from the printer queue
mapge -[num] -h [file] | lpr        Print num pages on one page with header (-h
option)
nenscript [-p- file]                Translate file to Postscript (stdout)
nenscript [-p- file] | lpr          Translate file to PS and print it
lpq                                 List queue
lprm [job-ID]                       Remove job from queue
lpstat -a                           List all available printers
lptest                              Generate lineprinter ripple pattern
psp1 [file] / psp2 [file]           Print text (user defined script)
a2ps                                Convert text files to ps (nicely formatted)


Other Commands:
---------------
man [comm]                          Get info about command (-k keyword)
apropos [expr]                      Get info about related commands
where [comm]                        Show path of command
grep, egrep, fgrep [expr]           Filters out lines containing expr (-i (not
case sensitive), -c (count
                                    only), -v (inverse) )
cut                                 Remove selected fields from each line of a
file
cut [-c Num-Num]                    Cuts lists
[comm] > [file]                     Write output of command to file
[comm] >> [file]                    Append output of command to file
[comm] < [file]                     Content of file => input of command
[comm1] | [comm2]                   Output of command1 => input of command2
lynx                                Text based version of netscape (g (go), q
(quit), left (back), enter
                                     (follow link), Search:
http://www.google.com)
alias [alias comm]                   Define alias for long commands
stty                                 Set or alter the options for a terminal
stty erase \^\?                      Set erase key to backspace (or other
terminal settings)
h                                    Display history (on trevano only)
echo [$var]                          Print value of var or expr         {HOME,
PATH, SHELL, USER, PRINTER, DISPLAY}
setenv [var val]                     Set var to val                     {HOME,
PATH, SHELL, USER, PRINTER, DISPLAY}
CTRL + ARROW                         Switch workspace
xsetroot -solid blue                 Set background
xinit                                Initialize X-Server (use strtx to start X-
Server)
rup [hostname]                       Status of host
boot sd(0,6,2)                       Boot from CD-ROM (check with probe-scsi
first)
halt / fasthalt                      Shut down (root only)
boot                                 Reboot the system
halt                                 Halt the system
fastboot                             Reboot the system without checking the
disks
fasthalt                             Halt the system without checking the disks
su                                   Become super user (or any other user)
starting NFS                         /usr/lib/nfs start all apps there
perl -p -i.old -e 's/oldstring/newstrin/g' *.txt     Search and replace of a
string in
                                     multiple files
clear                                Clear screen
nslookup                             Resolve domain names (server [dnsserver]
(specify damain e.g: ElfQrin.com)
adduser                   procedure for adding new users
arch                      display the architecture of the current host
at, batch                 execute a command or script at a specified time
atq                       display the queue of jobs to be run at specified
times
atrm                      remove jobs spooled by at or batch
automount                 automatically mount NFS file systems
awk                       pattern scanning and processing language
banner                    display a string in large letters
bar                       create tape archives, and add or extract files
basename, dirname         display portions of pathnames and filenames
biff                      give notice of incoming mail messages
cal                       display a calendar
calendar                  a simple reminder service
cb                        a simple C program beautifier
click                     enable or disable the keyboard's keystroke click
clock                     display the time in an icon or window
cmdtool                   run a shell (or program) using the SunView text
facility
cmp                       perform a byte-by-byte comparison of two files
colrm                     remove characters from specified columns within each
line
config                    build system configuration files
cpio                      copy file archives in and out
crontab                   install, edit, remove or list a user's crontab file
ctrace                    generate a C program execution trace
date                      display or set the date
dc                        desk calculator
devinfo                   print out system device information
dkinfo                    report information about a disk's geometry and
partitioning
dname                     print RFS domain and network names
domainname                set or display name of the current NIS domain
dos                       SunView window for IBM PC/AT applications
du                        display the number of disk blocks used per directory
or file
dump, rdump               incremental file system dump
dumpfs                    dump file system information
edquota                   edit user quotas
eeprom                    EEPROM display and load utility
enablenumlock, disablenumlock         enable or disable the numlock key
env                       obtain or alter environment variables for command
execution
eqn, neqn, checkeq        typeset mathematics
error                     categorize compiler error messages, insert at
responsible source file lines
expand, unexpand          expand TAB characters to SPACE characters, and vice
versa
exportfs                  export and unexport directories to NFS clients
exports, xtab             directories to export to NFS clients
expr                      evaluate arguments as a logical, arithmetic, or
string expression
extract_patch             extract and execute patch files from installation
tapes
extract_unbundled         extract and execute unbundled-product installation
scripts
factor, primes            factor a number, generate large primes
file                      determine the type of a file by examining its
contents
fmt, fmt_mail             simple text and mail-message formatters
fold                      fold long lines for display on an output device of a
given width
fonftlip                  create Sun386i-style vfont file
fontedit                  a vfont screen-font editor
format                    disk partitioning and maintenance utility
fortune                   print a random, hopefully interesting, adage
from                      display the sender and date of newly-arrived mail
messages
fstab, mtab               static filesystem mounting table, mounted filesystems
table
f77                       running Fortran on Suns
gfxtool                   run graphics programs in a SunView window
groups                    display a user's group memberships
gterm                     virtual graphics terminal for the SunView environment
gxtest                    stand alone test for the Sun video graphics board
head                      display first few lines of specified files
hostid                    print the numeric identifier of the current host
hostname                  set or print name of current host system
hosts                     host name data base
hosts.equiv, .rhosts          trusted remote hosts and users
iconedit                  create and edit images for SunView icons, cursors and
panel items
id                        print the user name and ID, and group name and ID
imtool                    image display server for the SunView environment
indent                    indent and format a C program source file
iostat                    report I/O statistics
join                      relational database operator
lastcomm                  show the last commands executed, in reverse order
ld, ld.so                  link editor, dynamic link editor
ldd                        list dynamic dependencies
leave                      remind you when you have to leave
lex                        lexical analysis program generator
logname                    get the name by which you logged in
look                       find words in the system dictionary or lines in a
sorted list
mach                       display the processor type of the current host
mail, Mail                 read or send mail messages
mailtool                   SunView interface for the mail program
mkfs                       construct a file system
mkproto                    construct a prototype file system
mount, umount              mount and unmount file systems
mt                         magnetic tape control
nawk                       pattern scanning and processing language
newaliases                 rebuild the data base for the mail aliases file
newfs                      create a new file system
nice                       run a command at low priority
nl                         line numbering filter
nroff                      format documents for display or line-printer
od                         octal, decimal, hexadecimal, and ascii dump
pagesize                   display the size of a page of memory
paste                      join corresponding lines of several files, or
subsequent lines of one file
perfmeter                  display system performance values in a meter or strip
chart
ping                       send ICMP ECHO_REQUEST packets to network hosts
pr                         prepare file     for printing, perhaps in multiple
columns
printenv                   display environment variables currently set
pstat                      print system facts
quota                      display a user's disk quota and usage
rc, rc.boot, rc.local          command scripts for auto-reboot and daemons
rcp                        remote file copy
rdate                      set system date from a remote host
rdist                      remote file distribution program
reboot                     restart the operating system
renice                     alter nice value of running processes
repquota                   summarize quotas for a file system
restore, rrestore          incremental file system restore
rev                        reverse the order of characters in each line
rsh                        remote shell
ruptime                    show host status of local machines
script                     make typescript of a terminal session
sdiff                      contrast two text files by displaying them side-by-
side
sed                        stream editor
sh                         shell, the standard UNIX system command interpreter
and command-level language
shelltool                  run a shell (or other program) in a SunView terminal
window
showmount                  show all remote mounts
shutdown                   close down the system at a given time
sleep                      suspend execution for a specified interval
sort                       sort and collate lines
spell, hashmake, spellin, hashcheck         report spelling errors
spline                     interpolate smooth curve
strings                    find printable strings in an object file or binary
strip                      remove symbols and relocation bits from an object
file
sundiag                    system diagnostics
suninstall                 install and upgrade the SunOS operating system
sunview                    the SunView window environment
swapon                     specify additional device for paging and swapping
symorder                   rearrange a list of symbols
sync                       update the super block; force changed blocks to the
disk
tabs                       set tab stops on a terminal
tail                       display the last part of a file
tbl                        format tables for nroff or troff
tcopy                      copy a magnetic tape
tee                        replicate the standard output
tektool                    SunView Tektronix 4014 terminal-emulator window
test                       return true or false according to a conditional
expression
textedit                   SunView window- and mouse-based text editor
time                       time a command
toolplaces                display current SunView window locations, sizes, and
other attributes
tput                      initialize a terminal or query the terminfo database
tr                        translate characters
trace                     trace system calls and signals
traffic                   SunView program to display Ethernet traffic
troff                     typeset or format documents
tset, reset               establish or restore terminal characteristics
tsort                     topological sort
tty                       display the name of the terminal
tunefs                    tune up an existing file system
uniq                      remove or report adjacent duplicate lines
units                     conversion program
unmount, umount           remove a file system
uptime                    show how long the system has been up
users                     display a compact list of users logged in
vacation                  reply to mail automatically
vi, view, vedit           visual display editor based on ex
vipw                      edit the password file
vmstat                    report virtual memory statistics
wall                      write to all users logged in
wc                        display a count of lines, words and characters
whatis                    display a one-line summary about a keyword
whereis                   locate the binary, source, and manual page files for
a command
which                     locate a command; display its pathname or alias
yes                       be repetitively affirmative


CSH:
----
csh is a shell (command interpreter) with a C-like syntax and advanced
interactive features
csh, %, @, alias, bg, break, breaksw, case, continue, default, dirs, else, end,
endif, endsw, eval,
exec, exit, fg, foreach, glob, goto, hashstat, history, if, jobs, label, limit,
logout, notify,
onintr, popd, pushd, rehash, repeat, set, setenv, shift, source, stop, suspend,
switch, then,
umask, unalias, unhash, unlimit, unset, unsetenv, while


Important directories and files:
--------------------------------
~/.fvmrc                              Window mangager configuration (FVWM)
~/.dtwmrc                             Window mangager configuration (DTWM)
~/.dt/*                               (errorlog, startlog, icons, types (setting
of launch pad), other DTWM
                                      resources)
~/.tcshrc                             TC-Shell settings
~/.cshrc                              C-Shell settings
~/.login                              Login script (for desktop login only,
executed once)
~/.rhosts                             Remote hosts file
~/.httpusers                          Alowed users for secret pages
~/.pap-secrets                        PAP secrets for slirp
~/.slirprc ~/.ppprc                   Slirp and ppp config files
~/public_html                         Home Page directory
/usr/bin                              Applications
/usr/local/bin                        More applications
/opt/gnu/bin                          Gnu stuff like g++, gcc, gzip and more
/usr/sbin                             System tools
/usr/share/man                        Manual files
/dev                                  Devices like ttya (serial port), audio and
disk drives
/vol                                  Automounted volumes
/etc                                  (rc2 (things to do at startup), rc2.d
(startup e.g. S72inetsvc (routing)
                                      passwd, shadow (passwords), resolve.conf
(DNS IP addresses), hosts,
                                      ftpusers (users who can't access ftp),
shells (users and their shell
                                      important for ftp), services (port numer
and its service), nsswitch.conf (in
                                      colum hosts we have to write dns to use dns
resolving), ppp/ (pap-secrets and
                                      other ppp settings), nodename, hostname.
[interfacename] (hostname associated
                                      with this interface e.g. le0), fstab
(mounting table), ssh_* (ssh stuff)   )
/usr/var/log                          Home Page Log on SUN
/usr/local/WWW/logs                   Home Page Log on OSF1
/var/adm                              messages (Messages from applications and
startup process (for debugging
                                      purposes), sulog)
/var/spool/mail                       Mail (on SUN: /var/mail)
/usr/local/WWW                        WWW-directory (e.g. settings and CGI)
/usr/local/etc/httpd                  WWW-directory on gummibaum
/usr/dt/config/C/*                    Default desktop settings (Xresources
(Configuration file for the Login
                                    Manager), sys.dtwmrc (default
windowmangager configuration), and others)
/soft/public/X11/lib/fvwm/system.fvwmrc        System fvwmrc file
/etc/issue.net                       Welcome message (before login in)


VI:
---
<ESC>                                 Command mode
i                                     Insert
I                                     Insert at beginning of a line
a                                     Insert after
A                                     Insert at the end of the line
o                                     Insert a line below
O                                     Insert a line above
J                                     Connect this and the next line
r                                     Change char
R                                     Overwrite
x                                     Delete char
dd                                    Delete line
D                                     Delete rest of line
h / l                                 Move left / right
j / k                                 Move down / up
w,b,e                                 Move cursor one word
H                                     Home
L                                     End
M                                     Middle
G                                     Go to bottom
p                                     Undo
ctrl + f                              Page down
ctrl + b                              Page up
:/[string]                            Search for string
:?[string]                            Search backwards
:[n]                                  Goto line n
:w                                    Save
:q                                    Exit
:x                                    Save & exit


Navigation inside more, man...
------------------------------

SPACE                                 Moves one page down
B                                     Moves one page up
ENTER                                 Moves one line down
Q                                     Quit


X-Windows Progs:
----------------
xterm / dtterm                        Terminal
xmailtool / mailtool                  Mail
emacs / textedit                      Word processor
xcalc                                 Calculator
xv                                    Graphic viewer and converter
xlock                                 Lock up
xset                                  X-Win settings


Alias:
-------
alias ls       ls -l                  List in long format
alias rm         rm -rf              Remove files and directories without
prompting user
alias cp         cp -r               Copy files and directories
alias df         df -bk              Display free space and used space in bytes
alias ps     ps -aef | grep $USER    List all jobs of user
alias txt2ps     nenscript -p-       Translate text to PostScript (stdout)
alias psp1 /~/Script/psprint1        Print text on dali
alias psp2 /~/Script/psprint2        Print text on ps2


Shell:
------
starts with: #!/bin/sh, contains command lines, must have x-permission, start
with ./Scriptname, *=any string (except .), ?=any char, [a-d]=any char from a
to d (lower case), be carefull with special chars &=\&, to execute
at a specific time use: at hh:mm +[minutes] minutes < Scriptname, to divert to
nirvana stout: >&- or stin: <&-


AltaVista:
----------
Standard: <+>="AND" <space>="OR"
Advanced: AND OR NEAR URL ()        *    (e.g: apple* AND ((quicktime OR video)
NEAR 3.0) )


Netscape:
---------
about:image-cache
about:memory-cache
about:cache
protocol://name:password@domain/path/filename.extension#anchor?parameter¶meter

								
To top