Pointers For A Web Sniffer/auto Responder?

Sep 11, 2011

I'm looking to make a simple web traffic sniffer that will automatically reply toauthentication requests from a predefined source, but I'm not entirely sure how tostart/what I am looking at my self here.I guess it's easier to explain if you have a short backstory;I use WebDAV, but Windows does NOT have good support for this (lacking Basic auth support, and Digest support being flawed at best), so you are forced to manuallyauthenticate with a username and password every time you open a file, when you start your computer or a word document (for example) loads resource such as images (imagine writing yoru username and password for every image in a powerpoint!).

View 2 Replies


ADVERTISEMENT

Custom GMail Vacation Auto-Responder (Using IMAP)

May 20, 2009

I've always found deeper-knowledge articles elsewhere, but your community is the most co-operative and your forum article-editor is the best.I'm a Systems Engineer who works in an Anonymous Company. My indirect supervisor (my boss's boss) wanted to have a custom GMail Vacation Auto-Responder that would:Have a list of involved GMail accounts.2- Connect to GMail and identify unread messages.3- Auto-Reply to the senders of those unread messages with a custom auto-reply template.Well, this could have been done easily using the GMail Atom Feed url... but since the atom only provides access to the very latest 20 unread messages, it could not be used for that purpose.

So, I had only one of two choices, either use POP3 or IMAP. Of course, IMAP was the right candidate for many considerations, the most prudent of which is its resourceful command-set. I had to design the tool (a Windows Service in this case) with minimal data transfer/session time in mind, because Google becomes touchy when you over-use IMAP with its servers.I was new to the whole Socket/IMAP thing, so I had to get my feet wet. I designed the tool, planned it well, and thought the best work-flow would go like this: Well, my boss's boss had some comments - that he never really declared which makes them IMPLICIT :D :D :D - on the way the tool works, but he decided to spell the word only when I announced that my proto-type code is done. He is not supposed to be technically involved - I mean into code - although he really involves himself into bits and bytes, and he has not even seen the code, not to mention that he might not fully understand it, but yet somehow he declared that what I did was a waste of time.[code]

View 5 Replies

VS 2010 Email Auto-responder - Open New Email On Gmail?

Oct 12, 2011

I am development a small app for auto response all new emails with custom responses. My problem is that I don't know how open the email (make click on the subject link) on gmail. I am using web browser control, so I need to know how make click on the email titles for open each emails.

View 3 Replies

Make A Packet Sniffer That Will Give SSL Packets

Oct 11, 2010

I need to make a packet sniffer that will give me SSL packets. It doesn't need to give me any other information than the body of the packet, the actual data being sent to me. It does not need to differentiate between different IP addresses. And, it doesn't even need to differentiate between things which are and are not SSL packets. Any packets will be fine, it just needs to support SSL packets. The fewer lines of code the better...

View 5 Replies

VS 2005 : Avoid Packet Sniffer To Pick Up The Outcoming Connection Details?

Aug 17, 2010

I am thinking of creating a code to allows my project to pass through the port forward without the outcoming connection details being pass on the third party software such as packet sniffer.Is it possible to avoid packet sniffer to pick up the outcoming connection details?

View 2 Replies

VS 2008 Uploading Files With FTP Then People Can Always Read My Information With Network Sniffer

May 20, 2009

Well when i am uploading files with FTP then people can always read my information with a Network Sniffer.Thats why i now want to solve it with a PHP-Script now:This is the information when i upload a file:everything that is red i do not understand i tryed it then with the code below but doesent work. [code]

View 3 Replies

Write An Url Sniffer Type Application Like Firebug - Obtain The Headers Using The Method?

Dec 14, 2009

I'm going to write a url sniffer type application like firebug, just for the exercise.I have used httpRequest/response in the past and wonder how i could obtain the headers using this method? or perhaps i need to be going down the root of sockets which i know nothing of value about? perhaps it can be done using webbrowser too.

View 1 Replies

Manage Pointers In .Net?

Dec 15, 2010

Id'like to pass some variables (string and integers) to a class, and when I call a method of that class, it has to change the original variable.I know it was not impossible in C#, but I'm using VB2010, I made a C# project into my solution, but methods using pointers are hidden into VB. How can I make that kind of change?

An example:

Sub ChangeValues()
Dim A As Integer = 1, Str As String = "Start String"
Dim X As MyClass(A, Str)
X.ChangeInt(2)

[code]....

View 11 Replies

Simulating Pointers In .Net?

Jun 9, 2010

have a 2d array of structures that holds about 5 or 6 details on each cell. The array size will not be known at compile time so I am using ReDim to resize it. I also have a list (think I have it as an arraylist actually but shouldn't matter really) that I would like to hold a pointer to one of the 2d array elements (as well as some other info). The list is a much smaller subset of the 2d array. The reason I am doing this is that the list needs to be sorted based on some data in the 2d array that will be changing. I don't want to have to search through the list each time to update the values as these lists and arrays can potentially be very large.

Maybe there is a better way to handle this but even if there is I would like to know how to simulate pointers in VB.Net. I know there are IntPtr's and references that I could probably use but I have no idea how to do it with dynamic arrays of structures. I'm familair with pointers from C++ but this is the first time I have tried to use (or simulate since there seems to be no real support for them) in VB.Net.

Not sure how clear that was so here are some snippets of the data types involved and some initialization.

Code:
'structures that are in the 2d array
Structure SearchNode

[code]....

View 6 Replies

Multidimensional Arrays / Vectors And Pointers?

Oct 15, 2011

I'm looking for something similar to using vectors and pointers that I've used before in C++; unfortunately, it doesn't seem like there's an equivalent function in VB.net.What I have is a copy of the array behind a multi-line Rich Text Box, and I need to separate the words from each line (or element of the array) so I can analyze each one separately.In C++ I would do something like this, so I could continuously expand as needed:

[Code]...

View 6 Replies

Pasing GridView Pointers To Other Forms

Feb 3, 2012

i am new to commercial programing (and this site) I am currently studding Computer science at a university and i have hit my First roadblock.I am currently developing an application that displays a Table on one Form1 in a Read-Only format and a second Form2 which will only be displayed if after selecting a row on the Grid-View of Form1 you press an Edit button.We are doing that to avoid the User editing the DB in large. The Form2 is populated by a details view of the Table with no controls to change row on the table.What i am trying to accomplish is passing the information of which row was selected in Form1 to Form2 thus making it the current row and subsequently the only one been edited. Currently most things work but as soon as Form2 shows (Form2.show()) it will only display the first row of the database.I want to know if there is a way to "sync" the two indexes.

View 3 Replies

Pointers - Accessing Variable Addresses In .NET?

Dec 23, 2009

I have to upgrade a legacy VB6 app to VB.NET; this app uses a function call from a .dll that takes a memory address as one of it's parameters. The VB6 app does this with the VarPtr() function, but this function does not exist in .NET. How do I retrieve the memory location of a variable in .NET?

[Code]...

View 2 Replies

Pointers On Doing A Multi-website Search From Within App?

May 19, 2011

have an app where the user can select to search websites I have "Hard-Coded" into the app and select categories and sub-categories to search within those websites.What i need is to figure out how to take a user defined search query (Example: The Holy Bible King James Version), then search the relevant websites (behind the scenes) then output the results something like a google or bing search, then allowing the user to download directly their search query

View 3 Replies

Pointers To Variable - Vb Doesn't Support But C# Does

Jan 17, 2010

Since vb doesnt support pointers but c# does. I am using a wrapper dll that requires a pointer to some singles to be passed within the method. I get an error that the method has some parameter types that are not supported. How can i pass a pointer to this method if vb .net doesnt support pointers.

View 4 Replies

VS 2005 Unmanaged API Using Structures/pointers And ***?

Aug 23, 2011

I am in the process of writing a tool to manage DHCP servers using the DHCP Server API. Its an unmanaged DLL so using it is a PITA at least for me it has been.Currently I am stuck trying to enumerate the IP ranges in a particular IP subnet. I am able to access an array of structures but I have only been able to access the first structure in the array of strucutres.Using this I can sucessfully access the first structure in the array.

Dim element_info_array As DHCP_SUBNET_ELEMENT_INFO_ARRAY
Dim element_data_ptr As LPDHCP_SUBNET_ELEMENT_DATA
...
element_data_ptr = DirectCast(element_info_array.Elements, LPDHCP_SUBNET_ELEMENT_DATA)

However when I use this to try and loop through them one at a time it does not work. The ptr returns 0 is null.

Dim element_info_array As DHCP_SUBNET_ELEMENT_INFO_ARRAY
Dim element_data_ptr As LPDHCP_SUBNET_ELEMENT_DATA
For i = 0 To size

[code]....

The sizeof for DHCP_SUBNET_ELEMENT_DATA could be off due incorrectly setting up the union structure for it. I was not sure how it define it so that only the first ElementType and one of the other components is avalible at any given time. It wont even read the first pointer though so that has not even come into play yet.

<StructLayout(LayoutKind.Sequential)> _
Public Structure DHCP_SUBNET_ELEMENT_DATA
Public ElementType As DHCP_SUBNET_ELEMENT_TYPE

[code]....

View 3 Replies

2008 - Use Different Types Mouse Pointers In .Net For Each Form?

Mar 28, 2009

How Should I Use Diffrent Types Mouse Pointers in .Net for Each Form? How Should I Play a mp3 sound File From "D:My Locationsound.mp3"? How Should I Create an Set up File in VB.Net 2008? How Should I Make a Form Shaped Round? How Should I Use The Mouse as Mouse Touch Event?

View 1 Replies

Passing Pointers Between C And Visual Basic 2008

Oct 27, 2009

I'm trying to call C code in the form of DLL's from Visual Basic. When I do everything passed by value I have no issues. But what I really need is to return multiple pointers to arrays of sizes I don't know at compile time (so I'd have to dynamically allocate that memory). For instance

[Code]...

Here the array sizes are hardcoded but that's for the simple fact I didn't want to copy my whole algorithm over, in my actual code I wont know the array sizes at compile time. So my questions are these:How do I make the function declaration in Visual Basic 2008? How do I free up the memory in Visual Basic that these pointers point to?

View 3 Replies

String Pointers - How To Get Name Output Parameter And Work With It

Jan 27, 2011

My application uses a third party API. This API uses a few functions that returns a value by reference as one of the function parameters. Problem is according to their documentation, the value I am trying to get out of this function is a string pointer.

So if that made no sense, heres an example of the syntax of the function as shown in their documentation:
long ExampleFunction(long ID, long PropNum, char* name, long MaxStringLength)
Input Parameters: ID, PropNum
Output Parameters: name, MaxStringLength

Thats pretty much all the info I've got. Obviously they are not using VB.Net, looks like C to me. I want to get the name output parameter and work with it, but once I get this value, I cant change anything. I know this is because its a pointer (reference type?) but I am still at a loss as to what to do.

View 1 Replies

VS 2010 - Advanced Code Which Uses Threading, Pointers

Mar 30, 2011

I had recently(2 months before ) found some code for locking the screen. Here's the link to that code submission in our CodeBank : [URL]

I wish to get a clear idea of what it actually does. As it is a bit advanced code for me.

Here's the main part of the

CODE:

View 6 Replies

VB - Pointers, Memory Allocation And Reading Writing Data?

Aug 15, 2009

I am using these API functions for my project where I am handling 3 unmanaged DLLs of two external apps, basically all it does is to carry data back and forth between these external applications. The project needs a lot of use of pointers, passing pointers and reading/writing to memory so both applications can talk to each other.

Declare Function HeapAlloc Lib "kernel32.dll" _
(ByVal hHeap As Long, ByVal dwFlags As Long, ByVal dwBytes As Long) As Long
Declare Function HeapCreate Lib "kernel32.dll" _

[code]....

set of windows API functions for allocating memory, reading and writing to allocated memory, and other required functions to generate required arguments to pass to these API calls?I am up to where I am allocating memory and getting pointer, but I don't know how to go about reading, writing, passing pointers, finding data lengths and reusing memory.

[code]....

View 6 Replies

C And C++ - Function - Extend It So That It Also Returns A Usable Array Of Pointers To Some Structures

Feb 18, 2009

Correct the problems with this function, and then extend it so that it also returns a usable array of pointers to some structures.

The extended version of this function should: Maintain the same "char *" return type which returns a pointer to a usable, for storing a C string, memory buffer.

In addition, also return a usable array of pointers to structures. This array of pointers is of variable and random length, which must be obtained using GetNumberOfSomeSeqsToGenerate(), which is called, ONLY, from within this new extended version of the function.

The type of these structures and the function that should be used to get these structures are defined as follows:

typedef struct {
char* name; /* '\0'-terminated C string */
int number;
} SomeSeq;

[CODE]...

View 2 Replies

HSD 32 Bit Data Bus To Serial Converter Via A Microcontroller - Data Sniffer To Read The Data Bus (32Bit)

Sep 3, 2008

Im working on a HSD 32 bit data bus to serial converter via a microcontroller. Now first I want to make a sort of data sniffer to read the data bus (32Bit) .All on the controller side is working and the stream of bytes are coming in via RS232 as 4 bytes in HEX like FD,A5,45,8B . I already converted the bytes in Dec and ASCII to determine what is passed true the bus and how fast and stuff.. Now that is all correct and working very well if the LSB (least significant bit) of the 32 data bus is Data line 0 and the MSB (most significant bit) is Data line 31 but if that is not the case I need to invert the 32Bits (like as I would invert the connector on the bus) . How do I best do this using the 4 bytes I send from the micro controller.

Example:

(MSB) 01001000 01100101 01101100 01110000 (LSB)
HEX= 48 65 6C 70
DEC= 72,101,108,112
ASCII= H E L P

I need to invert it with a button to:

(MSB) 00001110 00110110 10100110 00010010 (LSB)
HEX= 0E 36 A6 12
DEC= 14,54,166,18
ASCII= (SO) 6 : (DC2)

View 3 Replies

Office Auto-mation :: Auto-mating Excel Spreadsheet Creation?

Jun 5, 2009

I am trying to just write something to a cell in a sheet and I am getting the error message:

Exception Exception from HRESULT: 0x800A03EC Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)

[code].....

View 2 Replies

Make My Keylogger Auto-run And Auto-hide?

Oct 12, 2011

All functions done, but the main function, the autorun and auto hide didnt work like i wish. for this keylogger, im using checkbox to make it autorun when windows startup and another checkbox to autohide. i already placed the codes but nothing happen. when i tick those checkboxes n restart my pc, nothing happen. is it because im using checkbox?

View 3 Replies

Auto Refresh And Auto Click

Oct 1, 2009

I am new to VB and am trying to get my webbrowser1 auto refresh on a web page every few seconds. Is there a way to program a button to do this? I am also trying to get the browser to auto select "yes" when a radio button is present and then auto click "yes" on a message box when it pops up. Any ideas where to start?

View 2 Replies

Creating An Auto-Run.exe?

Nov 5, 2009

I want to create a autorun program that doesn't need a autorun.inf file. Is there any way to do this?

View 3 Replies

Get All Programs Auto-run?

Jun 24, 2010

how to get all programms autorun in vb.net?

C:Program FilesQuickTimeqttask.exe
C:Program FilesESETESET NOD32 Antivirusegui.exe
...

View 4 Replies

How To Open A Auto-DSN

Aug 21, 2009

am using the following code for Auto DSN connection

Dim strdriverodbc As New String(Space(255))
strdriverodbc = "C:WINDOWSSystem32myodbc5.dll"
MakeMySQLDSN("DatabaseEG", "ExampleDSN", "MySql ODBC 5.1 Driver", strdriverodbc, "root",

[code].....

View 2 Replies

How To Open Auto-CAD

May 8, 2010

I've seen all the codes to open AutoCAD in VB.Net using InterOp which is in the same line as COM in VB 6.0. I just want to know is there any method to open an AutoCAD drawing in VB.Net using those AcMGD and acdbmgd DLLs.

View 2 Replies

Set Program In Vb To Auto-run?

Mar 9, 2010

my problem is how to autorun my program in vbnet.what codes will i use?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved