Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mprota
mprota / call.pl
Created August 24, 2016 13:54 — forked from maximevalette/call.pl
SIP Call in Perl
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long qw(:config posix_default bundling);
use Net::SIP;
#Usage
sub usage {
@mprota
mprota / linux-setuid.c
Last active April 2, 2023 23:26
Example of how to use setuid() and setgid() under Linux in C.
/*
Created @ 03.02.2014
Copyright (C) 2014 Christian Mayer <http://fox21.at>
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.
This program is distributed in the hope that it will be useful,