<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>Programming/Code</title>
	<description>All posts in Programming/Code</description>
	<link>http://www.binrev.com/forums/index.php</link>
	<pubDate>Wed, 18 Jan 2012 08:28:18 +0000</pubDate>
	<ttl>15</ttl>
	<item>
		<title>LgmBinary</title>
		<link>http://www.binrev.com/forums/index.php/topic/45096-lgmbinary/</link>
		<description><![CDATA[I have an awsome program here for windows. but windows is so obselete to binary it cant even load in winlogon.<br />
any sugguestions or specific errors i need to get the file loaded.<br />
<br />
File should load fine from the desktop. a very nice program. has video stuff like that. but.<br />
dont try to run the file its a electric file. the solution is probably run something on a windows program for a minutie unless you can load a zip. but file is basically off the electric and has a network.<br />
<br />
file should load with List.<br />
<br />
the file does work fine and not too bad. but dont see anything on the screen i feel the file is automatically blocked by default or someone on the network. file does have an operating system and stuff and is a free program.<br />
<br />
<br />
here is a link there is also an attatchment<br />
<a href='http://lgmbinary.yolasite.com/resources/binary.zip' class='bbc_url' title='External link' rel='nofollow external'>http://lgmbinary.yolasite.com/resources/binary.zip</a>]]></description>
		<pubDate>Wed, 18 Jan 2012 08:28:18 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/45096-lgmbinary/</guid>
	</item>
	<item>
		<title>How to reset Windows Password with Windows password reset software whe</title>
		<link>http://www.binrev.com/forums/index.php/topic/45064-how-to-reset-windows-password-with-windows-password-reset-software-when-you-lost-or-forgot-it/</link>
		<description><![CDATA[It is actually quite frequently for us to meet the password difficulty, at times we would forgot windows password or lost windows password, and could not login windows system and make a massive trouble. At this time, you would certainly want know how to reset and recover the forgotten password. <br />
In fact, a great deal of approaches are available to recover or reset the Windows password. But the majority of them are developed for Pc specialists, not widespread Computer users, those solutions are too complicated to get it function for us. And in this post, I will show you a professional software program tool which could enable you to reset forgotten windows password simply.<br />
<br />
Super Windows Password Reset  is effective password recovery software program to reset Windows login<br />
password for you to access Windows OS with no reinstalling the OS if you forgot windows password or lost windows password. It could remove windows password as well as set the password to empty. Just boot from the program CD/DVD or USB flash drive, pick the account you wish to reset and all will be performed. It is not a strategy to crack or bypass windows password, just remove or delete windows password and set it to blank so you may login windows to create new password.<br />
Here is the guide of the way to reset windows password with this software program, only three steps are necessary to reset windows 7/Vista/XP/2003 password:<br />
<br />
<strong class='bbc'>Firstly: Download the set-up file of Super Windows Password Reset  on the official internet site:</strong><br />
<a href='http://www.passwordreset.biz' class='bbc_url' title='External link' rel='nofollow external'>http://www.passwordreset.biz</a><br />
And install it on another Computer. Then you may startup the password recovery software program to prepare the bootable disc.<br />
<a href='http://passwordreset.biz/forum/super-windows-password-reset-main.jpg' class='bbc_url' title='External link' rel='nofollow external'>http://passwordreset.biz/forum/super-windows-password-reset-main.jpg</a> <br />
<br />
<strong class='bbc'>Secondly: Burn the windows password recovery bootable CD/DVD or USB disc using the software program.</strong> <br />
Now, you may pick "Burn DVD/CD Disc" or "Use USB Disc". When you choose 1st style, you should have a blank CDR/DVDR disk, a COMBO or DVDRW drive on the Pc. If you choose to use USB disc, you just must pay attention: This USB devices could be formatted, so you have to be sure to back up all the information just before using it. Along with the maximum capacity in the USB devices cannot exceed 2G. Suggestions: We suggest you to use the DVD/CD style to do the windows password reset, since some computers could not support USB start-up.<br />
<br />
<strong class='bbc'>Thirdly: The way to burn the CD/DVD.</strong> <br />
1.Launch Super Windows Password Reset , Click "Burn DVD/CD Disc" button.<br />
2.In Burn window, click "Browse" button and within the open window, locate the file "TWPR.iso" on your desktop, select it and click on Open to get back towards the main window. Then, click "Start" button.<br />
<a href='http://passwordreset.biz/forum/burncdcc.jpg' class='bbc_url' title='External link' rel='nofollow external'>http://passwordreset.biz/forum/burncdcc.jpg</a> <br />
3.Your DVD drive ought to open and insert a blank CD-R or DVD-R disc into the drive and close it. Click "OK" button. Your CD will likely be burned for several minutes.<br />
Suggestions: if there is certainly already a CD/DVD disc within the drive just before running the software, the CD drive will open automatically. Please close it once more. The process will probably be continuing. And you could also choose UCB as boot disk, and you can check out the web site to obtain a lot more info and tutorials.<br />
<br />
<strong class='bbc'>Forthly: Boot the computer using the burned CD/DVD or USB disc to reset windows password.</strong>  <br />
You ought to insert the Developed CD/DVD or USB drive into the optional drive of the locked laptop or computer and reboot it.<br />
Suggestions: It your laptop or computer nonetheless boots from hard drive Windows OS, it really is needed for you to alter your COMS or BIOS settings to make it boot from CD/DVD or USB drive. Don't know how to set it?  you might check out the official web site: <a href='http://www.passwordreset.biz' class='bbc_url' title='External link' rel='nofollow external'>http://www.passwordreset.biz</a>  or get in touch with the personal computer support.<br />
<br />
<strong class='bbc'>The pc boots from CD/DVD or USB drive.</strong>  <br />
1.The program will ask for the Windows OS hard drive volume. Enter the identification number of hard drive volume that Windows is installed.<br />
<a href='http://passwordreset.biz/forum/super-windows-password-reset-1.jpg' class='bbc_url' title='External link' rel='nofollow external'>http://passwordreset.biz/forum/super-windows-password-reset-1.jpg</a> <br />
2.The software has detected all of the user names of Windows and asks which user name password is always to be removed. Enter the identification number for the User Name.<br />
3.The sotware asks to confirm weather to remove the password or not. Enter "y" (yes) to confirm your action and "n" (no) to deny the action and hit "Enter".<br />
4.The softeare asks no matter whether to continue to remove passwords for other accounts. Enter "y" to continue and "n" to finish. Eject your USB from your laptop or computer first and press any button in order to reboot the laptop or computer from Windows. Now you can log in Windows with an empty password (with no password.), just click "Enter" whenever you login.<br />
For those who have questions from the password recovery process as well as the settings, you may visit to the website: <br />
<a href='http://www.passwordreset.biz' class='bbc_url' title='External link' rel='nofollow external'>http://www.passwordreset.biz</a>.Now you may see that to reset or recover the admin login password of windows OS: XP, Vista, Windows 7 or 2000 just isn't so hard and you are able to do it easily.]]></description>
		<pubDate>Fri, 06 Jan 2012 09:14:12 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/45064-how-to-reset-windows-password-with-windows-password-reset-software-when-you-lost-or-forgot-it/</guid>
	</item>
	<item>
		<title>server stress for image sharing</title>
		<link>http://www.binrev.com/forums/index.php/topic/45035-server-stress-for-image-sharing/</link>
		<description><![CDATA[so i'm curious what my options are for storing some images i want to share on my server. <br />
<br />
i could make a mysql database and store them there as blobs, and use some php to post and get, but i'm wondering if this puts more stress on the server during high volume than each image having it's own page on the filesystem. <br />
<br />
some stuff online suggests storing images on filesystem and keeping the urls to them in the database. is this still the best way? any better ways?<br />
<br />
any input would be cool  <img src='http://www.binrev.com/forums/public/style_emoticons/dark/laugh.gif' class='bbc_emoticon' alt=':laugh:' />]]></description>
		<pubDate>Wed, 21 Dec 2011 03:06:52 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/45035-server-stress-for-image-sharing/</guid>
	</item>
	<item>
		<title>Need Help with Daemon Proxy Server</title>
		<link>http://www.binrev.com/forums/index.php/topic/44976-need-help-with-daemon-proxy-server/</link>
		<description><![CDATA[TLDR: Teacher wants me to build Daemon Proxy Server, don't know how.  Help.<br />
<br />
Hello, <br />
I am having trouble with an assignment my teacher gave for an end of semester project. She gave us code to start with, but honestly I've no idea where to go with it. The assignment is as such:<br />
<br />
Design of a Daemon Process Acting as a TCP Proxy Server<br />
1. Project description<br />
In this project, you are required to implement a daemon process that acts as a<br />
general TCP proxy server. The daemon performs the following activities:<br />
(a) The daemon listens for TCP connections on a specified port number.<br />
(b) When a new client initiates a TCP connection request, the daemon accepts<br />
the request and establishes a TCP connection with the new client.<br />
&copy; The daemon forks a child process that is dedicated to handling the new<br />
client.<br />
(d) The child process establishes a TCP connection to a pre-assigned port on the<br />
actual targeted server.<br />
(e) The child process falls into a loop in which it acts as an intermediator<br />
exchanging data (reading/writing or writing/reading) between the client and<br />
the targeted server.<br />
(f) Once a child has been forked, the daemon process resumes listening for<br />
additional TCP connections.<br />
<br />
The server code that she gave us as an example/starter is: <br />
<br />
<pre class='prettyprint'>
/* server.c - code for example server program that uses TCP */
#ifndef unix
#define WIN32
#include &lt;windows.h&gt;
#include &lt;winsock.h&gt;
#else
#define closesocket close
#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;netdb.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;stdio.h&gt;
#endif

#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &lt;unistd.h&gt;

#define PROTOPORT       5193            /* default protocol port number */
#define QLEN            6               /* size of request queue        */

int     visits      =   0;              /* counts client connections    */


int main(int argc, char *argv&#91;&#93;)
{
#ifdef WIN32
        WSADATA wsaData;
        WSAStartup(0x0101, &wsaData);
#endif

        struct  hostent  *ptrh;  /* pointer to a host table entry       */
        struct  protoent *ptrp;  /* pointer to a protocol table entry   */
        struct  sockaddr_in sad; /* structure to hold server's address  */
        struct  sockaddr_in cad; /* structure to hold client's address  */
        int     sd, sd2;         /* socket descriptors                  */
        int     port;            /* protocol port number                */
        int     alen;            /* length of address                   */
        char    buf&#91;1000&#93;;       /* buffer for string the server sends  */
        memset((char *)&sad,0,sizeof(sad)); /* clear sockaddr structure */
        sad.sin_family = AF_INET;         /* set family to Internet     */
        sad.sin_addr.s_addr = INADDR_ANY; /* set the local IP address   */
       

        /* Check command-line argument for protocol port and extract    */
        /* port number if one is specified.  Otherwise, use the default */
        /* port value given by constant PROTOPORT                       */

        if (argc &gt; 1) {                 /* if argument specified        */
                port = atoi(argv&#91;1&#93;);   /* convert argument to binary   */
        } else {
                port = PROTOPORT;       /* use default port number      */
        }
        if (port &gt; 0)                   /* test for illegal value       */
                sad.sin_port = htons((u_short)port);
        else {                          /* print error message and exit */
                fprintf(stderr,"bad port number %s&#092;n",argv&#91;1&#93;);
                exit(1);
        }

        /* Map TCP transport protocol name to protocol number */

        if ( ((int)(ptrp = getprotobyname("tcp"))) == 0) {
                fprintf(stderr, "cannot map &#092;"tcp&#092;" to protocol number");
                exit(1);
        }

        /* Create a socket */

        sd = socket(PF_INET, SOCK_STREAM, ptrp-&gt;p_proto);
        if (sd &lt; 0) {
                fprintf(stderr, "socket creation failed&#092;n");
                exit(1);
        }

        /* Bind a local address to the socket */

        if (bind(sd, (struct sockaddr *)&sad, sizeof(sad)) &lt; 0) {
                fprintf(stderr,"bind failed&#092;n");
                exit(1);
        }

        /* Specify size of request queue */

        if (listen(sd, QLEN) &lt; 0) {
                fprintf(stderr,"listen failed&#092;n");
                exit(1);
        }

        /* Main server loop - accept and handle requests */

        while (1)
        {
                alen = sizeof(cad);
		printf("&#092;nI'm waiting for connections ...");
		fflush(stdout);
                if ( (sd2=accept(sd, (struct sockaddr *)&cad, &alen)) &lt; 0) {
                        fprintf(stderr, "accept failed&#092;n");
                        exit(1);
        }
		printf("&#092;nI received one connection.&#092;n");
		fflush(stdout);
                visits++;
                sprintf(buf,"This server has been contacted %d time%s&#092;n",
                        visits,visits==1?".":"s.");
                send(sd2,buf,strlen(buf),0);
		printf("&#092;nI sent the client a string.&#092;n");
		fflush(stdout);
                closesocket(sd2);
        }
}
</pre><br />
<br />
We can do the project in any language but since the example code is C/C++ I prefer to keep it in those languages if possible.  <br />
Also, I've tried to use the "fork()" and "bzero()" functions in the program; however, I am using Dev C++/Code::Blocks currently and they are not recognized by the IDE. Is there an alternative to these functions for Windows IDE or should I find another one to work in?  <br />
I could use some help with being pointed in the right direction if possible.  The assignment is due is a few days, so a fast response would be great.<br />
Thanks for taking the time to read this if you made it to this point.]]></description>
		<pubDate>Mon, 28 Nov 2011 02:17:52 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44976-need-help-with-daemon-proxy-server/</guid>
	</item>
	<item>
		<title>AI Programming</title>
		<link>http://www.binrev.com/forums/index.php/topic/44956-ai-programming/</link>
		<description><![CDATA[Hi all,<br />
<br />
I was once motivated when younger to learn to program only problem was I hit a wall and didn't have any guides that helped me then. My lack of algebra knowledge didn't quite help although motivation was another thing I didn't have a huge amount of. I got to experience Ubuntu for myself but got sick of it and learn't the hard way that you can't uninstall it like a normal program and the dual booter will stop you from accessing Windows XP (at the time that's what I was dual booting). Anyway I had a fun experience learning how to fix it.<br />
<br />
Anyway I'm now somewhat older and better with sticking to something I want to learn. As it is in the future I'm plaining to become a mechatronic engineer something I can study at the universities here. It is a combination of electronic, mechanical, computer, and...software engineering from what I can remember, some places here in Australia just call it robotics but each to there own... Basically I've been heavily studying this theory about the singularity and artificial intelligence hitting a peak, anyway I would like to learn to program and hopefully how to make my own artificial intelligence.<br />
<br />
So any tips on what programming language would be good to start off and most helpful for making artificial intelligence would be very helpful.<br />
<br />
Thanks Powermaniac]]></description>
		<pubDate>Thu, 24 Nov 2011 05:58:40 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44956-ai-programming/</guid>
	</item>
	<item>
		<title>Ida Pro Remote Debugger with Linux distro</title>
		<link>http://www.binrev.com/forums/index.php/topic/44948-ida-pro-remote-debugger-with-linux-distro/</link>
		<description><![CDATA[Anyone know which live linux distro would be good for running Ida Pro's remote debugger for ARM/Linux?<br />
<br />
You can refer to this if necessary: <a href='http://www.hex-rays.com/products/ida/support/idadoc/1463.shtml' class='bbc_url' title='External link' rel='nofollow external'>http://www.hex-rays.com/products/ida/support/idadoc/1463.shtml</a><br />
<br />
If the live distro can run the 32 bit ELF file, then that should be enough.<br />
<br />
I guess I would want a live distro that could rapidly have Samba or something similar set up so I could transfer the executable over to the live distro and then run it as my remote debugger.<br />
<br />
Your answer could save me a number of burned, wasted CDs.<br />
<br />
Thanks.]]></description>
		<pubDate>Mon, 21 Nov 2011 07:23:29 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44948-ida-pro-remote-debugger-with-linux-distro/</guid>
	</item>
	<item>
		<title>one search box for them all</title>
		<link>http://www.binrev.com/forums/index.php/topic/44929-one-search-box-for-them-all/</link>
		<description><![CDATA[hey guys i dug up my old account on here and need some advice.<br />
<br />
i'm trying to make a search box on my website that will search 2 or more other services online. basically returning an index of all options under one industry. <br />
<br />
i reckon something that would take info put into the search field and inputs it again into two other sites would be written in php right? i would want to do what cheaptickets dot com does where they show different prices under different vendors(expedia, travelocity).<br />
<br />
the services i'm trying to search have different interfaces. the input variables are fed to a javascript app(at least it seems that way).<br />
<br />
i've never been good at asking questions. as an example let's say that i want to make a search box that searches living social, group on, and grubhub for deals near me. what would something like that be written in? so i can start researching. i figure it's best to have the services crawl themselves instead of trying to make a crawler myself.<br />
<br />
any input is appreciated :D]]></description>
		<pubDate>Sat, 12 Nov 2011 23:46:55 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44929-one-search-box-for-them-all/</guid>
	</item>
	<item>
		<title>Make A Programming Langauge</title>
		<link>http://www.binrev.com/forums/index.php/topic/44909-make-a-programming-langauge/</link>
		<description><![CDATA[Hey All,<br />
<br />
Haven't been on here for a long time but recently started lurking the forums again.<br />
<br />
Anyway, I was wondering, someone has to make a programming language for it to exist, right? Right<br />
So how did they make them?<br />
And is it possible to make your own language?<br />
<br />
See I find that kind of confusing considering you need a language to make a program or compiler etc so how the fuck did they do it originally with nothing...I'm thinking binary code the 010110100.<br />
<br />
Anyway the idea I had was to make something more similar to the English language that a computer could use and understand thus making programming more simplified for English speakers. <br />
<br />
Thanks for any replies Powermaniac<br />
<br />
btw if any grammatical/spelling mistakes might have been because I typed this on my phone.]]></description>
		<pubDate>Tue, 01 Nov 2011 16:27:45 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44909-make-a-programming-langauge/</guid>
	</item>
	<item>
		<title>Turbine sensor data parsing</title>
		<link>http://www.binrev.com/forums/index.php/topic/44889-turbine-sensor-data-parsing/</link>
		<description><![CDATA[Okay, so I'm working with gas turbines which collect masses of data from thousands of sensors and I need to restructure some of this data. So I'm wondering if anyone has done something like this before:<br />
<br />
The data is stored in list format, in thousands of text files. The format looks something like this:<br />
<br />
<pre class='prettyprint'>SENSOR A
val A1
val A2
val A3
SENSOR B
val B1
val B2
val B3
...and so on.</pre><br />
<br />
Each file contains 1 day of data, and the file name is the date that the data was recorded on. Each file has around a million lines.<br />
<br />
I need to combine all these files, and restructure the data into this format:<br />
<br />
<pre class='prettyprint'>SENSOR A	SENSOR B	...and so on
val A1  	val B1
val A2  	val B2
val A3  	val B3</pre><br />
<br />
<br />
But there's a few problems:<br />
* Some more recent files have new variable names, and some discard old variable names. The gaps need to be filled in with "-1".<br />
* It's insanely resource intensive and ridiculous to iterate thousands of files to add a single new line in the new format.<br />
* I need to be able to specify date ranges and whitelist or blacklist variable names. <br />
<br />
Thoughts, ideas, suggestions?]]></description>
		<pubDate>Sat, 15 Oct 2011 02:11:39 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44889-turbine-sensor-data-parsing/</guid>
	</item>
	<item>
		<title>PhotoShop TE</title>
		<link>http://www.binrev.com/forums/index.php/topic/44888-photoshop-te/</link>
		<description><![CDATA[This is a simple image manipulation program i made in c#, if you have any questions feel free to ask, but i like constructive criticism and hopefully somebody learns something from this -- PhotoShop Tacky Edition :)<br />
<pre class='prettyprint'>
namespace ***Redacted****
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        //If the Load Button is clicked
        private void loadb_Click(object sender, EventArgs e)
        {
            //Open the file dialog and allow the user to pick an image
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                //Try to set the file they chose as the image in the picture box
                try
                {
                    pbox.ImageLocation = openFileDialog1.FileName;
                    //Enable the Transform button if it works
                    tb.Enabled = true;
                }
 
                //If the image setting fails, disable the transform button
                catch
                {
                    tb.Enabled = false;
                }
            }
        }
 
        //If the Transform! button is clicked
        private void tb_Click(object sender, EventArgs e)
        {
            //Load the image in the picture box as a bitmap
            Bitmap bmp = new Bitmap(pbox.Image);
           
            //Determin how large to make the progress bar
            progressBar1.Maximum = bmp.Height;
 
 
 
            //If the contrast radio is checked
            if (contb.Checked)
            {
                //Use nested loops to obtain coordinate of each pixel
                for (int y = 0; y &lt; bmp.Height; y++)
                {
                    progressBar1.Value = y+1;
                    for (int x = 0; x &lt; bmp.Width; x++)
                    {
                        //Get the color of the pixel
                        Color argb = bmp.GetPixel(x, y);
                        int R;
                        int G;
                        int B;
 
                        //Detect if the value is over 128 or not
                        if (argb.R &gt; 128)
                        {
                            //Make sure that the value won't go over 255
                            if (argb.R + (trackbar.Value / 5) &gt; 255)
                            {
                                R = 255;
                            }
                            else
                            {
                                //Change the R value to a higher one
                                R = argb.R + (trackbar.Value / 5);
                            }
                        }
                        else
                        {
                            //Make sure the value wont go under 0
                            if (argb.R - (trackbar.Value / 5) &lt; 0)
                            {
                                R = 0;
                            }
                            else
                            {
                                //Change the R value to a lower one
                                R = argb.R - (trackbar.Value / 5);
                            }
                        }
 
                        //Repeat for green
                        if (argb.G &gt; 128)
                        {
                            if (argb.G + (trackbar.Value / 5) &gt; 255)
                            {
                                G = 255;
                            }
                            else
                            {
                                G = argb.G + (trackbar.Value / 5);
                            }
                        }
                        else
                        {
                            if (argb.G - (trackbar.Value / 5) &lt; 0)
                            {
                                G = 0;
                            }
                            else
                            {
                                G = argb.G - (trackbar.Value / 5);
                            }
                        }
 
                        //Repeat for Blue
                        if (argb.B &gt; 128)
                        {
                            if (argb.B + (trackbar.Value / 5) &gt; 255)
                            {
                                B = 255;
                            }
                            else
                            {
                                B = argb.B + (trackbar.Value / 5);
                            }
                        }
                        else
                        {
                            if (argb.B - (trackbar.Value / 5) &lt; 0)
                            {
                                B = 0;
                            }
                            else
                            {
                                B = argb.B - (trackbar.Value / 5);
                            }
                        }
 
                        //Change the color of the pixel to its new value
                        argb = Color.FromArgb(argb.A, R, G, B);
 
                        //Apply the new color to the pixel
                        bmp.SetPixel(x, y, argb);
 
 
                    }
                }
            }
 
 
           
            //If the tint radio is checked
            if (tintb.Checked)
            {
                //Int for green
                int G;
                //Int for blue
                int R;
 
                //Nested for loops for iterating through every pixel
                for (int y = 0; y &lt; bmp.Height; y++)
                {
                    //Adjusting the progress bar based on how far along we are
                    progressBar1.Value = y + 1;
                    for (int x = 0; x &lt; bmp.Width; x++)
                    {
                        //Obtain the current pixels color
                        Color argb = bmp.GetPixel(x, y);
                       
                        //Initialize the values to zero
                        R = 0;
                        G = 0;
 
                        //Determin if the we want to tint red or green
                        if (trackbar.Value &gt;= 50)
                        {
                            //Set R to the proper value
                            R = argb.R;
 
                            //Ensure that the Value of G will stay within bounds as we adjust
                            if (((trackbar.Value - 50) + argb.G) &gt; 255)
                            {
                                G = 255;
                            }
                            else
                            {
                                //Adjust the green value based on how much tint we want
                                G = argb.G + (trackbar.Value - 50);
                            }
                        }
 
                        if (trackbar.Value &lt; 50)
                        {
                            //Set G to the proper value
                            G = argb.G;
 
                            //Ensure that the Value of R will stay within bounds as we adjust
                            if ((50 - trackbar.Value + argb.R) &gt; 255)
                            {
                                R = 255;
                            }
                            else
                            {
                                //Adjust the red value based on how much tint we want
                                R = argb.R + (50 - trackbar.Value);
                            }
                        }
 
                        //Change the color of the pixel to its new value
                        argb = Color.FromArgb(argb.A, R, G, argb.B);
 
                        //Apply the new color to the pixel
                        bmp.SetPixel(x, y, argb);
                    }
                }
            }
 
 
 
            //If the black/white radio is checked
            if (bwb.Checked)
            {
                //Double used to average RGB
                double ave;
                //Ints used to set RGB at the end of calculations
                int Ri;
                int Gi;
                int Bi;
 
                //Doubles used in calculations so we dont round
                double R;
                double G;
                double B;
 
                //A percentage based on how much greyscale we chose
                double p = (double)trackbar.Value / 100;
 
                //Nested for loops used to iterate through each pixel
                for (int y = 0; y &lt; bmp.Height; y++)
                {
                    //Adjust the progress bar
                    progressBar1.Value = y + 1;
 
                    for (int x = 0; x &lt; bmp.Width; x++)
                    {
                        //Get the color values of each pixel
                        Color argb = bmp.GetPixel(x, y);
 
                        //Assign the values to the respective double
                        R = argb.R;
                        G = argb.G;
                        B = argb.B;
 
                        //Determin the average
                        ave = (R + G + B) / 3;
 
                        //Cast the calculated black and white values to integers
                        Ri = (int)(R + ((ave - R) * p));
                        Gi = (int)(G + ((ave - G) * p));
                        Bi = (int)(B + ((ave - B) * p));
 
                        //Change the color of the pixel to its new value
                        argb = Color.FromArgb(argb.A, Ri, Gi, Bi);
 
                        //Apply the new color to the pixel
                        bmp.SetPixel(x, y, argb);
                    }
                }
            }
 
 
            //If the noise radio is checked
            if (nb.Checked)
            {
                //A random number to be used to generate noise
                Random rnd = new Random();
 
                //Red value
                int R;
                //Green value
                int G;
                //Blue value
                int B;
 
                //Nested for loops used to iterate through each pixel
                for (int y = 0; y &lt; bmp.Height; y++)
                {
                    //Adjust the progress bar
                    progressBar1.Value = y + 1;
 
                    for (int x = 0; x &lt; bmp.Width; x++)
                    {
                        //Get the color of each pixel
                        Color argb = bmp.GetPixel(x, y);
 
                        //Generate and add a random component to each value of RGB
                        R = argb.R + rnd.Next(-trackbar.Value,trackbar.Value);
                        G = argb.G + rnd.Next(-trackbar.Value,trackbar.Value);
                        B = argb.B + rnd.Next(-trackbar.Value,trackbar.Value);
 
                        //Ensure the R value is within bounds
                        if (R &gt; 255)
                        {
                            R = 255;
                        }
                        if (R &lt; 0)
                        {
                            R = 0;
                        }
                        //Ensure the G value is within bounds
                        if (G &gt; 255)
                        {
                            G = 255;
                        }
                        if (G &lt; 0)
                        {
                            G = 0;
                        }
                        //Ensure the B value is within bounds
                        if (B &gt; 255)
                        {
                            B = 255;
                        }
                        if (B &lt; 0)
                        {
                            B = 0;
                        }
 
                        //Change the color of the pixel to its new value
                        argb = Color.FromArgb(argb.A, R, G, B);
 
                        //Apply the new color to the pixel
                        bmp.SetPixel(x, y, argb);
                    }
                }
            }
 
            //Load the bmp to the picture box again
            pbox.Image = bmp;
        }
 
        //When the contrast radio is checked
        private void contb_CheckedChanged(object sender, EventArgs e)
        {
            //Set the trackbar and labels to the proper values
            trackbar.Maximum = 100;
            trackbar.Value = 0;
            label1.Text = trackbar.Value.ToString();
            label2.Text = "";
            label3.Text = "Less";
            label4.Text = "More";
        }
 
 
        //When then tint radio is checked
        private void tintb_CheckedChanged(object sender, EventArgs e)
        {
            //Set the trackbar and labels to the proper values
            trackbar.Maximum = 100;
            trackbar.Value = 50;
            label3.Text = "Green";
            label4.Text = "Red";
        }
 
        //When the B&W radio is checked
        private void bwb_CheckedChanged(object sender, EventArgs e)
        {
            //Set the trackbar and labels to the proper values
            trackbar.Maximum = 100;
            trackbar.Value = 0;
            label1.Text = trackbar.Value.ToString();
            label2.Text = "";
            label3.Text = "Less";
            label4.Text = "More";
        }
 
        //When the noise radio is checked
        private void nb_CheckedChanged(object sender, EventArgs e)
        {
            //Set the trackbar and labels to the proper values
            trackbar.Maximum = 100;
            trackbar.Value = 0;
            label1.Text = trackbar.Value.ToString();
            label2.Text = "";
            label3.Text = "Less";
            label4.Text = "More";
        }
 
        //When the trackbar value changes
        private void trackbar_Scroll(object sender, EventArgs e)
        {
            //If any of the three radios are checked do this
            if (contb.Checked || bwb.Checked || nb.Checked)
            {
                //Set the trackbar label to the value of the bar
                label1.Text = trackbar.Value.ToString();
                //Set label2 blank
                label2.Text = "";
            }
            if (tintb.Checked)
            {
                //When the value is above 50
                if (trackbar.Value &gt;= 50)
                {
                    //Make the label say Green
                    label2.Text = "Green";
                    //Set the value of the trackbar label to a positive integer based on its distance from 50
                    label1.Text = (trackbar.Value - 50).ToString();
                }
                if (trackbar.Value &lt; 50)
                {
                    //Make the label say Red
                    label2.Text = "Red";
                    //Set the value of the trackbar label to a positive integer based on its distance from 50
                    label1.Text = (50 - trackbar.Value).ToString();
                }
            }
        }
    }
}
</pre>]]></description>
		<pubDate>Sat, 15 Oct 2011 01:20:30 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44888-photoshop-te/</guid>
	</item>
	<item>
		<title>Sndvol.exe interaction, python</title>
		<link>http://www.binrev.com/forums/index.php/topic/44802-sndvolexe-interaction-python/</link>
		<description><![CDATA[Hey everyone, recently Ive been attempting to create a python script which can interact with sndvol.exe(the volume control) in windows7.<br />
So far this I have opened the program using os.popen('sndvole.exe', 'rw'). From here, does anybody know a way to raise/lower the volume on the computer?? Thanks for any help.]]></description>
		<pubDate>Thu, 11 Aug 2011 14:15:32 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44802-sndvolexe-interaction-python/</guid>
	</item>
	<item>
		<title>The beginning of a secure function to get data from stdin</title>
		<link>http://www.binrev.com/forums/index.php/topic/44783-the-beginning-of-a-secure-function-to-get-data-from-stdin/</link>
		<description><![CDATA[According to the title of the topic and following lattera's examples and advice, I've created a simple(very simple guys, but I want to improve it as soon as I can) function that I've called SGETS( Secure Gets function) which for the moment could manage to get data variables like float, int, double and char without any problems of security using properly fgets and sscanf functions!<br />
Certanly, it is  a very bad implementation of the program but for the beginning I'm quite satisfied of it but I want to receive some interesting advice in order to improve that program and make it better and better but firstly efficient!<br />
I hope that you will answer to this post and I'm here waiting for you tips and critics!!<img src='http://www.binrev.com/forums/public/style_emoticons/dark/).gif' class='bbc_emoticon' alt=':)' /><br />
AlexZ<br />
<br />
<a href='http://www.2shared.com/file/ojBEv2cL/sgetstar.html' class='bbc_url' title='External link' rel='nofollow external'>SGETS.tar.gz</a>]]></description>
		<pubDate>Fri, 29 Jul 2011 14:46:29 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44783-the-beginning-of-a-secure-function-to-get-data-from-stdin/</guid>
	</item>
	<item>
		<title>Anyone from San Diego that is willing to teach me more on coding ?</title>
		<link>http://www.binrev.com/forums/index.php/topic/44766-anyone-from-san-diego-that-is-willing-to-teach-me-more-on-coding/</link>
		<description><![CDATA[Hi all,<br />
  Im currently living in San Diego, CA and i know no one..well not any coders or hackers that is. Anyone willing to teach?]]></description>
		<pubDate>Thu, 21 Jul 2011 22:41:04 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44766-anyone-from-san-diego-that-is-willing-to-teach-me-more-on-coding/</guid>
	</item>
	<item>
		<title>Keylogger programming</title>
		<link>http://www.binrev.com/forums/index.php/topic/44736-keylogger-programming/</link>
		<description><![CDATA[foreword: I don't know if this is the right forum, if not, please move it along to the correct one.<br />
<br />
Hey there,<br />
<br />
I'm seeing that using already made and spreaded hacktools are a pain in the ass such as iStealer, etc., unless you have a good/private crypter, which I don't have and can't efford it atm.<br />
<br />
Therefore I think I'll give a try to make my own programme, I improve my skills as programmer and it is probably to cheat AVs.<br />
<br />
In order to make a move in this tool development, i need help regarding <strong class='bbc'>how</strong> the information retrieve from programs such as Firefox, etc. I've made a simple keylogger which records every keystroke but that's really heavy and not pratical for reading and store data, so I want to ask you if you have any idea how to for eg iStealer works when it's time to pull the data from programs.<br />
<br />
Thanks in advance.]]></description>
		<pubDate>Thu, 07 Jul 2011 13:17:27 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44736-keylogger-programming/</guid>
	</item>
	<item>
		<title>Telit GT863-PY GPRS Command Mode Receive Problem</title>
		<link>http://www.binrev.com/forums/index.php/topic/44713-telit-gt863-py-gprs-command-mode-receive-problem/</link>
		<description><![CDATA[Hi,<br />
I am connecting to a TCP server using GPRS. I send data to and receive data from that server. The connection is in command mode, not online. I use AT commands #ssend to send and #srecv to receive data. To get that incoming data i use MDM.receive(timeout) function and if the received message contains 'SRING' that means data came from server. The truoble is that; when i send data to server first time i receive the reply successfully but for the second time i can not get the reply to the data i sent. Normally server replies in max. 10 seconds but although i tried large numbers like 120 s for timeout i get the reply so far time from the moment that i am supposed to. In fact server sends reply to the data i sent firstly in a normal time period, less than 10 s. There is a trouble with the second time of receieving reply. What may the reason for that be?]]></description>
		<pubDate>Wed, 29 Jun 2011 12:00:29 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/44713-telit-gt863-py-gprs-command-mode-receive-problem/</guid>
	</item>
</channel>
</rss>
