VS 2008 Make Application Encrypted Of Decompiling?
Dec 19, 2009
9Rays.net application decompiles my .exe file back to source code.1. I compile my application.2. I start 9Rays Decompiler.3. It decompile my code.4. I get my source files without sourcecode.
I am attempting to find some code to use in VB.NET to decrypt a string that has been encrypted using the Java crypto libary.All of the code I have found so far uses an Initialisation Vector and Key to decrypt but the string has been encrypted using the Key only. (Using an Initialisation Vector is apperently an optional step in Java).Does anyone know of code that I can use (preferably in VB.NET but i could convert C#) to decrypt AES 128 Bit encoded string without an Initialisation Vector?
The ildasm.exe will decompile any dot net exe or dll. At present i am using Dotfuscator Community edition to Obfuscate the code. is there any better option than Dotfuscator? Can any one suggest a better software to Obfuscate the build?
I need a way to decompile/extract some actionscript from a VERSION 9 SWF file. Preferably it needs to be able to extract only a certain 'part' (i dont no what to call it!) from the 'tree' of action script.
is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
I'm working on a way to authenticate users in my app, and what I've come up with is the following method.To write to a database, the user must have an account in SQL server 2008. However, I still want people to be able to view the application if they don't have access, but only read, they can't sync any changes. This is working well, as I have a string array hard coded containing approved users:
Dim Users() As String = {"BWANG", "EDASALLA", "ERICHARDSON", "HALONZO", "JCHAPMAN", "SKIM", "PMACK"}
The one problem with hardcoding is that if I need to ever add a user later on, I'd have to release an update to the program. (which isn't hard as I already have updating built into the app, and users can still download updates even if they can't sync.)
What I'd like to do, is use an encrypted .dat file that contains the user names, and store that with the application, so that i could always be added to, and only one file would need to be downloaded.
I have code in place to encrpt and decrypt the .dat file (called users.dat) and this code works for single text entries in the file. I need to figure out how to load a list however into the array in place.
Imports System Imports System.IO Dim userfile as String = "C:users.dat" Dim Users() As String = Data.Decrypt(File.ReadAllLines(path))
Basically each line in the file will have an encrypted user name, and i want it to decrypt each line and store it back into that authorized user list.
I am wondering if it is possible to read in the encrypted value of a Windows users password so I can preload a textbox with the value? I have a checkbox on my .NET form -> Use Workstation Logon. When the user checks this box, the username and password fields are populated respectively.
Im doing a lil coding project in vb .net, i wrote up my login script and can can successful connect to a mysql database (not talking about the wordpress one) and pull login data from a table(called logins, fields are just username and password) to use for logging into my application. When i looked at the password fields in the wordpress database all the passwords are like encrypted and are random characters.
So the problem is im not sure of what type of encryption it is, and how I can utilize it for my login form in my vb project. I havn't tried coding this since i was certain if it was possible.
Thats the very basic thing & there should be like a template for this & after searching google & VBhelp file for like 3 hours I still cant find how to do it.Let me get to point:I want execute exe, it will decompress a file & exit.I have code, it works. but the CMD console window keeps popping out every time I launch my exe.How can I make No gui application? Im using vb 2008 express
Imports System Imports System.Collections.Generic Imports System.IO
I made a application that will find all the cache from Google Chrome.It works but with a problem. The problem is that each OS stores the cache under different folders for example.
Windows Vista stores it at.strUserDir & AppDataLocalGoogleChromeUser DataDefault Windows 7 stores it at.strUserDir & AppDataLocalGoogleChromeUser DataDefaultCache
And Windows XP stores it here.strUserDir & Local SettingsApplication DataGoogleChromeUser DataDefaultCache
So my question is how can i write a code that will work on all of the 3 operating systems.I was thinking of using the Environment method but i'm not sure.
I am doing work for a client who has lost the source code for one of their VB.Net WinForms applications. The assembly they have is not obfuscated at all. I am trying to recover as much of the source as I can as C# source and have tried several tools for decompiling assemblies, including Reflector, ILSpy and JustDecompile (all the latest versions), but they all produce code with a huge number of errors in them. Because of the large number of errors in the generated code, I am going to ask about the specific errors (in different questions), get more directed answers and in this way try shed some light on why all the tools are having difficulty decompiling this assembly. This question pertains to the fact that the code generated by all these tools always have a large number of invalid member variables (fields) such as the following:
private short $STATIC$Report_Print$20211C1280B1$nHeight; private ArrayList $STATIC$Report_Print$20211C1280B1$oColumnLefts; private StaticLocalInitFlag $STATIC$Report_Print$20211C1280B1$oColumnLefts$Init;
why the generated code has these invalid member variables?
I am trying to make a gif maker application,this was the idea: I have 5 pictureboxes on the form 1 Final picturebox User adds 2-5 pictures on form and after that it presses a button that starts a timer The timer it's for the final picturebox to like show 1 picture than hide it and show the next.. I dont know the timer code... The code I added till now looks like this:
Dim str As String 'for the number of pictureboxes Button"AddPicture"- dim open as new openfiledialog
[Code]....
maybe Ur own aplication that makes from multiplme images a gif and save it as .gif and give me the source
I am trying to make a web application in VB.NET using Visual Studio 2008 that will accept login credentials and compare them with an Access database for authentication/validation. I found lots and lots of examples for how to do this with a Windows Form App, but none with a ASP.NET Web App. tried to modify the steps for a web app but I'm not sure how to make it work. The database connection is good and the query seems to work fine. Here's where I'm having trouble. In the tutorial, he says to use:
01 Private Sub But_Validate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Validate.Click 02 Private Sub But_Validate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Validate.Click 03 Dim r = Me.UsersTableAdapter1.ValidateUserNamePassword(Me.Txt_UserName.Text,Me.Txt_Password.Text)
[code]....
No matter what I put in for the username and password (as long as they are valid values) I always get a "success," never a failure. I know my query is working right because I put a gridview on the page and bound it to the result from the query; when I type in a user/pass that is not in the database the gridview is blank, when I type in a correct user/pass the gridview displays that row from the database.
I want to make a program that's constantly running on the background and when I hit a specific combination of keys (example ctrl + alt + A) on any application it does *stuff*.
i'm trying to make an application using ms access database. This application is for our class, simply to enter students data and institutions details. However, i got stuck with combo; here is my question and the application background?
I have a database named "StudentData" with table "StudentDetails" with "RECNO" which is Auto Numbered (and is Primary key) and a number of different fields which accepts Students Name, class, accedemic year and so on.
What i want to do with the RECNO is, i want to make a combobox which will be filled with the record number of the students, when i click on any number from the dropdown list, i want the other fields like the txtName (for students name), txtClass, txtACYear etc to be field with each RECNO they belonged to.
My Visual Studio 2008 seems to be corrupted. I can not use the Windows Forms designer. I get an error about: "Make sure the application for the file type (.vb) is installed." Also, under menu item Tools>Options, it says "an error occurred loading this property page" when I try to look at the options for 'Data UI Customization' under 'Windows Forms Designer'
im trying to make a win form application using visual studio 2008 express edition (which is free to download and install).i have installed a ms sql server 2005 on the local server at LAN. i want to display a combo box values from a table inside a database but i dont know how i can do this with ms sql connection string and where i have to store dat connection string. i have googled around but nothing useful found. where the connection string will be stored and if this form is not on the same computer (where the sql server installed) then wat will happen? the connection string will be changed?sql server is installed at windows server. im trying to make an application which runs on the same network (local i.e. LAN not on web server).
I was thinking I could make a console application that would have a FileSystemWatcher - watching for a .BAT file being created in a folder - and when it sees that file it does a PROCESS.START on it. But I'm seeing that a console app doesn't continue running.
Imports System.IO Module awcWatcher Sub Main() Dim fsw As New FileSystemWatcher("D:ACS DesktopAWCeportingstaging") fsw.NotifyFilter = NotifyFilters.FileName Or NotifyFilters.LastWrite [Code] ..... How would I go about making this wait and then wait again and again and again?
I am trying to stop the following piece of code from taking up too much processing power of the PC by using threads. But I keep getting errors when I use threads:
im trying to make a little application that will read an fps server chat log.the chat logs are plain text files that come in the format :
Billy says: yada yada yada Bob says: mooo
on certain key phrases (which will be user defined) it will reply (also user defined) now my problems. (there are many). most of which stem from not actually knowing any syntax for this language.firstly im suffering something of a huge brain fart with trying to read only the last line. i have it currently reading though the whole file and counting line numbers but then i just hit a wall . what do i do with the line number? i cant find a simple way to stop and come then have it check again after a couple of seconds for a new line? allegedly filestream can seek the end of the file however all my attempts to do anything with filestream have met with absolutle failure.
this is what i currently have for this, and it works to some degree
FileReader = New IO.StreamReader(OpenFileDialog1.FileName) Do While FileReader.Peek <> -1 txtln = FileReader.ReadLine()
[code]....
i have the remnants of both the options ive considered in there, and its almost doing what i need it to . i just have no idea what to put into the last section to make it wait for another line to be added to the text file, or use the linenumber to make it check back from there for more lines. i cant seem to find a wait/sleep/pause so i just dont know.
my other problem is one of file access. i am aware of some properties of filestream that allow for a shared read/write access for other programs . however as i stated before . i have had no success even getting this simple peice of code to work with filestream.
Okay so i made a small code that my application can check for updates onstart time. The problem is that it freeze up the application. How can i make it work faster.
Ive got my application running at startup on my computer. But how can i make my application start up on any machine ? Do i need my app to create a reg key ? Also what path do i use for it to start up on other machines ?
Heres the code im using to start it up on my machine.
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing If CheckBox1.Checked = True Then
I'm currently making a text editor, and I wanted to make my application accept arguments from the command prompt, you know <Directory>myapp.exe <textfile>. How can I do this?