text stringlengths 3 1.18M |
|---|
package net.sourceforge.jsocks;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
SOCKS4 Reply/Request message.
*/
public class Socks4Message extends ProxyMessage{
... |
package net.sourceforge.jsocks;
/**
This interface provides for datagram encapsulation for SOCKSv5 protocol.
<p>
SOCKSv5 allows for datagrams to be encapsulated for purposes of integrity
and/or authenticity. How it should be done is aggreed during the
authentication stage, and is authentication dependent. T... |
package net.sourceforge.jsocks;
import java.io.IOException;
import java.io.InputStream;
import java.io.InterruptedIOException;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
/**
Abstract class Proxy, base for classes Socks4Proxy and S... |
package net.sourceforge.jsocks;
import java.net.*;
import java.io.*;
/**
SocksServerSocket allows to accept connections from one particular
host through the SOCKS4 or SOCKS5 proxy.
*/
public class SocksServerSocket extends ServerSocket{
//Data members
protected Proxy proxy;
protected String... |
package net.sourceforge.jsocks;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
Abstract class which describes SOCKS4/5 response/request.
*/
public abstract class ProxyMessage{
/** Host as an IP... |
package net.sourceforge.jsocks.server;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PushbackInputStream;
import java.net.Socket;
import net.sourceforge.jsocks.ProxyMessage;
import net.sourceforge.jsocks.UDPEncapsulation;
/**
An implementation of Serve... |
package net.sourceforge.jsocks.server;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.DatagramPacket;
import java.net.Socket;
import net.sourceforge.jsocks.ProxyMessage;
import net.sourceforge.jsocks.UDPEncapsulation;
/**
Classes implementing this in... |
package net.sourceforge.jsocks;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
Proxy which describes SOCKS4 proxy.
*/
public class Socks4Proxy extends Proxy implements Cloneable{
//Data members
String user;
//Public ... |
package net.sourceforge.jsocks;
import java.net.*;
import java.io.*;
/**
* SocksSocket tryies to look very similar to normal Socket,
* while allowing connections through the SOCKS4 or 5 proxy.
* To use this class you will have to identify proxy you need
* to use, Proxy class allows you to set default pro... |
package net.sourceforge.jsocks;
/**
SOCKS5 none authentication. Dummy class does almost nothing.
*/
public class AuthenticationNone implements Authentication{
public Object[] doSocksAuthentication(int methodId,
java.net.Socket proxySocket)
throws jav... |
package net.sourceforge.jsocks;
import net.sourceforge.jsocks.server.*;
import java.net.*;
import java.io.*;
/**
UDP Relay server, used by ProxyServer to perform udp forwarding.
*/
class UDPRelayServer implements Runnable{
DatagramSocket client_sock;
DatagramSocket remote_sock;
Socket co... |
package net.sourceforge.jsocks;
import java.net.*;
import java.io.*;
/**
Datagram socket to interract through the firewall.<BR>
Can be used same way as the normal DatagramSocket. One should
be carefull though with the datagram sizes used, as additional data
is present in both incomming and outgoing dat... |
package net.sourceforge.jsocks;
/**
The Authentication interface provides for performing method specific
authentication for SOCKS5 connections.
*/
public interface Authentication{
/**
This method is called when SOCKS5 server have selected a particular
authentication method, for whch an implemen... |
package net.sourceforge.jsocks;
/**
Exception thrown by various socks classes to indicate errors
with protocol or unsuccessful server responses.
*/
public class SocksException extends java.io.IOException{
private static final long serialVersionUID = 6141184566248512277L;
/**
Construct a SocksExcep... |
package net.sourceforge.jsocks;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InterruptedIOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.PushbackInputStream;
import java.net.ConnectException;
import java.net.InetAddress;... |
package net.sourceforge.jsocks;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.Socket;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.Hashtable;
/**
SOC... |
/**
* Originally from http://www.cornetdesign.com/files/BeanTestCase.java.txt
*/
package org.connectbot.mock;
import junit.framework.TestCase;
import java.lang.reflect.Field;
public class BeanTestCase extends TestCase {
private static final String TEST_STRING_VAL1 = "Some Value";
private static final String TES... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
package Game;
import java.util.ArrayList;
import java.util.List;
import Implementations.BuildingImpl;
import Implementations.ResourcesImpl;
import Interfaces.IBuilding;
import Interfaces.IResources;
public class GenericBuildings {
private static GenericBuildings instance;
private GenericBuildings()... |
package Game;
import java.util.List;
import java.util.Scanner;
import Implementations.ResourcesImpl;
import Implementations.TroopsImpl;
import Interfaces.IBuilding;
import Interfaces.IResources;
import Interfaces.ITroops;
import Interfaces.IUserController;
import Interfaces.IVillage;
public class Game {... |
package Game;
import java.util.ArrayList;
import java.util.List;
import Implementations.ResourcesImpl;
import Implementations.TroopsImpl;
import Implementations.UserControllerImpl;
import Implementations.UserImpl;
import Implementations.VillageImpl;
import Interfaces.IUser;
import Interfaces.IUserControlle... |
package Interfaces;
public interface IResources {
public int getWood();
public int getClay();
public int getIron();
public int getWheat();
public boolean hasTheRes(IResources resources);
public void addRes(IResources resources, int maxResCapacity,
int maxWheatCapacity);
public boolean removeRes(I... |
package Interfaces;
public interface IBuilding {
public String getName();
public void setName(String name);
public IResources getPrice();
public void setPrice(IResources price);
public String toString();
public int getLevel();
public void setLevel(int level);
public int getId();
public void setId... |
package Interfaces;
public interface ITroops {
public int getPhalanx();
public int getSwordsman();
public String toString();
public void setPhalanx(int phalanx);
public void setSwordsman(int swordsman);
public boolean hasTheTroops(ITroops troops);
public void addTroops(ITroops troops);
}
|
package Interfaces;
import Implementations.BuildingImpl;
public interface IUserController {
public boolean sendTroops(String fromVillageName,String toVillageName, ITroops troops);
public boolean sendRes(String fromVillageName,String toVillageName, IResources resources);
public boolean createVillage(Strin... |
package Interfaces;
import java.util.List;
public interface IVillage {
public List<IBuilding> getBuildings();
public IResources getResources();
public void setResources(IResources resources);
public ITroops getTroops();
public void setTroops(ITroops troops);
public String toString();
public S... |
package Interfaces;
import java.util.List;
public interface IUser {
public String getName();
public void setName(String name);
public List<IVillage> getVillages();
public void setVillages(List<IVillage> villages);
public String toString();
}
|
package Implementations;
import java.util.List;
import Interfaces.IResources;
import Interfaces.ITroops;
import Interfaces.IUser;
import Interfaces.IUserController;
import Interfaces.IVillage;
public class UserControllerImpl implements IUserController {
IUser user;
public UserControllerImpl(IUser... |
package Implementations;
import Interfaces.ITroops;
public class TroopsImpl implements ITroops {
private int phalanx;
private int swordsman;
public TroopsImpl(int phalanx, int swordsman){
this.phalanx=phalanx;
this.swordsman=swordsman;
}
@Override
public int getPhalanx() {
return phalan... |
package Implementations;
import Interfaces.IBuilding;
import Interfaces.IResources;
public class BuildingImpl implements IBuilding {
private int id;
private String name;
private IResources price;
private int level;
public BuildingImpl(int id, String name, IResources price, int level) {
this.id =... |
package Implementations;
import Interfaces.IResources;
public class ResourcesImpl implements IResources {
private int wood=500;
private int clay=500;
private int iron=500;
private int wheat=500;
public ResourcesImpl(int wood, int clay, int iron, int wheat){
this.wood=wood;
this.clay=clay;
... |
package Implementations;
import java.util.List;
import Interfaces.IUser;
import Interfaces.IVillage;
public class UserImpl implements IUser {
private String name;
private List<IVillage> villages;
public UserImpl(String name, List<IVillage> villages) {
this.name = name;
this.villages = villa... |
package Implementations;
import java.util.List;
import Game.GenericBuildings;
import Interfaces.IBuilding;
import Interfaces.IResources;
import Interfaces.ITroops;
import Interfaces.IVillage;
public class VillageImpl implements IVillage {
private String name;
private List<IBuilding> buildings;
priv... |
package JavaInterfaces;
public interface Animal {
public void eat();
public void travel();
}
|
package JavaInterfaces;
public class MammalInt implements Animal {
public void eat() {
System.out.println("Mammal eats");
}
public void travel() {
System.out.println("Mammal travels");
}
public int noOfLegs() {
return 0;
}
public static void main(String args[]) {
MammalInt m = new M... |
package JavaGenerics;
public class Box<T> {
private T t;
public void add(T t) {
this.t = t;
}
public T get() {
return t;
}
public static void main(String[] args) {
Box<Integer> integerBox = new Box<Integer>();
Box<String> stringBox = new Box<String>();
integerBox.add(new Integer(... |
package JavaGenerics;
public class GenericMethodTest {
// generic method printArray
public static <E> void printArray(E[] inputArray) {
// Display array elements
for (E element : inputArray) {
System.out.printf("%s ", element);
}
System.out.println();
}
public static void main(String args... |
package JavaGenerics;
public class MaximumTest {
// determines the largest of three Comparable objects
public static <T extends Comparable<T>> T maximum(T x, T y, T z) {
T max = x; // assume x is initially the largest
if (y.compareTo(max) > 0) {
max = y; // y is the largest so far
}
if (z.compare... |
package JavaInheritance;
public interface Animal {
}
|
package JavaInheritance;
public class Dog extends Mammal {
public static void main(String args[]){
//Animal a = new Animal();
Mammal m = new Mammal();
Dog d = new Dog();
Reptile r = new Reptile();
System.out.println(m instanceof Animal);
System.out.pri... |
package JavaInheritance;
public class Mammal implements Animal {
}
|
package JavaInheritance;
public class Reptile implements Animal {
}
|
package JavaMultithreading;
public class ThreadClassDemo {
public static void main(String[] args) {
System.out.println("Starting thread3...");
Thread thread3 = new GuessANumber(27);
thread3.start();
try {
thread3.join();
} catch (InterruptedException e) {
System.out.println("Thread interru... |
package JavaMultithreading;
public class RunnableDemo implements Runnable {
private Thread t;
private String threadName;
RunnableDemo( String name){
threadName = name;
System.out.println("Creating " + threadName );
}
public void run() {
System.out.println("R... |
package JavaMultithreading;
public class GuessANumber extends Thread {
private int number;
public GuessANumber(int number) {
this.number = number;
}
public void run() {
int counter = 0;
int guess = 0;
do {
guess = (int) (Math.random() * 100 + 1);
System.out.println(this.getName() + ... |
package JavaMultithreading;
public class TestThread {
public static void main(String args[]) {
RunnableDemo R1 = new RunnableDemo( "Thread-1");
R1.start();
RunnableDemo R2 = new RunnableDemo( "Thread-2");
R2.start();
}
}
|
package JavaOverriding;
public class Animal {
public void move(){
System.out.println("Animals can move");
}
public void bark(){
System.out.println("To implement");
}
}
|
package JavaOverriding;
public class TestDog {
public static void main(String args[]) {
Animal a = new Animal(); // Animal reference and object
Animal b = new Dog(); // Animal reference but Dog object
a.move();// runs the method in Animal class
b.move();// Runs the method in Dog class
b.bark... |
package JavaOverriding;
public class Dog extends Animal {
public void move(){
System.out.println("Dogs can walk and run");
}
public void bark(){
super.move();
System.out.println("Dogs can bark");
}
}
|
package JavaPolymorphism;
public class Salary extends Employee {
private double salary; // Annual salary
public Salary(String name, String address, int number, double salary) {
super(name, address, number);
setSalary(salary);
}
public void mailCheck() {
System.out.println("Within mailCheck of ... |
package JavaPolymorphism;
public class VirtualDemo {
public static void main(String [] args)
{
Salary s = new Salary("Mohd Mohtashim", "Ambehta, UP", 3, 3600.00);
Employee e = new Salary("John Adams", "Boston, MA", 2, 2400.00);
System.out.println("Call mailCheck using Salary refere... |
package JavaPolymorphism;
public class Employee {
private String name;
private String address;
private int number;
public Employee(String name, String address, int number) {
System.out.println("Constructing an Employee");
this.name = name;
this.address = address;
this.number = number;
}
... |
package JavaEncapsulation;
public class RunEncap {
public static void main(String args[]) {
EncapTest encap = new EncapTest();
encap.setName("James");
encap.setAge(20);
encap.setIdNum("12343ms");
System.out.print("Name : " + encap.getName() + " Age : "
+ encap.getAge());
}
}
|
package JavaEncapsulation;
public class EncapTest {
private String name;
private String idNum;
private int age;
public int getAge() {
return age;
}
public String getName() {
return name;
}
public String getIdNum() {
return idNum;
}
public void setAge(int newAge) {
age = newA... |
package JavaAbstraction;
public class Salary extends Employee {
private double salary; // Annual salary
public Salary(String name, String address, int number, double salary) {
super(name, address, number);
setSalary(salary);
}
public void mailCheck() {
System.out.println("Within mailCheck of S... |
package JavaAbstraction;
public/* abstract */class Employee {
private String name;
private String address;
private int number;
public Employee(String name, String address, int number) {
System.out.println("Constructing an Employee");
this.name = name;
this.address = address;
this.number = numbe... |
package JavaAbstraction;
public class AbstractDemo {
public static void main(String[] args) {
Salary s = new Salary("Mohd Mohtashim", "Ambehta, UP", 3, 3600.00);
Employee e = new Salary("John Adams", "Boston, MA", 2, 2400.00);
System.out.println("Call mailCheck using Salary reference --");
s.mailCh... |
package JavaSerialization;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
public class SerializeDemo {
public static void main(String [] args)
{
Employee e = new Employee();
e.name = "Reyan Ali";
e.address = "Phokka Kuan, Ambehta ... |
package JavaSerialization;
import java.io.Serializable;
public class Employee implements Serializable {
public String name;
public String address;
public int SSN;
public int number;
public void mailCheck()
{
System.out.println("Mailing a check to " + name
... |
package JavaSerialization;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
public class DeserializeDemo {
public static void main(String[] args) {
Employee e = null;
try {
FileInputStream fileIn = new FileInputStream("src/JavaSerialization/employee.ser... |
public class GeneralStuff {
private static int nr = 0;
public static synchronized int increaseNr(String name) {
System.out.println(name + " I increase the number now!!!");
return nr++;
}
}
|
public class Main extends Thread {
public static void main(String[] args) {
MyThread andy=new MyThread("Andy");
MyThread andreea=new MyThread("Andreea");
System.out.println("START RACE!!!");
andreea.start();
andy.start();
}
}
|
package com.pentalog.zamfir.zamfir.croisiere;
import static org.junit.Assert.*;
import org.junit.Test;
import com.pentalog.zamfir.collection.MyCroisiereMap;
import com.pentalog.zamfir.exceptions.InvalidCroisiereIDException;
import com.pentalog.zamfir.exceptions.InvalidCroisierePriceException;
import com.pen... |
package com.pentalog.zamfir.CacheThread;
import java.util.List;
import com.pentalog.zamfir.collection.MyCroisiereMap;
import com.pentalog.zamfir.dao.CroisiereDAO;
import com.pentalog.zamfir.model.Croisiere;
public class CroisiereCache extends Thread {
private MyCroisiereMap map;
private CroisiereDAO cr... |
package com.pentalog.zamfir.model;
import org.json.JSONObject;
import com.pentalog.zamfir.exceptions.InvalidCroisiereIDException;
import com.pentalog.zamfir.exceptions.InvalidCroisierePriceException;
public class Croisiere implements Comparable<Croisiere> {
private int id;
private String name;
private f... |
package com.pentalog.zamfir.model;
import java.util.Comparator;
public class CroasiereComparator implements Comparator<Croisiere> {
public int compare(Croisiere croisiere1, Croisiere croisiere2) {
return croisiere1.compareTo(croisiere2);
}
}
|
package com.pentalog.zamfir.db;
import java.sql.Connection;
import java.sql.DriverManager;
public abstract class DefaultDBConnection {
protected String url;
protected String dbName;
protected String driver = "com.mysql.jdbc.Driver";
protected String userName;
protected String password;
protected Co... |
package com.pentalog.zamfir.db;
public class DBConnection extends DefaultDBConnection {
private static String url = "jdbc:mysql://localhost:3306/";
private static String dbName = "test";
private static String userName = "root";
private static String password = "stagiu123";
public DBConnection() throws ... |
package com.pentalog.zamfir.service;
import java.sql.Connection;
import java.util.List;
import com.pentalog.zamfir.CacheThread.CroisiereCache;
import com.pentalog.zamfir.collection.MyCroisiereMap;
import com.pentalog.zamfir.dao.CroisiereDAO;
import com.pentalog.zamfir.exceptions.InvalidCroisiereIDException;
... |
package com.pentalog.zamfir.service;
import java.util.List;
import com.pentalog.zamfir.model.Croisiere;
public interface ICroisiereService {
public void create(String name, float price);
public List<Croisiere> read(String name);
public Croisiere read(int ID);
public List<Croisiere> readFromDB(... |
package com.pentalog.zamfir.exceptions;
public class InvalidCroisierePriceException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
}
|
package com.pentalog.zamfir.exceptions;
public class InvalidCroisiereIDException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
}
|
package com.pentalog.zamfir.main;
import java.util.Scanner;
import java.util.TreeSet;
import com.pentalog.zamfir.collection.MyCroisiereMap;
import com.pentalog.zamfir.exceptions.InvalidCroisiereIDException;
import com.pentalog.zamfir.exceptions.InvalidCroisierePriceException;
import com.pentalog.zamfir.model.... |
package com.pentalog.zamfir.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import com.pentalog.zamfir.exceptions.InvalidCroisiereIDException;
import com.pentalog.zamfir.exceptions... |
package com.pentalog.zamfir.collection;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
import com.pentalog.zamfir.exceptions.InvalidCroisiereIDException;
import com.pentalog.zamfir.exceptions.InvalidC... |
package com.pentalog.zamfir.collection;
import java.util.Collection;
import java.util.TreeSet;
public class MyTreeSet<E> extends TreeSet<E> {
private static final long serialVersionUID = 7242707480334195764L;
public MyTreeSet() {
super();
}
public MyTreeSet(Collection<? extends E> c) {
super(... |
package com.zamfir;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Scanner;
import com.mysql.jdbc.PreparedStatement;
/**
* Hello world!
*
*/
public class App {
static String driver ... |
package org.exobel.routerkeygendownloader;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;
import ... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
public class Stage4 {
/*
* Version 1 - Initial dictionary of 55.8 MB ( download... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.UnsupportedEncodingException;
public class AlphabetCodes {
static final byte[] HEX_CHAR_TABLE = {
(byte)'0', (byte)'1', (byte)'2', (byte)'3',
(byte)'4', (byte)'5', (byte)'6', (byte)'7',
(byte)'8', (byte)'9', (byte)'a', (byte)'b',
... |
package org.exobel.routerkeygen.thomsonGenerator;
public class Generator {
public static void main(String[] args) {
Stage1.main(args);
Stage2.main(args);
Stage3.main(args);
Stage4.main(args);
Stage5.main(args);
System.out.println("Thomson Dictionary created. It's a file named 'RouterKeygen.dic'.");
... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
public class Stage3 {
public static void main(String[] args) {
FileInputStream fis;
FileOutputManager files ... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeSet;
public class Stage2 {
public static void main(Str... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import javax.management.RuntimeErrorExc... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
public class FileOutputManager {
Map<String, FileOutput> filesM... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.security.DigestInputStream;
import java.security.MessageDigest;
public class Stage5 {
public static void main(String[] args) {
System.out.println("Stage5");... |
package org.exobel.routerkeygen.thomsonGenerator;
import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.Map;
import java.util.TreeMap;
import java.util.Map.Entry;
public class EntryTable {
Map<Short , Integer > map;
int numBytes;
public EntryTable( int numBytes){
this.map = new... |
package org.exobel.routerkeygen;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.os.Build;
import an... |
/*
* Copyright 2012 Rui Araújo, Luís Fonseca
*
* This file is part of Router Keygen.
*
* Router Keygen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
/*
* Copyright 2012 Rui Araújo, Luís Fonseca
*
* This file is part of Router Keygen.
*
* Router Keygen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
/*
* Copyright 2012 Rui Araújo, Luís Fonseca
*
* This file is part of Router Keygen.
*
* Router Keygen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
/*
* Copyright 2012 Rui Araújo, Luís Fonseca
*
* This file is part of Router Keygen.
*
* Router Keygen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
/*
* Copyright 2012 Rui Araújo, Luís Fonseca
*
* This file is part of Router Keygen.
*
* Router Keygen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.