Jump to content

raoul632

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by raoul632


  1. i already submit via the KOTIP but i probably stop before he finish to scan because i don't rememebr the result 😁

    in virus total  kasperky took the file as a virus .. 

    anyway i probably re-upload my "virus" but i will never had my answer,  "witch pattern trigger kasperky alarm" . 

    when you try to attach to a process or maybe find a hook or something i understand but this piece of code ?? 

    anyway thanks 

    ps : the best solution its to create some folder who can't be scanned by kasperky 

    • Like 1
  2. i cannot report a false positive with the free AV ..

    anyway when i format the code like this 
     


    void reverseArray(int* start, int* end) {
        int* temp = new int[end - start + 1]; // Crée un tableau temporaire pour stocker les éléments inversés.
        int* tempPtr = temp; // Un pointeur pour parcourir le tableau temporaire.

        // Copie les éléments de 'end' à 'start' dans le tableau temporaire.
        for (auto i = end; i >= start; i--) {
            *tempPtr = *i;
            tempPtr++;
        }

        tempPtr = temp; // Réinitialise le pointeur temporaire au début du tableau temporaire.

        // Copie les éléments du tableau temporaire de retour dans le tableau original.
        for (auto i = start; i <= end; i++) {
            *i = *tempPtr;
            tempPtr++;
        }

        delete[] temp; // Libère la mémoire allouée pour le tableau temporaire.
    }


    Kasperky don't complain anymore ..  BUT if you have information about why Kasperky complain probably my first code mimic a real virus .. but its light to mimic just bad formated code cannot produce an alert 

  3. this one 

    Quote

    #include <iostream>

    using namespace std; 

    void reverseArray(int* start, int* end) {
        // Votre code ici pour inverser le tableau en utilisant les pointeurs `start` et `end`
        *start = *end; 
        *(start + 1) = *(end - 1); 

        for (auto i = start; i < end; i++)
        {
            cout << "ligne numéros " << i << "\n"; 

        }
    }

    int main() {
        int array[] = { 1, 2, 3, 4, 5 };
        int n = sizeof(array) / sizeof(array[0]);

        // Appel de la fonction pour inverser le tableau
        reverseArray(array, array + n - 1);

        // Affichage du tableau inversé
        for (int* ptr = array; ptr < array + n; ++ptr) {
            std::cout << *ptr << " ";
        }
        std::cout << std::endl;

        return 0;

    }

     

    start a false positive with Kasperky free ? that's insane 

×
×
  • Create New...