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
#!/bin/bash | |
# usage: generate_ca.sh rootca | |
# requires rootca.key | |
# Generates rootca.pem | |
if [ -z "$1" ]; then | |
echo "please specify key filename"; | |
exit 1 | |
fi | |
openssl req -x509 -new -nodes -key $1.key -days 1024 -out $1.pem |
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
bit_to_a_0: | |
bta_0: | |
cmp ch,9 | |
jg bta_1 | |
add ch,'0' | |
jmp bta_fin | |
bta_1: | |
sub ch,10 | |
add ch,'a' | |
bta_fin: |
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
jmp execution | |
boot_string: | |
db 'String Hype',0 ; Null termination Hype | |
;;Requires BX to have the start address of our String , e.g. boot_string | |
print_string: | |
mov ah,0x0e | |
add bx,0x7c00;;//OFfset for getting the true memory adress | |
ps_l: | |
mov al,[bx] | |
cmp al,0 |
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
ssh pi@raspberrypi #sofern der dhcp in eurem netzwerk dies richtig zuordnet müsste es möglich sein sich so einzuloggen | |
ssh pi@ip.adresse #alternativ die ip adresse des pis nutzen, die rc.local sorgt dafür dass diese beim hochfahren angezeigt wird |
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
jmp shutdown | |
infloop: | |
jmp $ | |
shutdown: | |
mov ah,0x53 | |
mov al,0x07 | |
mov bx,0x01 | |
mov cx,0x03 | |
int 0x15 | |
times 510-($-$$) db 0 |
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
mov ah, 0x0e | |
call starline | |
call newline | |
mov al,'H' | |
int 0x10 | |
mov al,'u' | |
int 0x10 | |
call newline | |
mov al,'*' | |
call doit20 |
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
floppya: 1_44=boot.bin, status=inserted | |
boot: a |
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
mov ah, 0x0e | |
call starline | |
call newline | |
mov al,'H' | |
int 0x10 | |
mov al,'u' | |
int 0x10 | |
call newline | |
call starline | |
infloop: |
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
mov ah, 0x0e ; teletype | |
mov al,'*' ; ascii | |
times 20 int 0x10 ; call 20 times interrupt 10 to print 20 * | |
; newline | |
mov al,0x0a ;Linefeed | |
int 0x10 | |
mov al,0x0d ;Cariage return | |
int 0x10 | |
; | |
mov al,'H' |
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
mov ah, 0x0e ; set reg ah to 0x0e to inidcate teletype mode , | |
mov al,'H' ; al needs to be the (ascii)value to print | |
int 0x10 ;required interrupt | |
mov al,'u' | |
int 0x10 | |
mov al,'h' | |
int 0x10 | |
mov al,'u' | |
int 0x10 | |
jmp $;//inf loop current line |