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
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
FILE *f = fopen("test.txt", "r"); | |
double array[3][10000]; | |
char line[1024]; |
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
set notimeout | |
set ttimeout | |
set timeoutlen=20 |
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
test = function() | |
i = Ntlm:new('Domain\\User', 'Password') | |
i:set_server("Server") | |
i:set_workstation("COMPUTER") | |
i:set_time(1) | |
i:set_client_challenge("\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa") | |
i:set_server_challenge("\x01\x23\x45\x67\x89\xab\xcd\xef") | |
i:set_flags(bit.bor(NTLMSSP_NEGOTIATE_KEY_EXCH, NTLMSSP_NEGOTIATE_56, NTLMSSP_NEGOTIATE_128, NTLMSSP_NEGOTIATE_VERSION, NTLMSSP_TARGET_TYPE_SERVER, NTLMSSP_NEGOTIATE_ALWAYS_SIGN, NTLMSSP_NEGOTIATE_NTLM, NTLMSSP_NEGOTIATE_SEAL, NTLMSSP_NEGOTIATE_SIGN, NTLMSSP_NEGOTIATE_OEM, NTLMSSP_NEGOTIATE_UNICODE)) | |
i:print() | |
end |
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
-- if(bit.band(flags, NTLMSSP_NEGOTIATE_56) ~= 0) then | |
-- return string.sub(RandomSessionKey, 1, 6) + "\xa0" | |
-- else | |
-- return string.sub(RandomSessionKey, 1, 4) + "\xE5\x38\xB0" | |
-- end | |
- |
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
function! ToggleNuMode() | |
if(&rnu == 1) | |
set nu | |
else | |
set rnu | |
endif | |
endfunction | |
nnoremap <leader>b :call ToggleNuMode()<CR> | |
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
if(byte_count == 4) then | |
local pos, value = bin.unpack(endian .. "I", exif_data, pos) | |
print("value = " .. value) | |
else | |
local pos, offset = bin.unpack(endian .. "I", exif_data, pos) | |
print("TODO") | |
os.exit() | |
end |
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
# This file does everything relatd to accounts and switching accounts | |
# Load the default account information | |
source ~/.mutt/accounts/ron-at-skullsecurity.net | |
# Create some macros to switch between accounts | |
macro generic,index,pager 1 ":source ~/.mutt/accounts/ron-at-skullsecurity.net\n" | |
macro generic,index,pager 2 ":source ~/.mutt/accounts/ron.bowes-at-javaop.com\n" | |
macro generic,index,pager 3 ":source ~/.mutt/accounts/ron-at-dash9security.com\n" |
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
set from="ron@ |
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
set from="[email protected]" | |
s |
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
set folder_format = "[$fr |
OlderNewer