— Security skill 2017 upgrade

Milestones

The `context` toolkit.

RTL8187B_5_6.1135.0625.2008_Silent_Install 11G_XP_Vista Crisis-Wordlist-Generator-master rtl8187_linux_26.1010
036H 0618_revised 8187_PWRC Acrylic_WiFi_HeatMaps_v3.1.6274.18688 AWUS036H
aircrack-ng-1.2-rc4 Acrylic_WiFi_Home_v3.1.6117.24454 driver-updater-setup Fluxion_0.23_all
inSSIDer4-installer kali-linux-light-2016.2-amd64 kismet-2010-07-R1 kismet-2016-07-R1
MuhammadOmar125-fluxion-master netmanmac1-4 netstumblerinstaller_0_4_0 NM34_x86
pkg-config_0.29-4+b1_i386 r8187b-2.6.25-hirte realtek-8187-5.1279.0129.20071 RTL8187B_Auto_Install_Program
RTL8187B_XP_5.1162.0610.2009_Win7_62.1181.1105.2009_UI_1.00.0145 setup_airpcap_4_1_3 wifiinfoview
vcredist_x64 vmware-aircrack-ng-v4 VMware-player-12.5.2-4638234 WlanHelper-0.01
NM34_x64 RTL8187L_XP_5.1313.0613.2008_Win7_6.1316.1209.2009_UI_1.00.0179 SBL-WPA
Hacker-Inside007-fluxion-master pkg-config_0.29-4+b1_i386 rtl8187_linux_26.1010.0622.2006

insmod, rmmod, lsmod as simple as cp, rm, ls...

rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/tmp
make -C /lib/modules/4.4.0-70-generic/build M=/home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211 modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-70-generic'
  CC [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
  CC [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.o
  CC [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.o
  ...
  LD [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep-rtl.o
  CC [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.o
  LD [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp-rtl.o
  Building modules, stage 2.
  MODPOST 5 modules
  CC      /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.mod.o
  LD [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.ko
  CC      /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt-rtl.mod.o
  ...
  LD [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt-rtl.ko
  CC      /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
  LD [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep-rtl.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-70-generic'
/home/jbd/rtl8187_linux_26.1010.0622.2006
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/jbd/rtl8187_linux_26.1010.0622.2006/beta-8187/tmp
make -C /lib/modules/4.4.0-70-generic/build M=/home/jbd/rtl8187_linux_26.1010.0622.2006/beta-8187 modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-70-generic'
  CC [M]  /home/jbd/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o
/home/jbd/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
/home/jbd/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:442:15: error: implicit declaration of function ‘create_proc_entry’
  rtl8180_proc=create_proc_entry(RTL8187_MODULE_NAME, S_IFDIR, init_net.proc_net);

C's not dead.

void rtl8180_proc_module_init(void)
{
  DMESG("Initializing proc filesystem");
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
  rtl8180_proc=create_proc_entry(RTL8187_MODULE_NAME, S_IFDIR, proc_net);
#else
  rtl8180_proc=create_proc_entry(RTL8187_MODULE_NAME, S_IFDIR, init_net.proc_net);
#endif
}
void rtl8180_proc_init_one(struct net_device *dev)
{
  struct proc_dir_entry *e;
  struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv_rtl7(dev);
  priv->dir_dev = create_proc_entry(dev->name, S_IFDIR | S_IRUGO | S_IXUGO, rtl8180_proc);
  if (!priv->dir_dev) {
    DMESGE("Unable to initialize /proc/net/rtl8187/%s\n", dev->name);
    return;
  }
  #if 0
  e = create_proc_read_entry("stats-hw", S_IFREG | S_IRUGO, priv->dir_dev, proc_get_stats_hw, dev);
  
  if (!e) {
    DMESGE("Unable to initialize /proc/net/rtl8187/%s/stats-hw\n", dev->name);
  }
  #endif
  e = create_proc_read_entry("stats-rx", S_IFREG | S_IRUGO, priv->dir_dev, proc_get_stats_rx, dev);
  
  if (!e) {
    DMESGE("Unable to initialize /proc/net/rtl8187/%s/stats-rx\n", dev->name);
  }

`Contextuel` comparo.

Microsoft Windows [version 10.0.14393]  
Linux ubuntu 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux  
Linux debbi 2.6.23 #1 SMP Fri Oct 12 09:02:00 CEST 2007 i686 GNU/Linux  
Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux  

Hack as an horinzontal Tétris with wirelessshark.

TODOs

.