First Step with IBM Watson

https://www.ibm.com/watson/

Création d’une API Node.Js avec IBM Blumix

https://console-regional.ng.bluemix.net/docs/services/apiconnect/tutorials/tut_create_api_node.html#cr-ation-d-une-api-dans-node-js

 

 

Publicités

Kali Linux: First Steps

login: root

Password:  toor

Change Keyboard output in Linux

setxkbmap fr

Cracking passwords with Kali Linux for the Ethical Hacker.

cat /etc/passwd

cat /etc/shadow

this file contains the hashed password, which is the output of the hashing algorithm used to decrypt passwords.

unshadow /etc/passwd /etc/shadow > password.txt

We merge both files to match users and hashed passwords.

less password.txt

Now, we need a reference file that contains a word lists to compare the hash.

Open a web page and search for, openwall wordlists where you can download a wordlist file or you can use a dictionary.

There is already a wordlist with kali linux.

 

cd user/share/wordlist

ls

cp rockyou.txt.gz ~

cd ~

gunzip rockyou.txt.gz

less rockyou.txt.gz

 

Bug Karma: Eclipse exit code = 13

eclipsebug

In this case, you need to open your eclipse.ini.

Problems may came from:

  • The -vm option and its value (the path) must be on separate lines.
  • The value must be the full absolute path to the Java executable, not just to the Java home directory.
  • The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JV

Apache Tomcat Couldn’t Start

Problem

When starting Tomcat, i get nothing.

I’ve checked the log directory within C:\Program Files\Apache Software Foundation\Tomcat 8.0

When consulting the last log file, in case, its name is commons-daemon.2017-07-25, i get:

[2017-07-25 10:10:17] [info] [17292] Starting service…
[2017-07-25 10:10:17] [error] [17292] Failed creating java C:\Program Files\Java\jre1.8.0_40\bin\server\jvm.dll
[2017-07-25 10:10:17] [error] [17292] Le chemin d’accès spécifié est introuvable.
[2017-07-25 10:10:17] [error] [17292] ServiceStart returned 1
[2017-07-25 10:10:17] [error] [17292] Le chemin d’accès spécifié est introuvable.

Tomcat can’t find the jvm.dl.

Resolution

Just change/update the path of java within Tomcat Configurator

apache

 

Installing DevStack

Download DevStack from git

git clone https://git.openstack.org/openstack-dev/devstack
cd devstack

Copy and edit local.conf

mv samples/local.conf local.conf
nano local.conf

Add 4 passwords preset at the root of devstack repository.

[[local|localrc]]
ADMIN_PASSWORD=admin
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

 

Using ifconfig command, you can know your IP adress as shown in Figure. You need it later to set up IP_Host in local.config.

ifconfig_LI

IP_HOST= 10.0.2.15

Then, set back, grap a cup of coffee and run

./stack.sh

 

Frequent Installation Issues

Sometimes, git protocal may have problem downloading resources. You need to add in local.conf

GIT_BASE=${GIT_BASE:-https://git.openstack.org}

Keystone did not start: well, you have a problem with your IP adress, most of all you may set a wrong one.