• 15 апреля стартует «Курс «SQL-injection Master» ©» от команды The Codeby

    За 3 месяца вы пройдете путь от начальных навыков работы с SQL-запросами к базам данных до продвинутых техник. Научитесь находить уязвимости связанные с базами данных, и внедрять произвольный SQL-код в уязвимые приложения.

    На последнюю неделю приходится экзамен, где нужно будет показать свои навыки, взломав ряд уязвимых учебных сайтов, и добыть флаги. Успешно сдавшие экзамен получат сертификат.

    Запись на курс до 25 апреля. Получить промодоступ ...

Бинарник файла

Kizarek86

Green Team
20.07.2007
871
7
BIT
38
Нужен бинарник файл для дальнейшей передачи в другую систему.
Как его получить?

Open fileName For Binary As fileNumber
и
NotesStream

выдают какую то хрень, не очень похожую на бинарник)
видимо не то делаю)

Заранее спасибо за помощь.
 

Medevic

Что это ? :)
Green Team
10.12.2004
3 334
1
BIT
4
Не очень хорошая идея. ;)
Выгружай в файл.
 

duchan

Green Team
20.09.2006
127
11
BIT
109
а Вы уверены, что смотреть "бинарные" данные, строковыми операторами это хорошая идея?
Вопрос, а как Вы читаете эти данные из файла?
Код:
Reads data from a binary file or a random file into a variable.
Syntax
Get #fileNumber , [ recordNumber ] , variableName
Elements
fileNumber
The number assigned to the file when it was opened with the Open statement. Note that the pound sign (#), fileNumber, and variableName are all required.
recordNumber
Optional. The file position (the byte position in a binary file, or the record number in a random file) where data retrieval begins. If you omit recordNumber, LotusScript retrieves data beginning from the current file position.
variableName
The variable to be used for storing the retrieved data. variableName cannot be an array. However, a fixed-length array defined within a data type is allowed (this array could also contain other arrays as elements).
Usage
The first byte or record in a file is always file position 1. After each read operation, the file position is advanced:
For a binary file, by the size of the variable
For a random file, by the size of a record
The Get statement reads data into variableName depending on the variable's data type. The following table shows how the Get statement behaves for different data types.
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!