I hereby claim:
- I am merces on github.
- I am fernandomerces (https://keybase.io/fernandomerces) on keybase.
- I have a public key ASAMxaAwFzZYE6vbomvJKHW0JGQvXgKGSn97xbuRPQB8Pwo
To claim this, I am signing this object:
| /* | |
| devprot - (un)set write protection flag in block devices | |
| Copyright (C) 2012 Fernando Mercês | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
| #!/bin/bash | |
| echo "bemvindo ao minibash | |
| comandos disponiveis: listar sair" | |
| while :; do | |
| read -p '$ ' cmd | |
| case $cmd in | |
| listar) | |
| ls ;; |
| #include <stdio.h> | |
| #include <windows.h> | |
| void NTAPI tls_callback(void* DllHandle, DWORD Reason, void* Reserved) | |
| { | |
| if (Reason == DLL_PROCESS_ATTACH) | |
| { | |
| //MessageBox(0, L"Cheguei primeiro! ^^", L"Exemplo de TLS callback", MB_ICONEXCLAMATION); | |
| HWND hnd; | |
| ShellExecute(hnd, NULL, L"calc.exe", NULL, NULL, SW_SHOWNORMAL); |
| #!/bin/bash | |
| # | |
| # Solução do desafio da Clavis, publicado em | |
| # http://www.seginfo.com.br/challenge-3-blog-seginfo-esteganografia/ | |
| # | |
| # Uso: ./steg-clavis.sh DesafioEsteg.jpg | |
| # | |
| # Fernando Mercês ([email protected]) | |
| # just4fun! :) | |
| void encrypt(char *dest, size_t size) | |
| { | |
| while (size--) | |
| *dest++ ^= 0x69; | |
| } |
| <?php | |
| // Reversing From Scratch - http://menteb.in/rfs | |
| // In this example 3 people gave 4 starts while 15 people gave 5 starts, totalizing 18 votes. | |
| $stars = array(0, 0, 0, 3, 15); | |
| $total = array_sum($stars); | |
| foreach ($stars as $s) | |
| $res += $s / $total * ++$i; |
| #!/bin/bash | |
| clear | |
| while true; do | |
| read -p 'C:\>' cmd | |
| case $cmd in | |
| ver) | |
| echo -e "\nMS-DOS Version 6.22\n\n" ;; |
| #include <stdio.h> | |
| #include <bfd.h> | |
| struct bfd b; | |
| int main(int argc, char* argv[]) { | |
| struct bfd *b; | |
| char *path = argv[1]; |
I hereby claim:
To claim this, I am signing this object: