Eu tenho tentado usar Armitage e tenho seguido este tutorial , e no passo 2.2, recebo estes erros:
root@Xeno:~# service postgresql start
[....] Starting PostgreSQL 9.1 database server: main[....]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: could not exec /usr/lib/postgresql/9.1/bin/pg_ctl /usr/lib/postgresql/9.1/bin/pg_ctl start -D /var/lib/postgresql/9.1/main -l /var/log/postgresql/postgresql-9.1[FAIL.log -s -o -c config_file="/etc/postgresql/9.1/main/postgresql.conf" : ... failed!
failed!
root@Xeno:~# service metasploit start
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[FAIL] Postgresql must be started before Metasploit ... failed!
Eu já executei o metasploit antes e trabalhei muito bem. Então, alguém pode me explicar por que eu preciso fazer isso e o que esses bancos de dados significam e que papel eles desempenham?
Ok, então eu tentei rodar Armitage no console e na aba Kali Linux em aplicações, a saída não era o que eu tinha antes (ontem tudo começou bem).
root@Xeno:~# armitage
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/xawt/libmawt.so: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib/i386-linux-gnu/libkrb5.so.3)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1657)
at java.awt.Toolkit.<clinit>(Toolkit.java:1686)
at java.awt.Component.<clinit>(Component.java:595)
at armitage.ArmitageMain.main(ArmitageMain.java:199)
Além disso, o metasploit começa normalmente, sem problemas.
Gnome tweak tool instalation error log (relacionado à libsc6):
root@Xeno:~# apt-get install gnome-tweak-tool
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnome-tweak-tool : Depends: gsettings-desktop-schemas (>= 3.6) but 3.4.2-3 is to be installed
Depends: gir1.2-gtk-3.0 (>= 3.12) but 3.4.2-7 is to be installed
Depends: gir1.2-gnomedesktop-3.0 but it is not going to be installed
Depends: gir1.2-notify-0.7 but it is not going to be installed
libkrb5-3 : Depends: libc6 (>= 2.16)
libtirpc1 : Depends: libc6 (>= 2.16)
locales : Depends: libc-bin (> 2.19) but 2.13-38+deb7u8 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
Eu tenho recebido muitos erros sobre a libsc6 quando eu estava tentando instalar outros pacotes. Enquanto eu observava os últimos comandos do terminal eu encontrei isto:
apt-get install libasound2 libc6 libgcc1 libqt4-dbus libqt4-network libqt4-webkit libqt4-xml libqtcore4 libqtgui4 libstdc++6 libx11-6 libxext6 libxss1 libxv1
Eu estava tentando corrigir um erro relacionado ao Skype não detectando nenhum dispositivo de som.
Eu encontrei alguns erros ao tentar executar o sudo apt-get update para que eu possa atualizar a versão glibc (2.16) necessária pelo armitage e imaginei que deveria fazer outra pergunta sobre isso: link