code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/occ.h
C
gpl2
2,823
/* * OpenVPN -- An application to securely tunnel IP networks * over a single UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010 Ope...
zx08uestc-openvpn
main/openvpn/src/openvpn/lzo.c
C
gpl2
6,628
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/crypto.h
C
gpl2
13,984
#ifndef _CRYPTOAPI_H_ #define _CRYPTOAPI_H_ int SSL_CTX_use_CryptoAPI_certificate(SSL_CTX *ssl_ctx, const char *cert_prop); #endif /* !_CRYPTOAPI_H_ */
zx08uestc-openvpn
main/openvpn/src/openvpn/cryptoapi.h
C
gpl2
155
/* * OpenVPN -- An application to securely tunnel IP networks * over a single UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2012 Ope...
zx08uestc-openvpn
main/openvpn/src/openvpn/comp-lz4.h
C
gpl2
1,354
/* * Copyright (c) 2004 Peter 'Luna' Runestig <peter@runestig.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modifi- * cation, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright ...
zx08uestc-openvpn
main/openvpn/src/openvpn/cryptoapi.c
C
gpl2
15,493
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/status.c
C
gpl2
6,822
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/errlevel.h
C
gpl2
11,874
/* * OpenVPN -- An application to securely tunnel IP networks * over a single UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010 Ope...
zx08uestc-openvpn
main/openvpn/src/openvpn/win32.c
C
gpl2
24,396
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/status.h
C
gpl2
2,739
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/proto.h
C
gpl2
6,228
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/src/openvpn/platform.c
C
gpl2
7,043
@echo off rem Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com> @rem this stupid command needed for SetEnv.cmd to operate setlocal ENABLEDELAYEDEXPANSION cd /d %0\.. call msvc-env.bat set PLATFORMS=Win32 set CONFIGURATIONS=Release if exist "%VCHOME%\vcvarsall.bat" ( call "%VCHOME%\vcvarsall.bat" ) else ...
zx08uestc-openvpn
main/openvpn/msvc-build.bat
Batchfile
gpl2
971
@echo off setlocal cd /d %0\.. call msvc-env.bat if exist "%VSHOME%\Common7\IDE\VCExpress.exe" ( set IDE=%VSHOME%\Common7\IDE\VCExpress.exe ) else if exist "%VSHOME%\Common7\IDE\devenv.exe" ( set IDE=%VSHOME%\Common7\IDE\devenv.exe ) else ( echo "Cannot detect visual studio environment" goto error ) start "" "%ID...
zx08uestc-openvpn
main/openvpn/msvc-dev.bat
Batchfile
gpl2
400
.\" OpenVPN -- An application to securely tunnel IP networks .\" over a single TCP/UDP port, with support for SSL/TLS-based .\" session authentication and key exchange, .\" packet encryption, packet authentication, and .\" packet compression. .\" .\" Copyright (C) 2002-...
zx08uestc-openvpn
main/openvpn/doc/openvpn.8
Roff Manpage
gpl2
208,518
# # OpenVPN -- An application to securely tunnel IP networks # over a single UDP port, with support for SSL/TLS-based # session authentication and key exchange, # packet encryption, packet authentication, and # packet compression. # # Copyright (C) 2002-2010 OpenVPN Tec...
zx08uestc-openvpn
main/openvpn/doc/Makefile.am
Makefile
gpl2
779
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_tunnel_state.h
C
gpl2
7,498
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_key_generation.h
C
gpl2
7,047
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_memory_management.h
C
gpl2
4,664
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_eventloop.h
C
gpl2
3,076
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_data_control.h
C
gpl2
4,560
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_external_multiplexer.h
C
gpl2
1,922
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_protocol_overview.h
C
gpl2
9,204
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_control_tls.h
C
gpl2
4,767
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_fragmentation.h
C
gpl2
4,658
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_data_crypto.h
C
gpl2
3,363
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_control_processor.h
C
gpl2
9,428
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_internal_multiplexer.h
C
gpl2
1,838
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_reliable.h
C
gpl2
1,975
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_compression.h
C
gpl2
4,169
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2010 Fox ...
zx08uestc-openvpn
main/openvpn/doc/doxygen/doc_mainpage.h
C
gpl2
8,101
#define CONFIGURE_GIT_REVISION "icsopenvpn_621-b603913ee5d54ab8" #define CONFIGURE_GIT_FLAGS ""
zx08uestc-openvpn
main/openvpn/config-version.h
C
gpl2
96
# # OpenVPN -- An application to securely tunnel IP networks # over a single UDP port, with support for SSL/TLS-based # session authentication and key exchange, # packet encryption, packet authentication, and # packet compression. # # Copyright (C) 2002-2010 OpenVPN Tec...
zx08uestc-openvpn
main/openvpn/Makefile.am
Makefile
gpl2
3,398
dnl define the OpenVPN version define([PRODUCT_NAME], [OpenVPN]) define([PRODUCT_TARNAME], [openvpn]) define([PRODUCT_VERSION], [2.3_git]) define([PRODUCT_BUGREPORT], [openvpn-users@lists.sourceforge.net]) define([PRODUCT_VERSION_RESOURCE], [2,3,0,0]) dnl define the TAP version define([PRODUCT_TAP_WIN_COMPONENT_ID], [t...
zx08uestc-openvpn
main/openvpn/version.m4
M4
gpl2
411
# # OpenVPN -- An application to securely tunnel IP networks # over a single UDP port, with support for SSL/TLS-based # session authentication and key exchange, # packet encryption, packet authentication, and # packet compression. # # Copyright (C) 2002-2010 OpenVPN Tec...
zx08uestc-openvpn
main/openvpn/distro/Makefile.am
Makefile
gpl2
486
#!/bin/sh # # openvpn This shell script takes care of starting and stopping # openvpn on RedHat or other chkconfig-based system. # # chkconfig: 345 24 76 # # description: OpenVPN is a robust and highly flexible tunneling application \ # that uses all of the encryption, authentication, a...
zx08uestc-openvpn
main/openvpn/distro/rpm/openvpn.init.d.rhel
Shell
gpl2
5,483
# # OpenVPN -- An application to securely tunnel IP networks # over a single UDP port, with support for SSL/TLS-based # session authentication and key exchange, # packet encryption, packet authentication, and # packet compression. # # Copyright (C) 2002-2010 OpenVPN Tec...
zx08uestc-openvpn
main/openvpn/distro/rpm/Makefile.am
Makefile
gpl2
553
#!/bin/sh ### BEGIN INIT INFO # Provides: openvpn # Required-Start: $network # Required-Stop: $network # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: This shell script takes care of starting and stopping OpenVP...
zx08uestc-openvpn
main/openvpn/distro/rpm/openvpn.init.d.suse
Shell
gpl2
7,037
#!/usr/bin/perl -t # OpenVPN PAM AUTHENTICATON # This script can be used to add PAM-based authentication # to OpenVPN 2.0. The OpenVPN client must provide # a username/password, using the --auth-user-pass directive. # The OpenVPN server should specify --auth-user-pass-verify # with this script as the argume...
zx08uestc-openvpn
main/openvpn/sample/sample-scripts/auth-pam.pl
Perl
gpl2
2,408
#!/bin/sh ################################# # Set up Ethernet bridge on Linux # Requires: bridge-utils ################################# # Define Bridge Interface br="br0" # Define list of TAP interfaces to be bridged, # for example tap="tap0 tap1 tap2". tap="tap0" # Define physical ethernet interface to be bridged...
zx08uestc-openvpn
main/openvpn/sample/sample-scripts/bridge-start
Shell
gpl2
741
#!/usr/bin/perl -t # OpenVPN --auth-user-pass-verify script. # Only authenticate if username equals common_name. # In OpenVPN config file: # auth-user-pass-verify ./ucn.pl via-env $username = $ENV{'username'}; $common_name = $ENV{'common_name'}; exit !(length($username) > 0 && length($common_name) > 0 && $username...
zx08uestc-openvpn
main/openvpn/sample/sample-scripts/ucn.pl
Perl
gpl2
339
#!/usr/bin/perl # verify-cn -- a sample OpenVPN tls-verify script # # Return 0 if cn matches the common name component of # subject, 1 otherwise. # # For example in OpenVPN, you could use the directive: # # tls-verify "./verify-cn /etc/openvpn/allowed_clients" # # This would cause the connection to be dropped unless...
zx08uestc-openvpn
main/openvpn/sample/sample-scripts/verify-cn
Perl
gpl2
2,183
#!/bin/sh #################################### # Tear Down Ethernet bridge on Linux #################################### # Define Bridge Interface br="br0" # Define list of TAP interfaces to be bridged together tap="tap0" ifconfig $br down brctl delbr $br for t in $tap; do openvpn --rmtun --dev $t done
zx08uestc-openvpn
main/openvpn/sample/sample-scripts/bridge-stop
Shell
gpl2
313
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/defer/simple.c
C
gpl2
8,884
#!/bin/sh # # Build an OpenVPN plugin module on *nix. The argument should # be the base name of the C source file (without the .c). # # This directory is where we will look for openvpn-plugin.h CPPFLAGS="${CPPFLAGS:--I../../../include}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/defer/build
Shell
gpl2
405
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/simple/simple.c
C
gpl2
3,457
#!/bin/sh # # Build an OpenVPN plugin module on *nix. The argument should # be the base name of the C source file (without the .c). # # This directory is where we will look for openvpn-plugin.h CPPFLAGS="${CPPFLAGS:--I../../..}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -c $1.c &...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/simple/build
Shell
gpl2
395
#!/bin/sh # # Build an OpenVPN plugin module on *nix. The argument should # be the base name of the C source file (without the .c). # # This directory is where we will look for openvpn-plugin.h CPPFLAGS="${CPPFLAGS:--I../../../include}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/log/build
Shell
gpl2
403
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/log/log.c
C
gpl2
5,325
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2009...
zx08uestc-openvpn
main/openvpn/sample/sample-plugins/log/log_v3.c
C
gpl2
7,443
#!/bin/sh # A Sample OpenVPN-aware firewall. # eth0 is connected to the internet. # eth1 is connected to a private subnet. # Change this subnet to correspond to your private # ethernet subnet. Home will use HOME_NET/24 and # Office will use OFFICE_NET/24. PRIVATE=10.0.0.0/24 # Loopback address LOOP=127.0.0.1 # De...
zx08uestc-openvpn
main/openvpn/sample/sample-config-files/firewall.sh
Shell
gpl2
3,562
#!/bin/sh # stop all openvpn processes killall -TERM openvpn
zx08uestc-openvpn
main/openvpn/sample/sample-config-files/openvpn-shutdown.sh
Shell
gpl2
63
#!/bin/sh route add -net 10.0.0.0 netmask 255.255.255.0 gw $5
zx08uestc-openvpn
main/openvpn/sample/sample-config-files/home.up
Shell
gpl2
62
#!/bin/sh # A sample OpenVPN startup script # for Linux. # openvpn config file directory dir=/etc/openvpn # load the firewall $dir/firewall.sh # load TUN/TAP kernel module modprobe tun # enable IP forwarding echo 1 > /proc/sys/net/ipv4/ip_forward # Invoke openvpn for each VPN tunnel # in daemon mode. Alternative...
zx08uestc-openvpn
main/openvpn/sample/sample-config-files/openvpn-startup.sh
Shell
gpl2
776
#!/bin/sh route add -net 10.0.1.0 netmask 255.255.255.0 gw $5
zx08uestc-openvpn
main/openvpn/sample/sample-config-files/office.up
Shell
gpl2
62
# # OpenVPN -- An application to securely tunnel IP networks # over a single UDP port, with support for SSL/TLS-based # session authentication and key exchange, # packet encryption, packet authentication, and # packet compression. # # Copyright (C) 2002-2010 OpenVPN Tec...
zx08uestc-openvpn
main/openvpn/sample/Makefile.am
Makefile
gpl2
918
# # OpenVPN -- An application to securely tunnel IP networks # over a single UDP port, with support for SSL/TLS-based # session authentication and key exchange, # packet encryption, packet authentication, and # packet compression. # # Copyright (C) 2002-2010 OpenVPN Tec...
zx08uestc-openvpn
main/openvpn/include/Makefile.am
Makefile
gpl2
507
/* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based * session authentication and key exchange, * packet encryption, packet authentication, and * packet compression. * * Copyright (C) 2002-2010...
zx08uestc-openvpn
main/openvpn/include/openvpn-plugin.h
C
gpl2
28,017
LOCAL_PATH:= $(call my-dir)/ include $(CLEAR_VARS) LOCAL_LDLIBS := -lz LOCAL_C_INCLUDES := openssl/include lzo/include openssl/crypto openssl openvpn/src/compat openvpn/src/openvpn openvpn/include google-breakpad/src google-breakpad/src/common/android/include polarssl/include snappy LOCAL_CFLAGS= -DHAVE_CONFIG_H...
zx08uestc-openvpn
main/openvpn/Android.mk
Makefile
gpl2
2,913
#include <config-msvc-version.h> #define CONFIGURE_DEFINES "N/A" #define ENABLE_DEF_AUTH 1 #define ENABLE_PF 1 #define ENABLE_CLIENT_SERVER 1 #define ENABLE_CRYPTO 1 #define ENABLE_CRYPTO_OPENSSL 1 #define ENABLE_DEBUG 1 #define ENABLE_EUREPHIA 1 #define ENABLE_FRAGMENT 1 #define ENABLE_HTTP_PROXY 1 #define ENABLE_LZ...
zx08uestc-openvpn
main/openvpn/config-msvc.h
C
gpl2
2,698
package de.blinkt.vpndialogxposed; import android.Manifest; import android.app.ListActivity; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.ServiceInfo; import android.os.Bundle; import ...
zx08uestc-openvpn
vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java
Java
gpl2
4,925
package de.blinkt.vpndialogxposed; import android.app.Activity; import android.content.Context; import android.os.IBinder; import android.widget.Toast; import de.robv.android.xposed.IXposedHookLoadPackage; import de.robv.android.xposed.XC_MethodHook; import de.robv.android.xposed.XposedBridge; import de.robv.android.x...
zx08uestc-openvpn
vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/VpnDialogPatcher.java
Java
gpl2
3,823
package ckeditor; import java.io.*; import java.text.SimpleDateFormat; import java.util.*; import javax.servlet.ServletException; import javax.servlet.http.*; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.FileItemFactory; import org.apache.commons.fileupload.disk.DiskFileIt...
zxl-test
web-test/src/ckeditor/CKEditorUploadServlet.java
Java
asf20
7,777
package com.zxl.util; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; /** * 连接SQLServer数据库工具类 * @author zxl ...
zxl-test
web-test/src/com/zxl/util/DBconnection.java
Java
asf20
1,950
package com.zxl.util; import java.util.Properties; import javax.mail.FetchProfile; import javax.mail.Folder; import javax.mail.Message; import javax.mail.Session; import javax.mail.Store; import javax.mail.internet.InternetAddress; public class Receive { public Receive() { } public static void m...
zxl-test
web-test/src/com/zxl/util/Receive.java
Java
asf20
1,702
package com.zxl.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.net.ftp.FTPReply; public class downFile { public static...
zxl-test
web-test/src/com/zxl/util/downFile.java
Java
asf20
2,747
package com.zxl.util; import java.util.ArrayList; import java.util.Date; import org.quartz.JobDetail; import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.quartz.SchedulerFactory; import org.quartz.Trigger; import org.quartz.TriggerUtils; import org.quartz.impl.StdSchedulerFactory;...
zxl-test
web-test/src/com/zxl/util/TimerTest.java
Java
asf20
1,478
package com.zxl.util; import javax.mail.*; import javax.mail.internet.*; import java.util.*; import java.io.*; /* Title: 使用JavaMail接收邮件 Description: 实例JavaMail包接收邮件,本实例没有实现接收邮件的附件。 Copyright: Copyright (c) 2003 */ public class ReceiveEmail { /* * 方法说明:主方法,接收用户输入的邮箱服务器、用户名和密码 输入参数: 返回类型: */ p...
zxl-test
web-test/src/com/zxl/util/ReceiveEmail.java
Java
asf20
3,972
package com.zxl.util; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; public class urltest { public static void main(String[] args) { try { URL url = new URL("http://www.bd-wd.com//home/163.html"); URLConnection conn = url.openConnection(); String str = ...
zxl-test
web-test/src/com/zxl/util/urltest.java
Java
asf20
1,104
package com.zxl.util; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat; import net.sourceforge.pinyin4j.format.HanyuPinyinToneType; import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType; ...
zxl-test
web-test/src/com/zxl/util/ChineseToEnglish.java
Java
asf20
2,813
package com.zxl.util; import java.util.ArrayList; import java.util.Date; import org.quartz.Job; import org.quartz.JobDataMap; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; public class TestJob implements Job { public void execute(JobExecutionContext context) throws ...
zxl-test
web-test/src/com/zxl/util/TestJob.java
Java
asf20
796
package com.zxl.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPClientConfig; import org.apache.commons.net.ftp.FTPReply; public class downloadFi...
zxl-test
web-test/src/com/zxl/util/downloadFile.java
Java
asf20
2,763
package com.zxl.util; import java.util.UUID; public class CreateUUID { /** * @param args */ public static void main(String[] args) { UUID uuid = UUID.randomUUID(); String temp = ""; long st = System.currentTimeMillis(); for(int i = 0; i < 1000000; i++){ // temp = createUUID(); //100W用...
zxl-test
web-test/src/com/zxl/util/CreateUUID.java
Java
asf20
673
package com.zxl.util; import java.util.Properties; import javax.activation.DataHandler; import javax.activation.DataSource; import javax.activation.FileDataSource; import javax.mail.BodyPart; import javax.mail.Message; import javax.mail.Multipart; import javax.mail.Session; import javax.mail.Transport; im...
zxl-test
web-test/src/com/zxl/util/SendMail.java
Java
asf20
3,723
package com.zxl.util; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import org.apache.log4j.Logger; public class FlexPaperUtil { private static Logger log = Logger.getLogger(FlexPaperUtil.class); private static final String javacommand = "java -jar"; private stat...
zxl-test
web-test/src/com/zxl/util/FlexPaperUtil.java
Java
asf20
2,649
package com.zxl.servlet; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.Random; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServlet;...
zxl-test
web-test/src/com/zxl/servlet/IdentityServlet.java
Java
asf20
2,605
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ body { /* Font */ font-family: Arial, Verdana, sans-serif; font-size: 12px; /* Text color */ color: #222; /* Remove the background color to make it tran...
zxl-test
web-test/WebRoot/ckeditor/contents.css
CSS
asf20
559
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/INSTALL.html
HTML
asf20
2,859
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html> <head> <title></title> <meta http-equiv="Content-Type" content="...
zxl-test
web-test/WebRoot/ckeditor/plugins/wsc/dialogs/ciframe.html
HTML
asf20
1,120
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html> <head> <title></title> <meta http-equiv="Content-Type...
zxl-test
web-test/WebRoot/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
HTML
asf20
1,935
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שו...
zxl-test
web-test/WebRoot/ckeditor/plugins/placeholder/lang/he.js
JavaScript
asf20
427
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',te...
zxl-test
web-test/WebRoot/ckeditor/plugins/placeholder/lang/en.js
JavaScript
asf20
374
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.d...
zxl-test
web-test/WebRoot/ckeditor/plugins/docprops/plugin.js
JavaScript
asf20
458
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות...
zxl-test
web-test/WebRoot/ckeditor/plugins/uicolor/lang/he.js
JavaScript
asf20
421
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi...
zxl-test
web-test/WebRoot/ckeditor/plugins/uicolor/lang/en.js
JavaScript
asf20
343
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
zxl-test
web-test/WebRoot/ckeditor/plugins/dialog/dialogDefinition.js
JavaScript
asf20
152
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','en',{devTools:{title:'Element Information',dialogName:'Dialog window name',tabName:'Tab name',elementId:'Element ID',elementType:'E...
zxl-test
web-test/WebRoot/ckeditor/plugins/devtools/lang/en.js
JavaScript
asf20
340
<% ' ' Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. ' For licensing, see LICENSE.html or http://ckeditor.com/license ' Shared variable for all instances ("static") dim CKEDITOR_initComplete dim CKEDITOR_returnedEvents '' ' \brief CKEditor class that can be used to create...
zxl-test
web-test/WebRoot/ckeditor/ckeditor.asp
Classic ASP
asf20
30,817
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6...
zxl-test
web-test/WebRoot/ckeditor/config.js
JavaScript
asf20
331
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ // Compressed version of core/ckeditor_base.js. See original for instructions. /*jsl:ignore*/ if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',vers...
zxl-test
web-test/WebRoot/ckeditor/ckeditor_source.js
JavaScript
asf20
1,908
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/_samples/ajax.html
HTML
asf20
3,178
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'myDialog', function( editor ) { return { title : 'My Dialog', minWidth : 400, minHeight : 200, contents : [ { id : 'tab1',...
zxl-test
web-test/WebRoot/ckeditor/_samples/api_dialog/my_dialog.js
JavaScript
asf20
513
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/_samples/autogrow.html
HTML
asf20
4,336
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/_samples/tableresize.html
HTML
asf20
3,771
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/_samples/sharedspaces.html
HTML
asf20
5,063
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/_samples/replacebycode.html
HTML
asf20
3,719
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
zxl-test
web-test/WebRoot/ckeditor/_samples/adobeair/.svn/text-base/run.sh.svn-base
Shell
asf20
248
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> ...
zxl-test
web-test/WebRoot/ckeditor/_samples/adobeair/sample.html
HTML
asf20
1,940
@ECHO OFF :: :: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. :: For licensing, see LICENSE.html or http://ckeditor.com/license :: :: Use this file to quickly run the sample in a Windows environment. :: adl application.xml ../../
zxl-test
web-test/WebRoot/ckeditor/_samples/adobeair/run.bat
Batchfile
asf20
270
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
zxl-test
web-test/WebRoot/ckeditor/_samples/adobeair/run.sh
Shell
asf20
248