Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\cti\C3T\fr\c3t\net\DnsUtil.class
Êþº¾ 2? T Ê Ë Ì Í Ë Î Ï Ð g Ñ Ï Ò Ó g Ô Õ Ö × Ø Ù Ê Ú Û Ü Ï Ý Þ ß à á â ã ä å æ ç è é ê ß ë ì í D î ï ð D ñ g ò ó ô ó õ ö ÷ ø ù g ú ß û ü ý þ D ÿ µ 9 Ê g ó = Ê = ó G R !" R"# D$% &' Ö( )* )+ ), )- D. D/ D0 g1234 Ö56 789 :; ó< => g? =@ gA =B gC logger Lorg/apache/log4j/Logger; dnsServers Ljava/util/List; <init> ()V Code LineNumberTable LocalVariableTable this Lfr/c3t/net/DnsUtil; findDnsNt process Ljava/lang/Process; e Ljava/io/IOException; StackMapTable Ó findDns9x file Ljava/io/File; ignore Ljava/lang/InterruptedException; outputFile Ljava/lang/String; ä parseWindowsOutput (Ljava/io/InputStream;)V stringTokenizer Ljava/util/StringTokenizer; tmp line readingServers Z inputStream Ljava/io/InputStream; reader Ljava/io/BufferedReader; å êD findUnix parseUnixConfigurationFile (Ljava/lang/String;)V Ljava/io/FileNotFoundException;E û getDnsServers ()Ljava/util/List; getHosts $(Ljava/lang/String;)Ljava/util/List; nameParser Ljavax/naming/NameParser; Ljavax/naming/NamingException; host nameClassPair Ljavax/naming/NameClassPair; ii Ljavax/naming/NamingEnumeration; environment Ljava/util/Hashtable; dnsUrl context Ljavax/naming/Context; domain Ljavax/naming/Name; domainName hostsFGHI localHost Ljava/net/InetAddress; localHostName position I Ljava/net/UnknownHostException;2 <clinit> list SourceFile DnsUtil.java x yJKL ipconfig /allMNOPQ ? ?R y java/io/IOException t u cannot execute ipconfig ?!STU winipcfg.out java/lang/StringBuilder winipcfg /all /batch VWXYZ[ java/io/File x java/io/FileInputStream x\]^ cannot execute winipcfg ?! java/lang/InterruptedException java/io/BufferedReader java/io/InputStreamReader x ? x_`Y java/util/StringTokenizera^bY :cd DNS Serveef v wFgfhfij_ ,cannot read ip configuration informations ?! /etc/resolv.conf ? java/io/FileNotFoundException cannot find file ?! nameserverkl search cannot parse mno java/util/ArrayList ¤ ¥p^ java/util/Hashtable java.naming.factory.initial "com.sun.jndi.dns.DnsContextFactoryqr dns://st java/lang/String :53/ java.naming.provider.url javax/naming/InitialContext xuGvYwxyz{ javax/naming/NamingException ,cannot create initial dir context for dns : ?! Ç|I}^~ javax/naming/NameClassPair?Y java/lang/Object??Y .?Y cannot list V? domain ?!?U????Y???Yc??[?? ¦ § java/net/UnknownHostException cannot get local host name ?! fr/c3t/net/DnsUtil?? dns.server??? , ???????^ y?^ ? y?^ ? y java/lang/Throwable java/io/InputStream java/util/List javax/naming/Context javax/naming/Name javax/naming/NamingEnumeration java/lang/Runtime getRuntime ()Ljava/lang/Runtime; exec '(Ljava/lang/String;)Ljava/lang/Process; java/lang/Process getInputStream ()Ljava/io/InputStream; destroy org/apache/log4j/Logger error *(Ljava/lang/Object;Ljava/lang/Throwable;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; waitFor ()I (Ljava/io/File;)V delete ()Z (Ljava/io/Reader;)V readLine hasMoreTokens nextToken indexOf (Ljava/lang/String;)I equals (Ljava/lang/Object;)Z contains add fr/c3t/io/StreamUtil close startsWith (Ljava/lang/String;)Z java/util/Collections unmodifiableList "(Ljava/util/List;)Ljava/util/List; isEmpty put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; get (I)Ljava/lang/Object; (Ljava/util/Hashtable;)V getNameInNamespace getNameParser -(Ljava/lang/String;)Ljavax/naming/NameParser; javax/naming/NameParser parse '(Ljava/lang/String;)Ljavax/naming/Name; 5(Ljavax/naming/Name;)Ljavax/naming/NamingEnumeration; hasMore next ()Ljava/lang/Object; getClassName java/lang/Class getName toLowerCase -(Ljava/lang/Object;)Ljava/lang/StringBuilder; debug java/net/InetAddress getLocalHost ()Ljava/net/InetAddress; getHostAddress getByName *(Ljava/lang/String;)Ljava/net/InetAddress; getHostName (I)I length substring (II)Ljava/lang/String; getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; fr/c3t/util/Strings parseList 6(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List; addAll (Ljava/util/Collection;)Z fr/c3t/lang/OsSpecific isWindowsNt isWindows9x isUnix 1 g T t u v w x y z 3 *· ± { \ ] | } ~ y z ? "¸ ¶ K*¶ ¸ *¶ § K² *¶ ± { j k l p n o ! q | ? ? ? ? ? W ? ? y z õ MK¸ » Y· ¶ *¶ ¶ ¶ L+¶ W» Y*· M» Y,· ¸ ,¶ W§ L² +¶ § L± ; >