Skip to content
Daily IT Help

My daily IT journal

  • Programming
  • Monitoring
  • Azure
  • Splunk
  • About me
  • Programming
  • Monitoring
  • Azure
  • Splunk
  • About me
  • General

    Mac High Sierra : Adobe CS5 – install” can’t be opened. you should eject the disk image.

    November 28, 2019 - By itdoctor

    I was trying to install Adobe CS5 in my Imac 2011 – running High Sierra. When i clicked on the…

    Read More
  • General

    Smokeping – big “gap” when restarting

    November 20, 2019 - By itdoctor

    Smokeping is a great tool for network monitoring, we recently adopted smokeping to use it for URL monitoring. We use…

    Read More
  • General - Linux

    Mitmproxy – how to capture SSL traffic

    November 10, 2019 - By itdoctor

    Mitmproxy is a python proxy, it’s very light. Basically it’s like a normal proxy but it offers some advanced features…

    Read More
  • General - Linux

    tls v1.0 v1.1 v1.2 – how to check which tls version your server support?

    November 4, 2019 - By itdoctor

    nmap –script ssl-enum-ciphers -p 443 www.google.com you can test your script to see the difference. Here are some url that…

    Read More
  • General

    Convert PFX to PEM

    November 1, 2019 - By itdoctor

    $pfx_file="mywindows_cert.pfx"; $password="dailyithlep"; $pem_file="mypem_cert.pem"; convert_pfx_file_to_pem($pfx_file,$password,$pem_file,true); function convert_pfx_file_to_pem($pfx_file,$password,$pem_file,$remove_password=true) { $CERT_FILE="/tmp/certificate.crt"; $CA_CERT_FILE="/tmp/ca-cert.crt"; $PRIVATE_KEY="/tmp/private.key"; $PRIVATE_KEY_NOPASSWORD="/tmp/private_nopassword.key"; //get the certificate file from pfx file $cmd=”openssl pkcs12…

    Read More
  • General - Networking

    Smokeping – Curl vs AnotherCurl

    October 20, 2019 - By itdoctor

    Curl can provide us the following time report: time_namelookup time_redirect time_connect time_appconnect time_pretransfer time_starttransfer time_total To get these report time,…

    Read More
  • General - Linux

    Linux: cronjob

    October 13, 2019 - By itdoctor

    When you setup a cronjob file (/etc/cron.d/filename) , the file should include the path below: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin this is because if…

    Read More
  • General - Linux

    Linux: send all error to another program (PIPE)

    October 8, 2019 - By itdoctor

    You can use the option : 2>&1 for this purpose. /mycommand.sh 2>&1 | mydescommand.sh

    Read More
  • General - Programming

    PHP : HTTP Post with Curl

    October 8, 2019 - By itdoctor

    A sample function to use curl post data. $data=array() $data=array(); $data[“field1″]=”hello world”; $data[“user”]=”hello user”; curl_post($url,$data) function curl_post($url,$fields) { //open connection…

    Read More
  • General

    Find the kerberos server for your domain

    September 25, 2019 - By itdoctor

    The service record for ldap and kerberos are used to identify LDAP and Kerberos server for a domain in Active…

    Read More
 Older Posts
Newer Posts 

Categories

  • Apple
  • Azure
  • Database
  • General
  • Linux
  • Marketing
  • Monitoring
  • Networking
  • Phone
  • Programming
  • Splunk
  • Windows
Graceful Theme by Optima Themes