亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? newaccountapplet.java

?? 一個木馬程序源碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* *   File:  NewAccountApplet.java * *   The main applet code that creates a new hushmail account. * *   version 1.02 v1a *   Copyright 1998, 1999 by Hush Communications Corporation, BWI *//* *  Applet parameters: * *  username = < the users HushMail account > *  userinfo = < a list of items of data on the user seperated by & > *  diskspace = < the diskspace to be allocated to the user in bytes > *  loginpage = < URL of HushMail login page > *  sessionID = < a 64 bit hex number represented as a string > *  sessionKey = < a 128 bit hex number represented as a string > *  R0 = < red value for applet color > *  G0 = < green value for applet color > *  B0 = < blue value for applet color > *  R1 = < red value for applet color > *  G1 = < green value for applet color > *  B1 = < blue value for applet color > */package hushcode;import java.awt.*;import java.applet.*;import java.net.*;import java.io.*;import java.util.*;import hushcode.HushSHA1;import hushcode.BlowfishCipher;import hushcode.ElGamalKeys;import hushcode.Conversions;import hushcode.ByteQueue;final public class NewAccountApplet extends Applet{   private static final int KEYSTRENGTH = 1024;   private boolean keysGenerated = false;   private String encPrivateKey;   private String publicKey;   /**    *   Variables concerning obtaining random numbers from mouse movement.    */   //  Coordinates of the top left corner of the main 256X256 square   int mainx;   int mainy;   int mainwidth = 256;   int mainheight = 256;   //  Previous x and y coordinates   int px;     int py;   //  Arrays of x and y defining several squares   int numberOfSquares = 128;   int[] sx = new int[numberOfSquares];   int[] sy = new int[numberOfSquares];   int squares[][] = new int[mainwidth][mainheight];   int sw = 12;   int sh = 12;   //  True until random squares have been generated   private boolean initializing;   /*  To track which squares have been hit    *  numberOfsqares (128) indicates that square has not yet been hit (initialized state)    */   int square0=numberOfSquares;   //current square   int square1=numberOfSquares;   //previous squares   int square2=numberOfSquares;       //  Every ten zone changes get system time.  Track with this variable.   int squareCounter = 0;   // Indicates whether mouse movements still need to be used to queue bits.    private boolean getMouse = true;   private ByteQueue bytes;   private int bitsNeeded = KEYSTRENGTH;   private int nextGraphNotchAt = bitsNeeded/32;   /**    *  Other variables    */   private String serverAddress;   private int serverPort = 21;   private String hushHome = "";   private Random rand;   long randSeed = 0;   private Graphics g;   private Color color;   private TextField usernameField;   private String username;   private String userinfo;   private String diskspace;    private TextField passphraseField;   private TextField passphraseConfirmField;   private Label aLabel;   private Label bLabel;   private Button loginButton;   private Button submitPassphraseButton;   private Button confirmPassphraseButton;   private Button submitUsernameButton;   //  The pseudo stream cipher for communication between applet and server   private BlowfishCipher blowfishPipe;   //  The sessionID.  Used by server to locate sessionKey.   private byte[] sessionIDBytes;   //  An output stream to the socket   private BufferedOutputStream out;   //  An input stream from the socket.   private BufferedInputStream eIn;   /* An input stream from a decrypted String which is used as a buffer    * to store data from eIn after it has been decrypted with blowfishPipe    */   private DataInputStream in;     public void init()   {      username = getParameter("username");      userinfo = getParameter("userinfo").replace('&','\n')+"\n";      diskspace= getParameter("diskspace");      hushHome = getParameter("loginpage");      color = new Color(Integer.parseInt(getParameter("R1")),Integer.parseInt(getParameter("G1")),Integer.parseInt(getParameter("B1")));      serverAddress = getCodeBase().getHost();      bytes = new ByteQueue();      //  Convert the sessionID from a hex string to a byte array      sessionIDBytes = Conversions.hexStringToBytes(getParameter("sessionID"));      /* Convert the sessionKey from a hex string to a byte array and use       * it to instantiate the CBC Blowfish cipher which will encrypt       * communication between applet and server.       */      byte[] sessionKeyBytes = Conversions.hexStringToBytes(getParameter("sessionKey"));      blowfishPipe = new BlowfishCipher();      blowfishPipe.setKey(sessionKeyBytes);      setFont(new Font("Helvetica",Font.PLAIN,12));      setBackground(new Color(Integer.parseInt(getParameter("R0")),Integer.parseInt(getParameter("G0")),Integer.parseInt(getParameter("B0"))));      setForeground(Color.white);      setLayout(new GridBagLayout());      aLabel = new Label("You must now generate some random numbers to create your keys.");      add(this,aLabel,0,0,1,1,0,0,0,0,N,NO,0,0,0,0);      bLabel = new Label("Move the mouse in the box until the graph fills");      add(this,bLabel,0,1,1,1,0,0,0,1,N,NO,0,0,0,0);      add(bLabel);       g = this.getGraphics();         initializing = true;   }   public void paint(Graphics g)   {      paintComponents(g);      /* Draw a rectangle for the user to move the mouse in, and a bar graph       * to track the random bits enqueued.       */      if (getMouse)      {         mainx=bounds().x+(bounds().width-mainwidth)/2;         mainy=bounds().y+aLabel.bounds().height+bLabel.bounds().height+10;              Rectangle r = new Rectangle(mainx,mainy,mainwidth,mainheight);         g.setColor(color);         g.fillRect(r.x,r.y,r.width,r.height);         //  Set up graph based on the length of the desired bit array         for (int x=mainx; x<mainx+mainwidth; x=x+8)         {            Rectangle br = new Rectangle(x+2, mainy+mainheight+10, 4, 20);            g.fillRect(br.x, br.y, br.width, br.height);         }      }      g.setColor(Color.white);   }   public boolean mouseMove(Event e, int x, int y)   {      if (x<mainx || y<mainy || x>=mainx+mainwidth || y>=mainy+mainheight)         return true;      else if (initializing)      {         //  Seed the random number generator         randSeed = randSeed ^ ((long)x<<40)+((long)y<<32)+new Date().getTime();         rand = new Random(randSeed);             //  Randomly generate a number of squares in the main square         boolean goodSquare = true;         for (int n=0; n<numberOfSquares; n++)            for(; ;)            {               goodSquare = true;               sx[n] = Math.abs(rand.nextInt())%(mainwidth-sw);               sy[n] = Math.abs(rand.nextInt())%(mainheight-sh);               for (int nn=0;nn<n;nn++)                  if (!(sx[n]<sx[nn]-sw||sy[n]<sy[nn]-sh||sx[n]>sx[nn]+sw||sy[n]>sy[nn]+sh))                  {                     goodSquare = false;                     break;                  }               if (goodSquare)                   break;            }               //  Clear the squares         squares = new int[mainheight][mainwidth];         for (int n=0; n<numberOfSquares; n++)            for (int xx=sx[n]; xx<sx[n]+sw; xx++)               for (int yy=sy[n]; yy<sy[n]+sh; yy++)                   squares[xx][yy] = n+1;         initializing = false;/*       //  For debugging, show squares.         Rectangle r = new Rectangle(mainx,mainy,mainwidth,mainheight);         g.setColor(color);         g.fillRect(r.x,r.y,r.width,r.height);         g.setColor(Color.white);         for (int n=0; n<numberOfSquares; n++)            g.fillRect(mainx+sx[n],mainy+sy[n],sw,sh);*/      }      else if (getMouse)      {         boolean inSquare = false;           int n = squares[x-mainx][y-mainy]-1;         if (n!=-1)         {		    //System.out.println("Hit square "+n);            square2 = square1;            square1 = square0;            square0 = n;            /*  Exit if square is one of past two hit, or this is one of first              *  three squares hit (initialized state - no history)              */            if (square0==square1 || square0==square2 || square1==numberOfSquares ||                square2==numberOfSquares)  return true;            inSquare = true;         }         if (!inSquare) return true;          //  Get first five bits (5 LSB's of square #)         bytes.enqueueBits(square0,5);         /* Split square in half vertically (and then horizontally)          * and take one bit based on side mouse is on.          */          bytes.enqueueBits( (x-sx[square0] < (sw/2) ) ? 0:1 , 1);         bytes.enqueueBits( (y-sy[square0] < (sh/2) ) ? 0:1 , 1);         /*  Get eighth bit          *  (left or right of square) xor (top or bottom of square) xor (MSB of square #)          */         if ( ((x-sx[square0] < (sw/2)) ^ (y-sy[square0] < (sh/2) ) ^               (square0 < (numberOfSquares / 2))))  bytes.enqueueBits(0,1);         else  bytes.enqueueBits(1,1);         if (squareCounter++ == 8)          {            initializing = true;            squareCounter = 0;         }         if (bytes.bitsEnqueued()-1 >= nextGraphNotchAt)         {            //  Fill another notch in the graph            Rectangle br = new Rectangle(               mainx + ((bytes.bitsEnqueued()-1) / (bitsNeeded/32)-1) * 8 + 2,               mainy + mainheight + 10, 4, 20 );            g.fillRect(br.x, br.y, br.width, br.height);            nextGraphNotchAt = nextGraphNotchAt + bitsNeeded/32;         }         if (bitsNeeded<bytes.bitsEnqueued())          {            getMouse = false;            //  Erase rectangle and graph.            g.setColor(Color.black);            Rectangle ar = this.bounds();                     g.fillRect(ar.x, ar.y, ar.width, ar.height);            repaint();            enterPassphrase("Now please enter a passphrase.");         }        }      return true;   }   /**    *  Handle button clicks and returns.    */   public boolean action(Event e, Object o)   {      if ((e.target==passphraseField || e.target==submitPassphraseButton)        && passphraseField.getText().length()>0)         confirmPassphrase();      else if ((e.target==passphraseConfirmField || e.target==confirmPassphraseButton)         && passphraseConfirmField.getText().length()>0)      {         //  Check if user entered the same passphrase in both fields         if (passphraseField.getText().equals(passphraseConfirmField.getText()))            createAccount();         else enterPassphrase("Your passphrase didn't match.  Try again.");       }      else if ((e.target==usernameField || e.target==submitUsernameButton)        && usernameField.getText().length()>0)      {         //  Check for validity of entered username         username = usernameField.getText().toLowerCase();         if (!checkUsername(username))            enterUsername("You entered a bad username.  Try again.");         else createAccount();      }      else if (e.target==loginButton)      {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一二三| 亚洲成人av福利| 国产宾馆实践打屁股91| 国产欧美一区二区精品秋霞影院 | 91亚洲精品久久久蜜桃网站| 一区在线播放视频| 91福利国产精品| 天天综合色天天| 欧美一级一级性生活免费录像| 久久99这里只有精品| 久久婷婷国产综合国色天香| 成人免费毛片aaaaa**| 亚洲免费在线电影| 在线不卡的av| 国产黄色精品视频| 亚洲gay无套男同| 日韩欧美在线影院| 国产99精品国产| 亚洲精品乱码久久久久久黑人| 欧美日韩综合在线| 国产真实乱对白精彩久久| 欧美激情中文不卡| 欧美日韩国产成人在线91| 国产一区在线看| 一区二区三区欧美激情| 精品免费一区二区三区| 91丨porny丨蝌蚪视频| 日本三级亚洲精品| 国产精品国产三级国产| 制服丝袜亚洲色图| 成人av午夜影院| 午夜日韩在线观看| 国产亚洲婷婷免费| 欧美无乱码久久久免费午夜一区 | 日韩av中文在线观看| 久久综合狠狠综合久久综合88| 97久久超碰国产精品电影| 日韩精品一卡二卡三卡四卡无卡| 国产女人18毛片水真多成人如厕 | 精品国产人成亚洲区| 91蜜桃在线观看| 精品综合久久久久久8888| 亚洲欧美日韩国产一区二区三区| 精品国产乱码久久久久久浪潮| 在线免费不卡视频| 成人在线综合网站| 极品少妇xxxx精品少妇偷拍| 亚洲一区二区精品视频| 国产精品久久久久三级| 精品处破学生在线二十三| 欧美日韩午夜在线| 色悠悠亚洲一区二区| 成人精品国产一区二区4080| 激情av综合网| 日韩国产精品大片| 亚洲另类色综合网站| 欧美国产日产图区| 久久免费美女视频| 日韩亚洲欧美中文三级| 欧美日本一区二区| 欧美三级中文字| 日本高清不卡aⅴ免费网站| 国产91在线观看| 国产精品一区三区| 国产麻豆精品在线观看| 国产在线视视频有精品| 日本美女视频一区二区| 三级精品在线观看| 亚瑟在线精品视频| 亚洲成人精品在线观看| 亚洲国产欧美日韩另类综合 | 国产成人三级在线观看| 精品一区二区三区免费| 久久99精品国产麻豆不卡| 免费观看一级欧美片| 奇米色一区二区| 乱中年女人伦av一区二区| 视频在线在亚洲| 老司机精品视频一区二区三区| 另类小说色综合网站| 国模娜娜一区二区三区| 国产成人免费xxxxxxxx| 床上的激情91.| 94色蜜桃网一区二区三区| 99re视频精品| 欧美三级中文字幕在线观看| 欧美放荡的少妇| 欧美一区国产二区| 精品国产麻豆免费人成网站| 久久精品夜夜夜夜久久| 自拍偷拍国产精品| 亚洲国产裸拍裸体视频在线观看乱了| 午夜影院在线观看欧美| 久久精品国产一区二区三区免费看| 黄色小说综合网站| 福利一区二区在线| 成人福利在线看| 欧美少妇性性性| 精品国产乱码久久久久久图片 | 日日夜夜免费精品| 久久疯狂做爰流白浆xx| 高清不卡一区二区在线| 91极品视觉盛宴| 精品av综合导航| 日韩伦理av电影| 三级影片在线观看欧美日韩一区二区 | 成人蜜臀av电影| 欧美日韩在线播放三区四区| 精品国产乱码久久久久久图片| 国产精品另类一区| 亚洲123区在线观看| 国产精品亚洲午夜一区二区三区| 色婷婷综合久久久久中文| 欧美一级免费大片| 国产精品狼人久久影院观看方式| 亚洲第一福利视频在线| 国产精品一区二区在线观看不卡 | 久久免费视频一区| 中文字幕中文字幕中文字幕亚洲无线| 亚洲一区二区在线免费看| 精品一区二区成人精品| 色中色一区二区| 亚洲精品一区二区三区四区高清| 综合欧美一区二区三区| 美国欧美日韩国产在线播放| 99久久久国产精品| 日韩视频在线永久播放| 亚洲日本乱码在线观看| 韩国中文字幕2020精品| 欧美色综合久久| 中文字幕一区二区三区视频| 美国十次了思思久久精品导航| 色吧成人激情小说| 国产欧美中文在线| 日韩av电影天堂| 91浏览器打开| 国产欧美日韩另类一区| 麻豆国产精品视频| 欧美日韩国产综合一区二区| 中文字幕一区二区三区在线不卡| 狠狠色丁香婷婷综合| 欧美卡1卡2卡| 亚洲黄色小说网站| av电影在线观看一区| 国产视频一区在线观看| 久久成人18免费观看| 91精品国产综合久久精品图片| 亚洲欧美韩国综合色| 丁香一区二区三区| 久久精品夜色噜噜亚洲aⅴ| 蜜臀久久99精品久久久久宅男| 在线精品视频一区二区三四| 一区在线中文字幕| 成人毛片在线观看| 国产日韩成人精品| 国内精品写真在线观看 | 久久亚洲精品国产精品紫薇| 日韩二区三区在线观看| 欧美精品一卡二卡| 欧美精品在线一区二区| 欧美大黄免费观看| 奇米色777欧美一区二区| 欧美高清性hdvideosex| 日韩精品欧美精品| 欧美二区在线观看| 日韩av中文字幕一区二区三区| 欧美日韩在线一区二区| 性做久久久久久久久| 56国语精品自产拍在线观看| 日韩激情一二三区| 日韩免费电影网站| 国产精品一区专区| 亚洲国产岛国毛片在线| 成人av资源站| 亚洲精品网站在线观看| 欧美色图12p| 蜜臀久久99精品久久久久宅男| 日韩三级在线免费观看| 国内精品写真在线观看| 国产精品人成在线观看免费| 99久久国产综合色|国产精品| 亚洲美女在线一区| 欧美电影一区二区| 久久精品国产色蜜蜜麻豆| 国产欧美一区二区精品婷婷| 色呦呦一区二区三区| 午夜私人影院久久久久| 日韩一区二区精品| 国产在线视频不卡二| 国产精品丝袜91| 欧美四级电影网| 精油按摩中文字幕久久| 国产精品国产三级国产有无不卡| 91黄色免费网站| 精品中文字幕一区二区| 国产精品乱码久久久久久 | 欧美网站一区二区| 日韩中文字幕一区二区三区| 久久婷婷综合激情| 色噜噜久久综合|