It's very annoying when sites/applications block copy-paste out of some idiotic conclusion that it improves system security. Here is a novel idea - make it a configuration option.
In a mean time here is a script that I've adopted from https://github.com/EugeneDae/Force-Paste
I've added delay that allows me to switch between applications to Copy and then later Paste.
Enjoy.
Showing posts with label stupid fucks. Show all posts
Showing posts with label stupid fucks. Show all posts
Mar 9, 2017
Mar 29, 2011
rootkit.com user database processing
## Build the current version of JTR
$wget http://www.openwall.com/john/g/john-1.7.6-jumbo-12.tar.gz$tar -zxvf john-1.7.6-jumbo-12.tar.gz
$cd john-1.7.6-jumbo-12/src
$make clean linux-x86-64
$cd ../run/
$./john --test
## restore mysql database
$mysql -p
>create database test;
>use test;
>source /tmp/xxx_backup
>create database test;
>use test;
>source /tmp/xxx_backup
## dump user/password into txt file
>SELECT email,password INTO OUTFILE '/tmp/xxx.txt' FIELDS TERMINATED BY ':' LINES TERMINATED BY '\n' FROM usertable where length(password)=32;
>SELECT email,password INTO OUTFILE '/tmp/xxx.txt' FIELDS TERMINATED BY ':' LINES TERMINATED BY '\n' FROM usertable where length(password)=32;
## feed it into JTR
$./john --wordlist=passwords.txt --format=raw-MD5 /tmp/xxx.txt
$./john --wordlist=passwords.txt --format=raw-MD5 /tmp/xxx.txt
## enjoy
$./john --show /tmp/xxx.txt --format=raw-MD5
Jan 5, 2011
VMware Server weirdness
Virtual machine working flawlessly on my PC, but adding the same image on another machine fails with some unrelated log entries:
...\VMware\VMware Server\hostd-0.log
[xxxx 'Vmsvc' 8376 info] Foundry_CreateEx failed: Error: (4002) Cannot read the virtual machine configuration file[xxxx 'vm:C:\Virtual Machines\xxx\xxx.vmx' 8376 info] Failed to load virtual machine.
[xxxx 'vm:C:\Virtual Machines\xxx\xxx.vmx' 8376 info] Failed to load virtual machine. Marking as unavailable: vim.fault.InvalidVmConfig
VMware server version: 2.0, running on Windows XP/Windows 7
...\VMware\VMware Server\hostd-0.log
[xxxx 'Vmsvc' 8376 info] Foundry_CreateEx failed: Error: (4002) Cannot read the virtual machine configuration file[xxxx 'vm:C:\Virtual Machines\xxx\xxx.vmx' 8376 info] Failed to load virtual machine.
[xxxx 'vm:C:\Virtual Machines\xxx\xxx.vmx' 8376 info] Failed to load virtual machine. Marking as unavailable: vim.fault.InvalidVmConfig
The difference is in the default system locale, which is reflected in .vmx and(!) .vmdk:
machine 1:
.vmx:
.encoding = "windows-1251"
.vmdk:
ddb.encoding = "windows-1251"
machine 2 .vmx:
.encoding = "windows-1255"
.vmdk:
ddb.encoding = "windows-1255"
VMware server version: 2.0, running on Windows XP/Windows 7
Hint:
Editing .vmdk file is not trivial on windows, most editors will fail to handle multi gigabyte files, you can use biew/beye utility for this.
Subscribe to:
Posts (Atom)