Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.
cyrill-gremaud.ch
Because it's by sharing that we become better
 
Skip to content
  • how to
  • security
  • hacking
  • networking
  • linux
  • server admin
  • programming
  • android
  • news
  • others
  • events

Category: programming

One Comment

Write multi-line file in shell scripting

  By Cyrill Gremaud 07/07/2015 12/01/2016 how to, linux, programming

Hi everybody. In this post I will just explain how to write multi-line files with bash using cat. I write this post because I am not an expert with Shell scripting and recently, I needed to create ldif files from a shell script. I will explain my old and bad… Continue reading

Tagged   bash, cat, echo, linux, shell
10 Comments

Funniest Linux Kernel comments

  By Cyrill Gremaud 12/03/2015 12/03/2015 linux, programming

Hi guys, in this post I have some of the funniest Linux Kernel comments that the programmers have written in some sources files. Please add yours if you find other :-). Personally I just used “grep” command in the kernel source directory. All “suck” comments All “sucker” comments All “shit”… Continue reading

Tagged   fun, linux, programming
5 Comments

[Python] Get specific ressources of a web page

  By Cyrill Gremaud 03/11/2014 03/11/2014 linux, programming

Hello ! In this post I just will past my little python tool which permits to list all links of a specific webpage and offers the possibility to download specifics ressources based on the file type. Please try it and tell my back your results and observation to help me… Continue reading

Tagged   linux, programming, python
No comments

[HowTo] Generate secure random numbers on Linux

  By Cyrill Gremaud 15/10/2014 16/10/2014 how to, linux, programming, security

Hi all ! In this new post I will explain how to generate secure random number on *nix system. In many case, often in cryptographic system, the application needs to have sources of random number. The lack of randomness can be hard to diagnose. For example, I’m sure you have… Continue reading

Tagged   generator, PRNG, programming, random, randomness
3 Comments

Simple TCP Server Socket in C

  By Cyrill Gremaud 02/04/2014 16/07/2014 programming

In this post I will explain how to code a very simple and minimalist C TCP server using sockets in C. In many projects, I had to use the sockets to communicate with another remote (or sometime local) component. Each time, I must Googling the terms “Simple TCP server Socket… Continue reading

Tagged   C, programming, socket, tcp
  • Recent Posts

    • “Libre à 40 ans en Suisse” – Critique personnelle
    • NordVPN on Linux – Simple way to add privacy to your daily life
    • How to (correctly) delete a VDOM from FortiAnalyzer
    • PowerShell AD cheatsheet
    • Force powershell to use TLS.1.2
  • Tags

    activedirectory (2) ad (2) android (2) anonymous (2) Asterisk (1) attack (8) bank (1) bash (4) book (1) C (1) challenge (1) event (3) Fortigate (5) Fortinet (6) fun (6) hacking (13) heartbeat (3) heartbleed (2) kevin mitnick (1) ldap (5) linux (28) mediacenter (1) Mint (2) networking (3) openldap (4) openssl (2) powershell (2) programming (4) prompt (1) raspberryPi (1) schema (2) security (14) shell (4) SIP (1) socket (1) ssl (2) swiss (1) tcp (1) terminal (9) tls (2) trojan (1) ubuntu (2) voIP (1) vulnerability (9) xbmc (1)
  • Recent Comments

    • Yuming on Mount VirtualBox image drive on Ubuntu (VDI)
    • samira on Forticlient – The server you want to connect requests identification, please choose a certificate and try again. (-5)
    • Mario on Install OpenVAS on Debian based Linux
    • ronald on Forticlient – The server you want to connect requests identification, please choose a certificate and try again. (-5)
    • YO3GHM on Mount VirtualBox image drive on Ubuntu (VDI)
  • ls -al | egrep “ABC”

  • Subscribe now !

    Don't miss any posts !
  • Spam Blocked

    396,943 spam blocked by Akismet
Powered by Parabola & WordPress.