Convert C# Anti-csrf Module To VB?
Sep 23, 2010
I have code that for a module that prevents csrf attacks by attaching a token to each page. The code is in C#. Can ayone change this to vb for me. I have tried using a converter but the the code produced doesnt work.[code]...
View 3 Replies
ADVERTISEMENT
Oct 31, 2009
Are there any good websites that would teach me how to make a anti-virus and anti-spyware scanner in vb 2008 express
View 2 Replies
May 21, 2011
I have a single solution with 2 projects. One project contains all my forms and some other modules and the other project has 1 module with 1 giant class in it. I try to click on properties and change the output type, but it won't let me make it a Class Library, the only 2 options are "Windows Application" or "Console Application". The startup object is the module, and the project has references to a socket component.
View 2 Replies
Aug 7, 2011
i want to extend the integer class to a method that increments current integer value by 2. I create a console application and a second module which contains the extension method.
Imports System.Runtime.CompilerServices
Module StringExtensions
<Extension()>
[code]....
and everything works fine. The extension method module can be imported to any other project (Project-->add existing item --> select the vb file that contains the extension method module) and works fine too. But the code is accessible to other users. Is there a method to convert the extension method module to a dll and adding it to other projects as a reference. I tried to do it with creating a class project and pasting the code of the extension method module and compile the dll and then added it as reference to another project and imported the class with the keyword imports, but it didn't work.
View 5 Replies
Nov 19, 2009
Are there any known sofware approaches to anti-keylogging,that defeat both hardware and hook based loggers? While I was thinking about my next article, and the current ones, something dawned on me, that I had started before but never got to finish.After doing some research I verified that an On-screen keyboards, avoids most if not all hardware loggers, but the consensus is that their messages can still be hooked and stolen.Well maybe not so fast....
However, in my sendkeys article,the program could identify which keys were sent by my module, versus some other source.I used the integer -11, in the getextrainfo param, so that in my hook, I could know to allow my simulated keys, and block others that may interfere. Works great. I just used -11 for the heck of it.So, the idea is that we don't have to use -11.A sequence of random numbers could be generated by the osk.This provides some anonimity, to start with.But, the clincher is that when our user keys are detected by our osk(ourself basically), we simply insert 0-5 random keys, flooding the enemy logger with useless information in the que. Bingo!Sure they logged your keys, but can they read em? Nah.
The zero through five would not be fixed, but fluxuating, so it's not equidistant.I just picked them so as not to over flood the que for no reason. That is enough to obsure the password being typed.
View 5 Replies
Aug 16, 2010
how we can declare a connectionstring in a module and call that module
View 1 Replies
Jul 14, 2009
I'd like to make a program similar to Forensics Anti-Executable...Except i know of some methods like the registry method, but i see that there are many vulnerbilitys and i'd like to know how to make it wheere it cheacks with my app if its ok to execute the program trying to run...like if i had this program running and i tryed to run notepad it would give you a dialog requesting for a password and login. also have this work with the registry like if an installation is creating a new key or editing or deleting a regestry entry to notify and ask for permission.
I just have ideas of how i want my program to run but i dont have a clue to how to do it...I also am planning on making this a windows forms application. [URL]
View 7 Replies
Sep 1, 2011
im creating an anti keylogger using on-screen keyboard and its work. but the problem is keylogger still can captured the keystroke. So i want to know what code should i add in my program. this is my code so far
[Code]...
View 2 Replies
May 23, 2011
the Background of my form is a image and the text very big. when it is bigger it doesn't look good how do i apply Anti-aliasing on the text so that it will look good?
View 8 Replies
Aug 16, 2011
In Reporting Service, I need to have a vertical, starting at bottom, bottom-to-top, horizontally middle aligned text.The only way to do this is to create an image in code, and set this image into the title column.See the code below.Basically, it works fine, just that the anti-alias quality is pretty crappy.Is there anything I can do to improve it ?The vertical text is somehow pale, and not full black, and also there is smearing all around the text, in the background color.As well as it appears bolder than the text on the left, but both have format arial, size 8, bold I've tried all other values of System.Drawing.Text.TextRenderingHint.*, as well as no anti-alias at all but the current one seems to be the least crappy.I've also tried to change the image format, to no avail:
Function LoadImage2(ByVal sImageText As String, ByVal sImageTextMax As String) As System.Drawing.Image
sImageTextMax = sImageTextMax.PadRight(15)
Dim iFontSize As Integer = 8 '//Change this as needed
[code]....
View 3 Replies
May 14, 2010
give me anti virus code for vb.net
View 1 Replies
Aug 22, 2009
Would it be possible to make an anti virus program in vb?
View 2 Replies
Dec 16, 2009
Is it possible to make an anti-virus in vb? Like for example the ability to scan through many files and find the memory encryption of each. (What i meant was like 442FSET5, Something like that). And the possibility to remove all files related to the specific virus or code?
View 1 Replies
Apr 21, 2009
I was thinking you could have a database with all the Viruses then it runs through the system and checks for any.
View 1 Replies
May 2, 2011
I am trying to make a Anti-virus program. I know how Viruses work and how anti-viruses work but i don't know how to make them. So if anyone can give me a Anti-virus program sample in VB if can. (I don't really work with C#, C++, C)
View 2 Replies
Dec 3, 2008
how can i make anti virus software in .net?
View 12 Replies
Jan 26, 2009
give me the source code for antivirus i just want a hint and i can finish the rest?
View 14 Replies
Sep 12, 2009
I'm developing a new Anti-Virus with a more friendly interface. I looked on youtube, and i followed the example of a Fake Av, but i'm making it real, with scaning options. So, down are some use-full informations,before asking:It's a three forms application, so down i'll post the hole code, for future askings:Form 1:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
End Sub
[code]....
So, when i choose a drop-down option from the combobox and hit scan key, the AV will scan the listed files, and also show to a listbox in the 2nd form, when i hit clean viruses. It's a little bit complicated, it hink, but it must work. Another problem is that, the timer isn't setted for when fnishing scanning the system files, but is setted after a period of time. I want it, to Stop when the AV finsihed scanning dor the suspicios files and folders, if they exist.
View 8 Replies
Jan 30, 2010
I wanted to get some insight from you all on if an Anti-Cheat Engine is possible to create in VB. I know that if it can be made, it would be a long and arduous task, but well worth it.
I'd also like to know what features I would have to implement for it to be a good anti-cheat engine.
Since there would be no GUI, would I just make it as a service? or would I make it as a normal app without a GUI? I think if I make it as a service, the User could just turn it off.
The engine itself would be for a C++ game.
View 10 Replies
Sep 24, 2010
I'm try to make a simple small Anti-Virus application. This is not for commercial use. Just to test it, and maybe learn something that will help me in the long run.First, please don't reply by saying "C#" or "C++" is suggested for such as task.This is just a test application. Lets start with simple stuff such as "virus signature"I found this example: Which i believe reads the file, and checks for the sample signature.
VB.net
Function detect() As Boolean
Dim file() As Byte = {1, 2, 3, 4, 5, 6, 7, 8, 9} 'sample file
Dim virus() As Byte = {4, 5, 6} 'sample signature
[code]....
Third, then what i read was that i have to get arbitrary string of bytes as the signature.Which i needed to use hexadecimal editor to view such data.how can i detect virus file, from normal file.
View 10 Replies
Aug 12, 2010
The server response was: 5.5.1 Unrecognized command. p14sm1462998ybb.9I'm using AVAST, but I need a solution that will work for all anti-virus programs.In Avast, there is a setting to deactivate the shields for 10 minutes. With the shields down, my email sends successfully, but this leaves my computer with no protection for that 10 minutes
View 4 Replies
Jun 6, 2012
"how to do anti-bypass firewall using Service"
some way bypass the firewall, such as using : software Ultrasulf , Proxy-Server , Web-Proxy
In this case , i will anti-bypass firewall on Proxy-Server and Web-Proxy , i will write a services in window
I think it as same : First , capture package with IP-Address , then request from proxy-server . Second ,very importanly , in here , we compare with IP-Add is truth , if IP-Add not truth , at list Block IP-Add , else accept to request to website
View 1 Replies
Sep 14, 2009
I have a program that will let you open a certain table in the database and query it on a child form in a MDI parent form. Of course the child form is a new instance of an existing form.The thing I want to do is that the opened table in the child form cannot be reopened again in the other child form. So I did was to create a childform name on every new instance of a childform depending what is the name of the table.
The first thing I did to do this restriction is to put the names of the opened table to an public array and when the user tried to reopen the table, the program will check if the childform name is already existing... and if it exist it will not let the user to open the table in new childform.When the childform is close it will erase it's name to the public array. And it can be open again.If you don't understand what I want to do this is the situation for example in a microsoft office when a word document file was open it will be put in a childform, and when the user tried to open the word file again and still the word file is open in the microsoft word the application will tell it's user that the word document file is still open.
View 3 Replies
Mar 8, 2011
I just want to ask if what is better to do, if I want to detect a certain program that uses cheat? Do I need to use a Process to kill or GetModuleHandle?, and give me some advice and some simple codes or hard core samples, for me to analyze what is the best way...
[Code]...
View 3 Replies
Oct 20, 2010
I was thinking of making a anti-file duplication system for my PC. I feel that i have a lot file duplicates so finding them would be nice.
View 12 Replies
Jan 28, 2009
I'm making a anti hack for a game, and i want to kick one that is connected on game and deny it from connect again.
View 2 Replies
Apr 27, 2012
I have a VB.Net interface that communicates with an Access 2k3 Database using this module:
Module MOD_ENGINE
'Declare Database connections controls
Dim con As New OleDb.OleDbConnection
Dim dbProvider, dbSource As String
[code]....
I want to call EngineConnect procedure from MOD_ENGINE module into popCboBox module so I can ignate the engine!
View 3 Replies
Feb 22, 2010
See where my vb.net equivalent of a working c# assignment statement is not working?
bytes(i / 2) = Convert.ToByte(hex.Substring(i, 1), 16)
Here's the c# followed by the vb.net function.
private byte[] StringToByteArray(String hex)
{
int NumberChars = hex.Length;
byte[] bytes = new byte[NumberChars / 2];
[CODE]...
And the vb.net that is throwing the error within the for loop
Private Function StringToByteArray(ByVal hex As String) As Byte()
Dim NumberChars As Int16 = CShort(hex.Length)
[CODE]...
View 2 Replies
Oct 15, 2011
I would like to know how to use module, why we need to use module and when to use module. I've tried to use module but some of my textboxes, labels and other controls didn't recognize by the module i've created.
View 5 Replies
Dec 8, 2009
How do I use a module?
View 3 Replies