Linux HowTo: What can I use to limit non-adjacent duplicate characters in Crunch?

Original Source Link

Am trying to generate wordlist 8 characters long. I have tried limiting redudant/irrelevant output through use of -d operator to limit number of repeating adjacent characters. I wish to further limit repeating non-adjacent characters. I am not able to find any operator to assit me. For instance I want to limit say character x occuring more than thrice non-adjacent instances in the output string. Anyone with an idea how I can implement this?
Sample code is as below:

cruch 8 8 -f /path-to-charset.lst lalpha-symbol14 -o /path-to-wordlist.txt -d [email protected], -d 1^ -d 4%

Tagged :

Making Game: What can I use to limit non-adjacent duplicate characters in Crunch?

Original Source Link

Am trying to generate wordlist 8 characters long. I have tried limiting redudant/irrelevant output through use of -d operator to limit number of repeating adjacent characters. I wish to further limit repeating non-adjacent characters. I am not able to find any operator to assit me. For instance I want to limit say character x occuring more than thrice non-adjacent instances in the output string. Anyone with an idea how I can implement this?
Sample code is as below:

cruch 8 8 -f /path-to-charset.lst lalpha-symbol14 -o /path-to-wordlist.txt -d [email protected], -d 1^ -d 4%

Tagged :

Linux HowTo: Incorrect password on first login to Kali Linux in VirtualBox

Original Source Link

I tried to install Kali Linux on VirtualBox following this guide on Youtube

As per the guide, there was no setup page, as Kali Linux was configured. When I turned on the machine, it booted and went straight to the login page.

I tried root as username and toor as password, but it said incorrect password. I tried leaving the password blank, still didn’t work.

This is my first time dealing with Kali. What should I do now? Are there any alternate passwords?

enter image description here

username: kali
password: kali

note: qwerty keyboard by default

When you set up Kali (I have Kali running here – and in a Virtual Machine), it will ask you to create a password for the root account. Do that and that will be the password. There is no preset password.

Try setting up the Virtual Machine again and this time, watch for the root account creation process and set up the password of your choice.

Once running, create a regular account and, if you wish, set it up as an admin account:

useradd -m username
passwd username (asks you to create a new password and do that)
usermod -a -G sudo username

Tagged : / / /

Making Game: Incorrect password on first login to Kali Linux in VirtualBox

Original Source Link

I tried to install Kali Linux on VirtualBox following this guide on Youtube

As per the guide, there was no setup page, as Kali Linux was configured. When I turned on the machine, it booted and went straight to the login page.

I tried root as username and toor as password, but it said incorrect password. I tried leaving the password blank, still didn’t work.

This is my first time dealing with Kali. What should I do now? Are there any alternate passwords?

enter image description here

username: kali
password: kali

note: qwerty keyboard by default

When you set up Kali (I have Kali running here – and in a Virtual Machine), it will ask you to create a password for the root account. Do that and that will be the password. There is no preset password.

Try setting up the Virtual Machine again and this time, watch for the root account creation process and set up the password of your choice.

Once running, create a regular account and, if you wish, set it up as an admin account:

useradd -m username
passwd username (asks you to create a new password and do that)
usermod -a -G sudo username

Tagged : / / /

Linux HowTo: How do I make a bootable USB flash disk of Windows setup on my Kali Linux system?

Original Source Link

I have Kali Linux currently running on my laptop. I want to install Windows 7. I don’t have CD ROM ,how do I make bootable USB having Windows ISO?

Which software will help me? Or just how to make usb bootable? I want to install Windows 7 again.

If you like to use terminal, use the command: sudo dd if=your_iso_here of=your_drive_here bs=512k. That will make a live win7 usb.

Use unetbootin in kali linux which helps you to make a window 7 bootable USB.

Steps to make bootable USB:

  1. Open applications button situated in top of the kali screen then go to system tools option after that click on unetbootin option in last.

  2. Choose a OS or distribution which you want to make bootable if it is not in option then usually click on disk image option in bottom of dialog box after that browse ISO file from browse option, after selecting then select the USB which you want to make bootable.

  3. Use Next or Ok then the USB will become bootable after given time.

You probably already answered this, but look into winusb. it will make a bootable windows disc. It also depends on the bootloader you have installed on your machine. Depending on whether you want dual boot or not, you may be better off making a bootable usb stick from a windows machine, making it on linux can be a pain.

WoeUSB is a tool for creating a bootable USB flash drive used for installing Windows. Native UEFI booting is supported for Windows 7 and later images. WoeUSB is an updated fork of the WinUSB project.

Some third-party installers feature Windows installation images (/sources/install.wim) greater than 4GB making FAT32 as target filesystem impossible. NTFS filesystem support has been added to WoeUSB 3.0.0 and later.

Installation

sudo add-apt-repository ppa:nilarimogard/webupd8 
sudo apt update  
sudo apt install woeusb

This will install the WoeUSB graphical interface and the WoeUSB command line tool. WoeUSB supports both UEFI and BIOS for FAT32/NTFS/ExFAT USB flash drives.

The WoeUSB GUI is easier to use than the WoeUSB command line tool. Click the radio button to the left of where it says From a disk image (iso), browse to the location of the Windows .iso file, under Target device select a USB flash drive, open Disks application and check that the Device name in Disks matches the Target device in WoeUSB (it should be something like /dev/sdX where X is a letter of the alphabet), and click the Install button to install to create a bootable Windows installation media on the USB flash drive.

enter image description here

WoeUSB Issues

Tagged : / /

Linux HowTo: Long list of threats in Windows Defender after using Kali Linux

Original Source Link

I’m using Windows 10 v1909 and a month ago I downloaded Kali Linux on VMware on my PC.

I recently did a full scan of my PC with Windows Defender, which resulted in a long list of threats (100+, most of them exploits or Trojans). Trying to fix the problem with Windows Defender resulted in contacting a Windows IT tech who helped me delete all the threats.

  • Could the threats originate from Kali Linux exploits being interpreted as threats?
  • Could Windows Defender detect BurpSuite, which I also used, via wifi?

The Kali linux .iso file is detected as malware by Windows Defender, and for good reason: it contains malware that you can use to infect computers. Try removing the .iso file and running Windows Defender again.

Tagged : / / /

Making Game: How do I make a bootable USB flash disk of Windows setup on my Kali Linux system?

Original Source Link

I have Kali Linux currently running on my laptop. I want to install Windows 7. I don’t have CD ROM ,how do I make bootable USB having Windows ISO?

Which software will help me? Or just how to make usb bootable? I want to install Windows 7 again.

If you like to use terminal, use the command: sudo dd if=your_iso_here of=your_drive_here bs=512k. That will make a live win7 usb.

Use unetbootin in kali linux which helps you to make a window 7 bootable USB.

Steps to make bootable USB:

  1. Open applications button situated in top of the kali screen then go to system tools option after that click on unetbootin option in last.

  2. Choose a OS or distribution which you want to make bootable if it is not in option then usually click on disk image option in bottom of dialog box after that browse ISO file from browse option, after selecting then select the USB which you want to make bootable.

  3. Use Next or Ok then the USB will become bootable after given time.

You probably already answered this, but look into winusb. it will make a bootable windows disc. It also depends on the bootloader you have installed on your machine. Depending on whether you want dual boot or not, you may be better off making a bootable usb stick from a windows machine, making it on linux can be a pain.

WoeUSB is a tool for creating a bootable USB flash drive used for installing Windows. Native UEFI booting is supported for Windows 7 and later images. WoeUSB is an updated fork of the WinUSB project.

Some third-party installers feature Windows installation images (/sources/install.wim) greater than 4GB making FAT32 as target filesystem impossible. NTFS filesystem support has been added to WoeUSB 3.0.0 and later.

Installation

sudo add-apt-repository ppa:nilarimogard/webupd8 
sudo apt update  
sudo apt install woeusb

This will install the WoeUSB graphical interface and the WoeUSB command line tool. WoeUSB supports both UEFI and BIOS for FAT32/NTFS/ExFAT USB flash drives.

The WoeUSB GUI is easier to use than the WoeUSB command line tool. Click the radio button to the left of where it says From a disk image (iso), browse to the location of the Windows .iso file, under Target device select a USB flash drive, open Disks application and check that the Device name in Disks matches the Target device in WoeUSB (it should be something like /dev/sdX where X is a letter of the alphabet), and click the Install button to install to create a bootable Windows installation media on the USB flash drive.

enter image description here

WoeUSB Issues

Tagged : / /

Making Game: Long list of threats in Windows Defender after using Kali Linux

Original Source Link

I’m using Windows 10 v1909 and a month ago I downloaded Kali Linux on VMware on my PC.

I recently did a full scan of my PC with Windows Defender, which resulted in a long list of threats (100+, most of them exploits or Trojans). Trying to fix the problem with Windows Defender resulted in contacting a Windows IT tech who helped me delete all the threats.

  • Could the threats originate from Kali Linux exploits being interpreted as threats?
  • Could Windows Defender detect BurpSuite, which I also used, via wifi?

The Kali linux .iso file is detected as malware by Windows Defender, and for good reason: it contains malware that you can use to infect computers. Try removing the .iso file and running Windows Defender again.

Tagged : / / /

Making Game: Kali Linux won’t install Wise Tiger Wireless Adapter Driver

Original Source Link

I have currently dual booted Kali Linux and I have a Wise Tiger WT-AC9006 wireless adapter. I have downloaded the driver from the company site and attempted to install it via the command line:

./install.sh

However, I continue to get the following error:

cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.6.0-kali1-common/scripts/Makefile.build:273: /home/bballboy8/Desktop/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:1696: /home/bballboy8/Desktop/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51] Error 2
make[1]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.6.0-kali1-amd64'
make: *** [Makefile:1551: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

Furthermore, when I ran lsusb, the device appears as device 008:

Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 04f2:b449 Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 004: ID 8087:0a2a Intel Corp. 
Bus 002 Device 007: ID 045e:0797 Microsoft Corp. Optical Mouse 200
Bus 002 Device 008: ID 0bda:0811 Realtek Semiconductor Corp. 802.11ac WLAN Adapter 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I used the GitHub repository https://github.com/scrivy/rtl8812AU_8821AU_linux and got the following error when I went to make the file.

/home/bballboy8/rtl8812AU_8821AU_linux/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/home/bballboy8/rtl8812AU_8821AU_linux/os_dep/linux/rtw_proc.c:73:67: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   73 |  entry = proc_create_data(name,  S_IFREG|S_IRUGO|S_IWUGO, parent, fops, data);
      |                                                                   ^~~~
      |                                                                   |
      |                                                                   const struct file_operations *
In file included from /home/bballboy8/rtl8812AU_8821AU_linux/include/../os_dep/linux/rtw_proc.h:23,
                 from /home/bballboy8/rtl8812AU_8821AU_linux/include/osdep_intf.h:123,
                 from /home/bballboy8/rtl8812AU_8821AU_linux/include/drv_types.h:107,
                 from /home/bballboy8/rtl8812AU_8821AU_linux/os_dep/linux/rtw_proc.c:21:
/usr/src/linux-headers-5.6.0-kali1-common/include/linux/proc_fs.h:59:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
   59 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
      |                               ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.6.0-kali1-common/scripts/Makefile.build:273: /home/bballboy8/rtl8812AU_8821AU_linux/os_dep/linux/rtw_proc.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:1696: /home/bballboy8/rtl8812AU_8821AU_linux] Error 2
make[1]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.6.0-kali1-amd64'
make: *** [Makefile:1622: modules] Error 2

How would I go about adjusting the files in order to make this work properly?

Tagged : / / / /

Linux HowTo: Kali Linux Live CD Blackscreen/Not Booting

Original Source Link

I am pretty new to Kali Linux (or Linux in general) so probably I won’t understand ALL of the technical terms, but I will give my best.

As introduction in my problem, I wanted to create a Live CD with Kali Linux for my Laptop (exact information on version etc. will be given later, as well as the chronological order of the things I did).

After burning the ISO Image of Kali, I restarted my Laptop, and wanted to boot Kali Linux as a “Live Session”, but everything I have seen was a Blackscreen, with no console, and no mouse pointer.

The Laptop did not react to anything, so I took out the disk, and started my PC new and booted with my primary operating system. After that I tried different things (which I will list too), but nothing of it helped me.

My System:

Laptop Model: ASUS R510LB-XX037H
OS: Windows 8.1 64-Bit
Architecture: 64-Bit
Processor: Intel Core i74500U CPU @ 1.80 Ghz 2.40 Ghz
RAM: 8.00 GB (7.89 Usable)
Graphics: Intel HD Graphics, nVidia GEFORCE 740M

(If more Information is necessary I will give it)

The Linux:

Kali Linux
64 bit (because my System is 64x Based)
Version: 2016.1
Boot Media: Disk (DVD-RW), 4.7 GB Storage

=> So basically the first thing here (Kali Linux 64 bit ISO)

The Things I did (in chronological order)

  • Downloaded Linux Kali 64 bit 2016.1 ISO
  • Saved on Desktop
  • Took a brand new CD and put it in
  • Right Clicked the ISO and burned the Image (With the Burning Option given by the System)
  • Opened Charm Bar => Settings => Change PC Settings => Update/Recovery => Recovery => Advanced Start
  • Selected the Option for opening the UEFI Settings
  • Boot => Changed The Boot-Order, DVD will be booted first before main OS
  • Restarted the PC
  • Red Window saying “Secure Boot Violation” and some text, so I entered UEFI again and disabled “Secure Boot”
  • Restarted PC again
  • Blackscreen
  • [after 20 min] manually restarted the PC (simple power-off)
  • Burned ISO-Image again on fresh Disk
  • Restart
  • Blackscreen again
  • power-off, boot with Windows again
  • and so I came here

I really don’t know what I can do more, under Windows everything works fine (related to Hardware).

How can I resolve this issue?

Try CBBurnerXP. It has an option to burn ISO files. If that doesn’t work, try Universal USB Installer, YUMI Multiboot usb or LinuxLive USB Creator. Live linux will work faster when booted via USB than from CD.

It sometimes happens that there are errors in the download process. You need to verify that the ISO file is the exact same by generating and comparing a MD5 or SHA1 hash.

In this case the SHA1Sum is posted on the downloads page of the link you provided.

You can find this link to the Microsoft File Checksum Integrity Verifier by searching for “SHA1Sum Windows” Link

After using your choice of SHA1Sum generator to verify that the downloaded ISO file’s SHA1Sum is the same, you can then check to see if the image is being burned to disk correctly. You should use the ‘verify’ option when burning the disk. But what if you’ve already done that? How do you compare the ISO to the burned disk? It’s easy with Ubuntu.

The following is from: https://help.ubuntu.com/community/HowToMD5SUM

First mount the CD, if not already mounted:

sudo mount /dev/hda /cdrom

Then use the supplied md5sum file on the CD:

cd /cdrom
md5sum -c md5sum.txt | grep -vi 'OK$'

See also the “Check the CD” section.

Tagged : / / /