This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
class Login { | |
public Connection getConnection() throws SQLException { | |
DriverManager.registerDriver(new | |
com.microsoft.sqlserver.jdbc.SQLServerDriver()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct ssl3_record_st | |
{ | |
/*r */ int type; /* type of record */ | |
/*rw*/ unsigned int length; /* How many bytes available */ | |
/*r */ unsigned int off; /* read/write offset into 'buf' */ | |
/*rw*/ unsigned char *data; /* pointer to the record data */ | |
/*rw*/ unsigned char *input; /* where the decode bytes are */ | |
/*r */ unsigned char *comp; /* only used with decompression - malloc()ed */ | |
/*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ | |
/*r */ PQ_64BIT seq_num; /* sequence number, needed by DTLS1 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#----------------------------------------------------------- | |
# Filename : EFIgyLite_cli.py | |
# | |
# Description : Initial EFIgy client that uses the EFIgy | |
# API to check the EFI firmware version | |
# your Mac is running is the expected one. | |
# OS X/macOS 10.10,10.11,10.12 only for now. | |
# | |
# Created By : Rich Smith (@iodboi) |